Module: Bundler::MatchRemoteMetadata
| Relationships & Source Files | |
| Extension / Inclusion / Inheritance Descendants | |
|
Included In:
| |
| Super Chains via Extension / Inclusion / Inheritance | |
|
Instance Chain:
self,
FetchMetadata,
MatchMetadata
|
|
| 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 |
| #matches_current_rubygems? | |
MatchMetadata - Included
Instance Method Summary
-
#incompatible_metadata_dependency(overrides)
Return the original dependency so the resolver can apply the same override to it.
FetchMetadata - Included
| #matches_current_ruby_with_overrides?, #matches_current_rubygems_with_overrides?, #ensure_required_ruby_version_loaded, #ensure_required_rubygems_version_loaded |
MatchMetadata - Included
Instance Method Details
#incompatible_metadata_dependency(overrides)
Return the original dependency so the resolver can apply the same override to it.
# 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