mirror of
https://github.com/ruby/ruby.git
synced 2025-09-21 03:24:00 +02:00
Merge RubyGems-3.3.14 and Bundler-2.3.14
This commit is contained in:
parent
ffd3d83ea8
commit
d7862a5de4
76 changed files with 245 additions and 153 deletions
|
@ -61,7 +61,7 @@ module Gem::QueryUtils
|
|||
gem_names = if args.empty?
|
||||
[options[:name]]
|
||||
else
|
||||
options[:exact] ? args.map{|arg| /\A#{Regexp.escape(arg)}\Z/ } : args.map{|arg| /#{arg}/i }
|
||||
options[:exact] ? args.map {|arg| /\A#{Regexp.escape(arg)}\Z/ } : args.map {|arg| /#{arg}/i }
|
||||
end
|
||||
|
||||
terminate_interaction(check_installed_gems(gem_names)) if check_installed_gems?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue