mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Merge rubygems-2.6.12 from rubygems/rubygems.
* Details of changes:0090800402/History.txt (L3)
* I kept ko1's commmit related thread issue. It's not merged 2.6 branch on rubygems.1721dfa0ea
* I removed test_realworld_default_gem from rubygems-2.6.12. It fails on Ruby trunk. Because it's differences of test suite and environment. https://github.com/rubygems/rubygems/pull/1899 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
abb8b33011
commit
708a10d35b
16 changed files with 164 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