mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 05:25:34 +02:00
Use space inside block braces everywhere
To make rubygems code style consistent with bundler.
This commit is contained in:
parent
ef481c120c
commit
955f1837a1
Notes:
git
2020-06-15 21:21:04 +09:00
99 changed files with 469 additions and 469 deletions
|
@ -119,7 +119,7 @@ Specific fields in the specification can be extracted in YAML format:
|
|||
dep.prerelease = options[:prerelease]
|
||||
found, _ = Gem::SpecFetcher.fetcher.spec_for_dependency dep
|
||||
|
||||
specs.push(*found.map { |spec,| spec })
|
||||
specs.push(*found.map {|spec,| spec })
|
||||
end
|
||||
|
||||
if specs.empty?
|
||||
|
@ -128,7 +128,7 @@ Specific fields in the specification can be extracted in YAML format:
|
|||
end
|
||||
|
||||
unless options[:all]
|
||||
specs = [specs.max_by { |s| s.version }]
|
||||
specs = [specs.max_by {|s| s.version }]
|
||||
end
|
||||
|
||||
specs.each do |s|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue