Class: Bundler::RubygemsIntegration::Legacy

Inherits:
Bundler::RubygemsIntegration show all
Defined in:
lib/bundler/rubygems_integration.rb

Overview

Rubygems 1.4 through 1.6

Direct Known Subclasses

Ancient, Transitional

Instance Method Summary collapse

Methods inherited from Bundler::RubygemsIntegration

#backport_segment_generation, #bin_path, #clear_paths, #configuration, #download_gem, #fetch_specs, #gem_bindir, #gem_dir, #gem_path, #inflate, #initialize, #loaded_specs, #mark_loaded, #marshal_spec_dir, #path, #platforms, #preserve_paths, #read_binary, #replace_bin_path, #replace_entrypoints, #replace_gem, #replace_refresh, #reverse_rubygems_kernel_mixin, #ruby_engine, #sources, #sources=, #spec_from_gem, #stub_source_index137, #stub_source_index170, #ui=, #user_home, #with_build_args

Constructor Details

This class inherits a constructor from Bundler::RubygemsIntegration

Instance Method Details

#all_specsObject



275
276
277
# File 'lib/bundler/rubygems_integration.rb', line 275

def all_specs
  Gem.source_index.gems.values
end

#find_name(name) ⇒ Object



279
280
281
# File 'lib/bundler/rubygems_integration.rb', line 279

def find_name(name)
  Gem.source_index.find_name(name)
end

#stub_rubygems(specs) ⇒ Object



271
272
273
# File 'lib/bundler/rubygems_integration.rb', line 271

def stub_rubygems(specs)
  stub_source_index137(specs)
end