<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -28,9 +28,9 @@ end
 
 # Load the Gem specification for the current platform (Ruby or JRuby).
 def spec(platform = RUBY_PLATFORM[/java/] || 'ruby')
-  @specs ||= ['ruby', 'java'].inject({}) { |hash, platform|
-    $platform = platform
-    hash.update(platform=&gt;Gem::Specification.load('buildr.gemspec'))
+  @specs ||= ['ruby', 'java'].inject({}) { |hash, spec_platform|
+    $platform = spec_platform
+    hash.update(spec_platform=&gt;Gem::Specification.load('buildr.gemspec'))
   }
   @specs[platform]
 end</diff>
      <filename>Rakefile</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>84854a0ee64d02768373c9b63722b44cab34bdc4</id>
    </parent>
  </parents>
  <author>
    <name>Alex Boisvert</name>
    <email>boisvert@apache.org</email>
  </author>
  <url>http://github.com/assaf/buildr/commit/733c329f33f259951c13ec72db0e534e2f7463a4</url>
  <id>733c329f33f259951c13ec72db0e534e2f7463a4</id>
  <committed-date>2009-04-26T09:19:27-07:00</committed-date>
  <authored-date>2009-04-26T09:19:27-07:00</authored-date>
  <message>Fix issue that would lead to inconsistent build of both 'ruby' and 'java' gems;  apparently a name conflict between def argument name and block argument name

git-svn-id: https://svn.apache.org/repos/asf/buildr/trunk@768719 13f79535-47bb-0310-9956-ffa450edef68</message>
  <tree>c443024ad430482ddc5ebb0f6836aa8bb67b835d</tree>
  <committer>
    <name>Alex Boisvert</name>
    <email>boisvert@apache.org</email>
  </committer>
</commit>
