[rubygems/rubygems] Revert "Reuse SpecSet#materialize
logic"
This reverts commit https://github.com/rubygems/rubygems/commit/a20585b4512d. https://github.com/rubygems/rubygems/commit/aa9102659e
This commit is contained in:
parent
b5f2432917
commit
192a3a6bfb
@ -78,8 +78,8 @@ module Bundler
|
||||
lookup.dup
|
||||
end
|
||||
|
||||
def materialize(deps, platforms = [nil])
|
||||
materialized = self.for(deps, true, platforms)
|
||||
def materialize(deps)
|
||||
materialized = self.for(deps, true)
|
||||
|
||||
SpecSet.new(materialized)
|
||||
end
|
||||
@ -100,7 +100,9 @@ module Bundler
|
||||
def incomplete_ruby_specs?(deps)
|
||||
return false if @specs.empty?
|
||||
|
||||
materialize(deps, [Gem::Platform::RUBY]).incomplete_specs.any?
|
||||
materialized = self.for(deps, true, [Gem::Platform::RUBY])
|
||||
|
||||
SpecSet.new(materialized).incomplete_specs.any?
|
||||
end
|
||||
|
||||
def missing_specs
|
||||
|
Loading…
x
Reference in New Issue
Block a user