diff options
author | Carl Lerche <carllerche@mac.com> | 2010-06-06 21:17:32 -0700 |
---|---|---|
committer | Carl Lerche <carllerche@mac.com> | 2010-06-06 21:17:32 -0700 |
commit | 2f2b5a8700ea812534404a6e5d198e642f8c68bd (patch) | |
tree | f01b6966fcb33bd399ae02ec47290511bd39a517 /lib/bundler/spec_set.rb | |
parent | 2be8e1d766d63066bf7961a69656340b69a62b5c (diff) | |
download | bundler-2f2b5a8700ea812534404a6e5d198e642f8c68bd.tar.gz |
Instead of maintaining Source#index and Source#remote_index, just have Source#remote! trigger whether or not to search the remote index (and remember)
Diffstat (limited to 'lib/bundler/spec_set.rb')
-rw-r--r-- | lib/bundler/spec_set.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/spec_set.rb b/lib/bundler/spec_set.rb index 4cbdd0cb..9edfaf79 100644 --- a/lib/bundler/spec_set.rb +++ b/lib/bundler/spec_set.rb @@ -61,11 +61,11 @@ module Bundler lookup.dup end - def materialize(type, deps) + def materialize(deps) materialized = self.for(deps, []).to_a materialized.map! do |s| next s unless s.is_a?(LazySpecification) - s.__materialize__(s.source.send(type)) + s.__materialize__(s.source.specs) end SpecSet.new(materialized) end |