Sync rubygems with current master (#2889)

This commit is contained in:
David Rodríguez 2020-03-24 07:39:24 +01:00 committed by GitHub
parent 930b012ad9
commit 96064e6f1c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
Notes: git 2020-03-24 15:39:48 +09:00
Merged-By: hsbt <hsbt@ruby-lang.org>
33 changed files with 434 additions and 559 deletions

View file

@ -167,7 +167,7 @@ prefix or only the files that are requireable.
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