summaryrefslogtreecommitdiff
path: root/lib/bundler/endpoint_specification.rb
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2015-12-26 19:28:20 +0800
committerSamuel Giddins <segiddins@segiddins.me>2016-01-25 10:49:44 -0600
commited0d139722a02e13bc4e7b9deb5ebd23c1f5341d (patch)
tree9527e88130aa732ef63d161dd8d0a98728f146df /lib/bundler/endpoint_specification.rb
parente1365cce432a35f0d6f771305285ca872fff25d1 (diff)
downloadbundler-ed0d139722a02e13bc4e7b9deb5ebd23c1f5341d.tar.gz
fix shadowed variable warning
Diffstat (limited to 'lib/bundler/endpoint_specification.rb')
-rw-r--r--lib/bundler/endpoint_specification.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/endpoint_specification.rb b/lib/bundler/endpoint_specification.rb
index e5c0e3bd6b..6df24e6c52 100644
--- a/lib/bundler/endpoint_specification.rb
+++ b/lib/bundler/endpoint_specification.rb
@@ -10,7 +10,7 @@ module Bundler
@name = name
@version = Gem::Version.create version
@platform = platform
- @dependencies = dependencies.map {|name, reqs| build_dependency(name, reqs) }
+ @dependencies = dependencies.map {|dep, reqs| build_dependency(dep, reqs) }
parse_metadata(metadata || {})
end