diff options
author | Andre Arko <andre@arko.net> | 2015-04-30 09:41:26 -0700 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2015-05-02 14:18:14 -0700 |
commit | 26cb8f8f11b11ccef1f5deb2ce5c8c9a783645f5 (patch) | |
tree | 2226ce31f9ece44a126639bf95bc65ebee0f8bea | |
parent | b3abe555644b3bddad4855ff274f752f997254f5 (diff) | |
download | bundler-1-7-stable.tar.gz |
Fix shadowed variable warning1-7-stable
-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 2b15b15573..8d87e165c3 100644 --- a/lib/bundler/definition.rb +++ b/lib/bundler/definition.rb @@ -518,7 +518,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, |