Class: Bundler::RubygemsIntegration::Transitional

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

Overview

RubyGems 1.7

Constant Summary

Constants inherited from Bundler::RubygemsIntegration

EXT_LOCK

Instance Method Summary collapse

Methods inherited from Legacy

#all_specs, #find_name, #initialize, #post_reset_hooks, #reset

Methods inherited from Bundler::RubygemsIntegration

#backport_base_dir, #backport_cache_file, #backport_segment_generation, #backport_spec_file, #backport_yaml_initialize, #bin_path, #binstubs_call_gem?, #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, #initialize, #install_with_build_args, #load_path_insert_index, #load_plugin_files, #load_plugins, #loaded_gem_paths, #loaded_specs, #mark_loaded, #marshal_spec_dir, #method_visibility, #path, #path_separator, #platforms, #post_reset_hooks, #preserve_paths, provides?, #provides?, #read_binary, #redefine_method, #replace_bin_path, #replace_entrypoints, #replace_gem, #replace_refresh, #repository_subdirectories, #reset, #reverse_rubygems_kernel_mixin, #ruby_engine, #security_policies, #security_policy_keys, #set_installed_by_version, #sources, #sources=, #spec_cache_dirs, #spec_default_gem?, #spec_extension_dir, #spec_from_gem, #spec_matches_for_glob, #spec_missing_extensions?, #stub_set_spec, #stub_source_index, #stubs_provide_full_functionality?, #suffix_pattern, #ui=, #undo_replacements, #user_home, #version, version, #with_build_args

Constructor Details

This class inherits a constructor from Bundler::RubygemsIntegration::Legacy

Instance Method Details

#stub_rubygems(specs) ⇒ Object



669
670
671
# File 'lib/bundler/rubygems_integration.rb', line 669

def stub_rubygems(specs)
  stub_source_index(specs)
end

#validate(spec) ⇒ Object



673
674
675
676
677
678
# File 'lib/bundler/rubygems_integration.rb', line 673

def validate(spec)
  # Missing summary is downgraded to a warning in later versions,
  # so we set it to an empty string to prevent an exception here.
  spec.summary ||= ""
  RubygemsIntegration.instance_method(:validate).bind(self).call(spec)
end