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 () | |
tree | 0d48749501febfccefda3b1376511c421d4118e4 /lib/rubygems/commands/cleanup_command.rb | |
parent | ef481c120c55bf0351a586739f9b5d704f3f7a7d (diff) |
Use space inside block braces everywhere
To make rubygems code style consistent with bundler.
Notes: Merged: https://.com/ruby/ruby/pull/3229
-rw-r--r-- | lib/rubygems/commands/cleanup_command.rb | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -69,7 +69,7 @@ If no gems are named all gems in GEM_HOME are cleaned. until done do clean_gems - this_set = @gems_to_cleanup.map { |spec| spec.full_name }.sort done = this_set.empty? || last_set == this_set @@ -82,7 +82,7 @@ If no gems are named all gems in GEM_HOME are cleaned. say "Clean up complete" verbose do - skipped = @default_gems.map { |spec| spec.full_name } "Skipped default gems: #{skipped.join ', '}" end @@ -99,7 +99,7 @@ If no gems are named all gems in GEM_HOME are cleaned. @full = Gem::DependencyList.from_specs deplist = Gem::DependencyList.new - @gems_to_cleanup.each { |spec| deplist.add spec } deps = deplist.strongly_connected_components.flatten |