123456789_123456789_123456789_123456789_123456789_

Module: Bundler::MatchRemoteMetadata

Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Included In:
Super Chains via Extension / Inclusion / Inheritance
Instance Chain:
Defined in: lib/bundler/match_remote_metadata.rb

Instance Attribute Summary

FetchMetadata - Included

#matches_current_ruby?

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.

#matches_current_rubygems?

MatchMetadata - Included

Instance Method Summary

Instance Method Details

#incompatible_metadata_dependency(overrides)

Return the original dependency so the resolver can apply the same override to it.

[ GitHub ]

  
# File 'lib/bundler/match_remote_metadata.rb', line 45

def (overrides)
  return Gem::Dependency.new("Ruby\0", @required_ruby_version) unless matches_current_ruby_with_overrides?(overrides)
  Gem::Dependency.new("RubyGems\0", @required_rubygems_version) unless matches_current_rubygems_with_overrides?(overrides)
end