mirror of
https://github.com/ruby/ruby.git
synced 2025-09-21 03:24:00 +02:00
Merge RubyGems-3.3.22 and Bundler-2.3.22
This commit is contained in:
parent
b3969f769a
commit
afb5971031
87 changed files with 943 additions and 434 deletions
|
@ -151,7 +151,7 @@ module Gem::QueryUtils
|
|||
fetcher.detect(specs_type) { true }
|
||||
else
|
||||
fetcher.detect(specs_type) do |name_tuple|
|
||||
name === name_tuple.name
|
||||
name === name_tuple.name && options[:version].satisfied_by?(name_tuple.version)
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -159,7 +159,7 @@ module Gem::QueryUtils
|
|||
end
|
||||
|
||||
def specs_type
|
||||
if options[:all]
|
||||
if options[:all] || options[:version].specific?
|
||||
if options[:prerelease]
|
||||
:complete
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue