module Bundler::FetchMetadata

Public Instance Methods

matches_current_ruby?() click to toggle source

A fallback is included because the original version of the specification API didn’t include that field, so some marshalled specs in the index have it set to nil.

Calls superclass method
# File bundler/match_remote_metadata.rb, line 8
def matches_current_ruby?
  @required_ruby_version ||= _remote_specification.required_ruby_version || Gem::Requirement.default

  super
end
matches_current_rubygems?() click to toggle source
Calls superclass method
# File bundler/match_remote_metadata.rb, line 14
def matches_current_rubygems?
  # A fallback is included because the original version of the specification
  # API didn't include that field, so some marshalled specs in the index have it
  # set to +nil+.
  @required_rubygems_version ||= _remote_specification.required_rubygems_version || Gem::Requirement.default

  super
end