mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 13:34:17 +02:00
Merge prepare version of RubyGems 3.2.0
This commit is contained in:
parent
6a6a24df9b
commit
4aca77edde
Notes:
git
2020-12-08 17:30:31 +09:00
134 changed files with 2002 additions and 745 deletions
|
@ -126,6 +126,12 @@ Specific fields in the specification can be extracted in YAML format:
|
|||
terminate_interaction 1
|
||||
end
|
||||
|
||||
platform = get_platform_from_requirements(options)
|
||||
|
||||
if platform
|
||||
specs = specs.select{|s| s.platform.to_s == platform }
|
||||
end
|
||||
|
||||
unless options[:all]
|
||||
specs = [specs.max_by {|s| s.version }]
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue