Permalink
Browse files

Fix for shadowing outer local variable

  • Loading branch information...
1 parent 7112cea commit 014c05292a77ad46c6fab4b312bebe46be018f93 @bryckbost bryckbost committed Aug 24, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 Rakefile
View
4 Rakefile
@@ -13,7 +13,7 @@ task :default => :test
task :build do
system "gem build graticule.gemspec"
end
-
+
task :release => :build do
system "gem push graticule-#{Graticule::VERSION}.gem"
end
@@ -67,7 +67,7 @@ def test_config
raise "Copy config.yml.default to config.yml and set the API keys" unless File.exists?(file)
@test_config ||= YAML.load(File.read(file)).tap do |config|
config.each do |service,values|
- values['responses'].each {|file,url| update_placeholders!(values, url) }
+ values['responses'].each {|f,url| update_placeholders!(values, url) }
end
end
end

0 comments on commit 014c052

Please sign in to comment.