buildr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject [01/11] buildr git commit: Prefer %w syntax
Date Sun, 22 May 2016 10:50:43 GMT
Repository: buildr
Updated Branches:
  refs/heads/master ea4103fb8 -> 7bdb30bf5


Prefer %w syntax


Project: http://git-wip-us.apache.org/repos/asf/buildr/repo
Commit: http://git-wip-us.apache.org/repos/asf/buildr/commit/86550338
Tree: http://git-wip-us.apache.org/repos/asf/buildr/tree/86550338
Diff: http://git-wip-us.apache.org/repos/asf/buildr/diff/86550338

Branch: refs/heads/master
Commit: 86550338141ac3899d946185680f2bfa643bd285
Parents: 86f9c48
Author: Peter Donald <peter@realityforge.org>
Authored: Sun May 22 20:06:46 2016 +1000
Committer: Peter Donald <peter@realityforge.org>
Committed: Sun May 22 20:06:46 2016 +1000

----------------------------------------------------------------------
 spec/addon/custom_pom_spec.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/buildr/blob/86550338/spec/addon/custom_pom_spec.rb
----------------------------------------------------------------------
diff --git a/spec/addon/custom_pom_spec.rb b/spec/addon/custom_pom_spec.rb
index 9b78bf5..c49b766 100644
--- a/spec/addon/custom_pom_spec.rb
+++ b/spec/addon/custom_pom_spec.rb
@@ -67,7 +67,7 @@ describe Buildr::CustomPom do
 
   describe "with explicitly specified pom details" do
     before do
-      ['id-provided', 'id-optional', 'id-runtime', 'id-test'].each do |artifact_id|
+      %w(id-provided id-optional id-runtime id-test).each do |artifact_id|
         artifact("group:#{artifact_id}:jar:1.0") do |t|
           mkdir_p File.dirname(t.to_s)
           Zip::ZipOutputStream.open t.to_s do |zip|


Mime
View raw message