Spec-Zone.ru › Ruby 2.6

class Bundler::RubygemsIntegration::Legacy

Parent:
Bundler::RubygemsIntegration

RubyGems 1.4 по 1.6

Публичные методы класса

new() Показать исходный код
# File lib/bundler/rubygems_integration.rb, line 618
def initialize
  super
  backport_base_dir
  backport_cache_file
  backport_spec_file
  backport_yaml_initialize
end
Вызывает метод суперкласса Bundler::RubygemsIntegration::new

Публичные методы экземпляра

all_specs() Показать исходный код
# File lib/bundler/rubygems_integration.rb, line 637
def all_specs
  Gem.source_index.gems.values
end
find_name(name) Показать исходный код
# File lib/bundler/rubygems_integration.rb, line 641
def find_name(name)
  Gem.source_index.find_name(name)
end
post_reset_hooks() Показать исходный код
# File lib/bundler/rubygems_integration.rb, line 651
def post_reset_hooks
  []
end
reset() Показать исходный код
# File lib/bundler/rubygems_integration.rb, line 655
def reset
end
stub_rubygems(specs) Показать исходный код
# File lib/bundler/rubygems_integration.rb, line 626
def stub_rubygems(specs)
  # RubyGems versions lower than 1.7 use SourceIndex#from_gems_in
  source_index_class = (class << Gem::SourceIndex; self; end)
  redefine_method(source_index_class, :from_gems_in) do |*args|
    Gem::SourceIndex.new.tap do |source_index|
      source_index.spec_dirs = *args
      source_index.add_specs(*specs)
    end
  end
end
validate(spec) Показать исходный код
# File lib/bundler/rubygems_integration.rb, line 645
def validate(spec)
  # These versions of RubyGems always validate in "packaging" mode,
  # which is too strict for the kinds of checks we care about. As a
  # result, validation is disabled on versions of RubyGems below 1.7.
end

Ruby Core © 1993–2017 Yukihiro Matsumoto
Licensed under the Ruby License.
Ruby Standard Library © contributors
Licensed under their own licenses.

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API