From 955f1837a180d8936f90ab6cf039ccb8f751be72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Wed, 10 Jun 2020 19:46:05 +0200 Subject: Use space inside block braces everywhere To make rubygems code style consistent with bundler. --- lib/rubygems/commands/specification_command.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/rubygems/commands/specification_command.rb') diff --git a/lib/rubygems/commands/specification_command.rb b/lib/rubygems/commands/specification_command.rb index 7326822ad7..e19bfeed73 100644 --- a/lib/rubygems/commands/specification_command.rb +++ b/lib/rubygems/commands/specification_command.rb @@ -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| -- cgit v1.2.3