mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 21:14:23 +02:00
Sync latest development version of bundler & rubygems
This commit is contained in:
parent
2ab6b7a751
commit
53468cc111
Notes:
git
2021-03-08 13:47:56 +09:00
161 changed files with 2544 additions and 1016 deletions
|
@ -277,7 +277,7 @@ class Gem::Dependency
|
|||
requirement.satisfied_by?(spec.version) && env_req.satisfied_by?(spec.version)
|
||||
end.map(&:to_spec)
|
||||
|
||||
Gem::BundlerVersionFinder.filter!(matches) if name == "bundler".freeze && !requirement.specific?
|
||||
Gem::BundlerVersionFinder.filter!(matches) if filters_bundler?
|
||||
|
||||
if platform_only
|
||||
matches.reject! do |spec|
|
||||
|
@ -295,6 +295,10 @@ class Gem::Dependency
|
|||
@requirement.specific?
|
||||
end
|
||||
|
||||
def filters_bundler?
|
||||
name == "bundler".freeze && !specific?
|
||||
end
|
||||
|
||||
def to_specs
|
||||
matches = matching_specs true
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue