Skip to content

Commit

Permalink
Fix for shadowing outer local variable
Browse files Browse the repository at this point in the history
  • Loading branch information
bryckbost committed Aug 24, 2011
1 parent 7112cea commit 014c052
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 014c052

Please sign in to comment.