1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Use space inside block braces everywhere

To make rubygems code style consistent with bundler.
This commit is contained in:
David Rodríguez 2020-06-10 19:46:05 +02:00 committed by Hiroshi SHIBATA
parent ef481c120c
commit 955f1837a1
Notes: git 2020-06-15 21:21:04 +09:00
99 changed files with 469 additions and 469 deletions

View file

@ -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: