diff options
author | Andre Arko <andre@arko.net> | 2015-12-26 19:28:20 +0800 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2016-01-25 10:49:44 -0600 |
commit | ed0d139722a02e13bc4e7b9deb5ebd23c1f5341d (patch) | |
tree | 9527e88130aa732ef63d161dd8d0a98728f146df /lib/bundler/endpoint_specification.rb | |
parent | e1365cce432a35f0d6f771305285ca872fff25d1 (diff) | |
download | bundler-ed0d139722a02e13bc4e7b9deb5ebd23c1f5341d.tar.gz |
fix shadowed variable warning
Diffstat (limited to 'lib/bundler/endpoint_specification.rb')
-rw-r--r-- | lib/bundler/endpoint_specification.rb | 2 |
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 |