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:
parent
ef481c120c
commit
955f1837a1
Notes:
git
2020-06-15 21:21:04 +09:00
99 changed files with 469 additions and 469 deletions
|
@ -33,7 +33,7 @@ class Gem::Resolver::APISet < Gem::Resolver::Set
|
|||
@dep_uri = dep_uri
|
||||
@uri = dep_uri + '../..'
|
||||
|
||||
@data = Hash.new { |h,k| h[k] = [] }
|
||||
@data = Hash.new {|h,k| h[k] = [] }
|
||||
@source = Gem::Source.new @uri
|
||||
|
||||
@to_fetch = []
|
||||
|
@ -67,7 +67,7 @@ class Gem::Resolver::APISet < Gem::Resolver::Set
|
|||
|
||||
def prefetch(reqs)
|
||||
return unless @remote
|
||||
names = reqs.map { |r| r.dependency.name }
|
||||
names = reqs.map {|r| r.dependency.name }
|
||||
needed = names - @data.keys - @to_fetch
|
||||
|
||||
@to_fetch += needed
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue