diff options
author | Andre Arko <andre@arko.net> | 2015-04-30 09:41:26 -0700 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2015-04-30 09:42:03 -0700 |
commit | 26b924768c62b68972bc4826dd97511a5cfa6914 (patch) | |
tree | 4668fb115b300ba232223ce28f303c367ebd9e5c /lib | |
parent | a9b4aa6cd483236c010053a2ac17b5d221967837 (diff) | |
download | bundler-26b924768c62b68972bc4826dd97511a5cfa6914.tar.gz |
Fix shadowed variable warning
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bundler/definition.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/definition.rb b/lib/bundler/definition.rb index 86dbfba2..70e2efda 100644 --- a/lib/bundler/definition.rb +++ b/lib/bundler/definition.rb @@ -521,7 +521,7 @@ module Bundler converged = [] @locked_specs.each do |s| # Replace the locked dependency's source with the equivalent source from the Gemfile - dep = @dependencies.find { |dep| s.satisfies?(dep) } + dep = @dependencies.find { |d| s.satisfies?(d) } s.source = (dep && dep.source) || sources.get(s.source) # Don't add a spec to the list if its source is expired. For example, |