mirror of
https://github.com/ruby/ruby.git
synced 2025-09-19 02:23:59 +02:00
lib/rubygems: bump up RubyGems version to 2.6.12. [Backport #13842]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_4@59813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1069d3f18b
commit
fd41a38470
17 changed files with 175 additions and 18 deletions
|
@ -86,7 +86,7 @@ is too hard to use.
|
|||
name = Array(options[:name])
|
||||
else
|
||||
args = options[:args].to_a
|
||||
name = options[:exact] ? args : args.map{|arg| /#{arg}/i }
|
||||
name = options[:exact] ? args.map{|arg| /\A#{Regexp.escape(arg)}\Z/ } : args.map{|arg| /#{arg}/i }
|
||||
end
|
||||
|
||||
prerelease = options[:prerelease]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue