class Bundler::Resolver::SpecGroup

def to_specs

def to_specs
  specs = {}
  @activated.each do |p|
    if s = @specs[p]
      platform = generic(Gem::Platform.new(s.platform))
      next if specs[platform]
      lazy_spec = LazySpecification.new(name, version, platform, source)
      lazy_spec.dependencies.replace s.dependencies
      specs[platform] = lazy_spec
    end
  end
  specs.values
end