Author: assaf
Date: Thu Jul  2 17:19:50 2009
New Revision: 790687

URL: http://svn.apache.org/viewvc?rev=790687&view=rev
Log:
Fixed: Ruby warns of missing parentheses.

Modified:
    buildr/trunk/lib/buildr/core/shell.rb
    buildr/trunk/lib/buildr/core/util.rb
    buildr/trunk/lib/buildr/scala/shell.rb

Modified: buildr/trunk/lib/buildr/core/shell.rb
URL: 
http://svn.apache.org/viewvc/buildr/trunk/lib/buildr/core/shell.rb?rev=790687&r1=790686&r2=790687&view=diff
==============================================================================
--- buildr/trunk/lib/buildr/core/shell.rb (original)
+++ buildr/trunk/lib/buildr/core/shell.rb Thu Jul  2 17:19:50 2009
@@ -54,7 +54,7 @@
           ]
           
           Java::Commands.java 'org.jruby.Main', 
"#{jruby_home}#{File::SEPARATOR}bin#{File::SEPARATOR}jirb", {
-            :properties => props.merge(rebel_props project),
+            :properties => props.merge(rebel_props(project)),
             :classpath => cp,
             :java_args => args + rebel_args
           }

Modified: buildr/trunk/lib/buildr/core/util.rb
URL: 
http://svn.apache.org/viewvc/buildr/trunk/lib/buildr/core/util.rb?rev=790687&r1=790686&r2=790687&view=diff
==============================================================================
--- buildr/trunk/lib/buildr/core/util.rb (original)
+++ buildr/trunk/lib/buildr/core/util.rb Thu Jul  2 17:19:50 2009
@@ -367,7 +367,7 @@
   end
 
   module FileUtils
-    extend extend FFI::Library
+    extend FFI::Library
     attach_function :system, [:string], :int
     alias_method :__native_system__, :system
     
@@ -407,4 +407,4 @@
     end
 
   end
-end
\ No newline at end of file
+end

Modified: buildr/trunk/lib/buildr/scala/shell.rb
URL: 
http://svn.apache.org/viewvc/buildr/trunk/lib/buildr/scala/shell.rb?rev=790687&r1=790686&r2=790687&view=diff
==============================================================================
--- buildr/trunk/lib/buildr/scala/shell.rb (original)
+++ buildr/trunk/lib/buildr/scala/shell.rb Thu Jul  2 17:19:50 2009
@@ -27,7 +27,7 @@
         }
         
         Java::Commands.java 'scala.tools.nsc.MainGenericRunner', {
-          :properties => props.merge(rebel_props project),
+          :properties => props.merge(rebel_props(project)),
           :classpath => cp,
           :java_args => rebel_args
         }


Reply via email to