diff options
author | Caden Lovelace <caden@herostrat.us> | 2015-06-18 17:48:13 +0100 |
---|---|---|
committer | Caden Lovelace <caden@herostrat.us> | 2015-08-23 23:43:26 +0100 |
commit | 311afaa3aa14ffa17791d1abe2dc09646bf91f34 (patch) | |
tree | 15ed024d16fceff5548b9f35eb22011aba09d865 /lib/bundler | |
parent | eec6e0f3bc4eb9c034a7ef56ce4fadaadfb2c8ff (diff) | |
download | bundler-311afaa3aa14ffa17791d1abe2dc09646bf91f34.tar.gz |
Check whether spec source name is within unlocked sources.
Diffstat (limited to 'lib/bundler')
-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 85e82b4c77..f53579fc52 100644 --- a/lib/bundler/definition.rb +++ b/lib/bundler/definition.rb @@ -556,7 +556,7 @@ module Bundler # Don't add a spec to the list if its source is expired. For example, # if you change a Git gem to Rubygems. - next if s.source.nil? || @unlock[:sources].include?(s.name) + next if s.source.nil? || @unlock[:sources].include?(s.source.name) # If the spec is from a path source and it doesn't exist anymore # then we just unlock it. |