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/source/local.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/rubygems/source') diff --git a/lib/rubygems/source/local.rb b/lib/rubygems/source/local.rb index 875e992d85..15700a0df2 100644 --- a/lib/rubygems/source/local.rb +++ b/lib/rubygems/source/local.rb @@ -61,7 +61,7 @@ class Gem::Source::Local < Gem::Source when :latest tup = pkg.spec.name_tuple - cur = names.find { |x| x.name == tup.name } + cur = names.find {|x| x.name == tup.name } if !cur names << tup elsif cur.version < tup.version @@ -98,7 +98,7 @@ class Gem::Source::Local < Gem::Source end end - found.max_by { |s| s.version } + found.max_by {|s| s.version } end def fetch_spec(name) # :nodoc: -- cgit v1.2.3