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
|
@ -72,7 +72,7 @@ class Gem::Commands::OpenCommand < Gem::Command
|
|||
end
|
||||
|
||||
def spec_for name
|
||||
spec = Gem::Specification.find_all_by_name(name, @version).last
|
||||
spec = Gem::Specification.find_all_by_name(name, @version).first
|
||||
|
||||
return spec if spec
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue