mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/rubygems: Fix CVE-2013-4363. Miscellaneous minor improvements.
* test/rubygems: Tests for the above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
61f3a787f6
commit
8eb3918581
13 changed files with 173 additions and 124 deletions
|
@ -127,7 +127,7 @@ Specific fields in the specification can be extracted in YAML format:
|
|||
end
|
||||
|
||||
unless options[:all] then
|
||||
specs = [specs.sort_by { |s| s.version }.last]
|
||||
specs = [specs.max_by { |s| s.version }]
|
||||
end
|
||||
|
||||
specs.each do |s|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue