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:
nagachika 2017-09-10 05:10:55 +00:00
parent 1069d3f18b
commit fd41a38470
17 changed files with 175 additions and 18 deletions

View file

@ -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