mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 04:55:21 +02:00
Sync rubygems with current master (#2889)
This commit is contained in:
parent
930b012ad9
commit
96064e6f1c
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
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue