class Bundler::RubygemsIntegration::Modern

Rubygems 1.8.5-1.8.19

def all_specs

def all_specs
  Gem::Specification.to_a
end

def find_name(name)

def find_name(name)
  Gem::Specification.find_all_by_name name
end

def stub_rubygems(specs)

def stub_rubygems(specs)
  Gem::Specification.all = specs
  Gem.post_reset {
    Gem::Specification.all = specs
  }
  stub_source_index(specs)
end