[前][次][番号順一覧][スレッド一覧]

ruby-changes:61109

From: David <ko1@a...>
Date: Fri, 8 May 2020 14:14:25 +0900 (JST)
Subject: [ruby-changes:61109] 74867e2dc1 (master): [rubygems/rubygems] Fix super weird code style

https://git.ruby-lang.org/ruby.git/commit/?id=74867e2dc1

From 74867e2dc1b68ca7831876991c6f34c6309e018d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...>
Date: Mon, 27 Apr 2020 21:29:40 +0200
Subject: [rubygems/rubygems] Fix super weird code style

https://github.com/rubygems/rubygems/commit/f1a5815896

diff --git a/test/rubygems/test_gem_commands_setup_command.rb b/test/rubygems/test_gem_commands_setup_command.rb
index 01a3349..140e75d 100644
--- a/test/rubygems/test_gem_commands_setup_command.rb
+++ b/test/rubygems/test_gem_commands_setup_command.rb
@@ -23,8 +23,8 @@ class TestGemCommandsSetupCommand < Gem::TestCase https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_gem_commands_setup_command.rb#L23
     FileUtils.mkdir_p 'bin'
     FileUtils.mkdir_p 'lib/rubygems/ssl_certs/rubygems.org'
 
-    File.open 'bin/gem', 'w' do
-      |io| io.puts '# gem'
+    File.open 'bin/gem', 'w' do |io|
+      io.puts '# gem'
     end
 
     File.open 'lib/rubygems.rb', 'w' do |io|
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]