diff options
author | David RodrÃguez <[email protected]> | 2020-06-10 19:46:05 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2020-06-15 21:20:37 +0900 |
commit | 955f1837a180d8936f90ab6cf039ccb8f751be72 (patch) | |
tree | 0d48749501febfccefda3b1376511c421d4118e4 /lib/rubygems/available_set.rb | |
parent | ef481c120c55bf0351a586739f9b5d704f3f7a7d (diff) |
Use space inside block braces everywhere
To make rubygems code style consistent with bundler.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3229
Diffstat (limited to 'lib/rubygems/available_set.rb')
-rw-r--r-- | lib/rubygems/available_set.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/rubygems/available_set.rb b/lib/rubygems/available_set.rb index 2e9d9496f6..48bf6da45d 100644 --- a/lib/rubygems/available_set.rb +++ b/lib/rubygems/available_set.rb @@ -70,11 +70,11 @@ class Gem::AvailableSet end def all_specs - @set.map { |t| t.spec } + @set.map {|t| t.spec } end def match_platform! - @set.reject! { |t| !Gem::Platform.match(t.spec.platform) } + @set.reject! {|t| !Gem::Platform.match(t.spec.platform) } @sorted = nil self end @@ -91,7 +91,7 @@ class Gem::AvailableSet end def source_for(spec) - f = @set.find { |t| t.spec == spec } + f = @set.find {|t| t.spec == spec } f.source end @@ -160,7 +160,7 @@ class Gem::AvailableSet end def inject_into_list(dep_list) - @set.each { |t| dep_list.add t.spec } + @set.each {|t| dep_list.add t.spec } end end |