Class: Bundler::RubygemsIntegration::Modern
Overview
Constant Summary
EXT_LOCK
Instance Method Summary
collapse
#backport_base_dir, #backport_cache_file, #backport_segment_generation, #backport_spec_file, #backport_yaml_initialize, #bin_path, #build, #build_args, #build_args=, #build_gem, #clear_paths, #config_map, #configuration, #download_gem, #ext_lock, #fetch_all_remote_specs, #fetch_prerelease_specs, #fetch_specs, #gem_bindir, #gem_cache, #gem_dir, #gem_from_path, #gem_path, #inflate, #loaded_gem_paths, #loaded_specs, #mark_loaded, #marshal_spec_dir, #path, #platforms, #preserve_paths, #provides?, provides?, #read_binary, #redefine_method, #replace_bin_path, #replace_entrypoints, #replace_gem, #replace_refresh, #repository_subdirectories, #reverse_rubygems_kernel_mixin, #ruby_engine, #security_policies, #security_policy_keys, #sources, #sources=, #spec_cache_dirs, #spec_from_gem, #stub_source_index, #ui=, #user_home, #validate, version, #version, #with_build_args
Instance Method Details
#all_specs ⇒ Object
509
510
511
|
# File 'lib/bundler/rubygems_integration.rb', line 509
def all_specs
Gem::Specification.to_a
end
|
#find_name(name) ⇒ Object
513
514
515
|
# File 'lib/bundler/rubygems_integration.rb', line 513
def find_name(name)
Gem::Specification.find_all_by_name name
end
|
#stub_rubygems(specs) ⇒ Object
499
500
501
502
503
504
505
506
507
|
# File 'lib/bundler/rubygems_integration.rb', line 499
def stub_rubygems(specs)
Gem::Specification.all = specs
Gem.post_reset {
Gem::Specification.all = specs
}
stub_source_index(specs)
end
|