Method: Bundler::SpecSet#materialized_for_all_platforms

Defined in:
lib/bundler/spec_set.rb

#materialized_for_all_platformsArray<Gem::Specification>

Materialize for all the specs in the spec set, regardless of what platform they’re for

Returns:


115
116
117
118
119
120
121
122
# File 'lib/bundler/spec_set.rb', line 115

def materialized_for_all_platforms
  @specs.map do |s|
    next s unless s.is_a?(LazySpecification)
    spec = s.materialize_for_cache
    raise GemNotFound, "Could not find #{s.full_name} in any of the sources" unless spec
    spec
  end
end