aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rubygems/test_utilities.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2020-06-10 19:46:05 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-06-15 21:20:37 +0900
commit955f1837a180d8936f90ab6cf039ccb8f751be72 (patch)
tree0d48749501febfccefda3b1376511c421d4118e4 /lib/rubygems/test_utilities.rb
parentef481c120c55bf0351a586739f9b5d704f3f7a7d (diff)
downloadruby-955f1837a180d8936f90ab6cf039ccb8f751be72.tar.gz
Use space inside block braces everywhere
To make rubygems code style consistent with bundler.
Diffstat (limited to 'lib/rubygems/test_utilities.rb')
-rw-r--r--lib/rubygems/test_utilities.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/test_utilities.rb b/lib/rubygems/test_utilities.rb
index 0ad167b19a..81b34f3abc 100644
--- a/lib/rubygems/test_utilities.rb
+++ b/lib/rubygems/test_utilities.rb
@@ -76,7 +76,7 @@ class Gem::FakeFetcher
def cache_update_path(uri, path = nil, update = true)
if data = fetch_path(uri)
- open(path, 'wb') { |io| io.write data } if path and update
+ open(path, 'wb') {|io| io.write data } if path and update
data
else
Gem.read_binary(path) if path