diff options
author | David RodrÃguez <[email protected]> | 2019-05-03 19:56:58 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2020-03-30 12:48:23 +0900 |
commit | 061add792e658878c839887682716737d9f6d677 (patch) | |
tree | b111148a604c7f2ab09f26b1804a2725d7c19680 /test/rubygems/test_gem_commands_setup_command.rb | |
parent | c16815cca7c223698c11b4c520b75caeb0499f93 (diff) |
[rubygems/rubygems] Enable `Style/ExtraSpacing` and auto-correct
https://github.com/rubygems/rubygems/commit/6fa0b1b679
Diffstat (limited to 'test/rubygems/test_gem_commands_setup_command.rb')
-rw-r--r-- | test/rubygems/test_gem_commands_setup_command.rb | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/test/rubygems/test_gem_commands_setup_command.rb b/test/rubygems/test_gem_commands_setup_command.rb index 76792603d2..4a0244c270 100644 --- a/test/rubygems/test_gem_commands_setup_command.rb +++ b/test/rubygems/test_gem_commands_setup_command.rb @@ -23,11 +23,11 @@ class TestGemCommandsSetupCommand < Gem::TestCase FileUtils.mkdir_p 'bin' FileUtils.mkdir_p 'lib/rubygems/ssl_certs/rubygems.org' - File.open 'bin/gem', 'w' do + File.open 'bin/gem', 'w' do |io| io.puts '# gem' end - File.open 'lib/rubygems.rb', 'w' do |io| + File.open 'lib/rubygems.rb', 'w' do |io| io.puts '# rubygems.rb' end @@ -42,15 +42,15 @@ class TestGemCommandsSetupCommand < Gem::TestCase FileUtils.mkdir_p 'bundler/exe' FileUtils.mkdir_p 'bundler/lib/bundler' - File.open 'bundler/exe/bundle', 'w' do |io| + File.open 'bundler/exe/bundle', 'w' do |io| io.puts '# bundle' end - File.open 'bundler/lib/bundler.rb', 'w' do |io| + File.open 'bundler/lib/bundler.rb', 'w' do |io| io.puts '# bundler.rb' end - File.open 'bundler/lib/bundler/b.rb', 'w' do |io| + File.open 'bundler/lib/bundler/b.rb', 'w' do |io| io.puts '# b.rb' end @@ -63,7 +63,7 @@ class TestGemCommandsSetupCommand < Gem::TestCase gemspec.bindir = "exe" gemspec.executables = ["bundle"] - File.open 'bundler/bundler.gemspec', 'w' do |io| + File.open 'bundler/bundler.gemspec', 'w' do |io| io.puts gemspec.to_ruby end @@ -317,19 +317,19 @@ class TestGemCommandsSetupCommand < Gem::TestCase FileUtils.mkdir_p lib_rubygems_defaults FileUtils.mkdir_p lib_bundler - File.open securerandom_rb, 'w' do |io| + File.open securerandom_rb, 'w' do |io| io.puts '# securerandom.rb' end - File.open old_builder_rb, 'w' do |io| + File.open old_builder_rb, 'w' do |io| io.puts '# builder.rb' end - File.open old_format_rb, 'w' do |io| + File.open old_format_rb, 'w' do |io| io.puts '# format.rb' end - File.open old_bundler_c_rb, 'w' do |io| + File.open old_bundler_c_rb, 'w' do |io| io.puts '# c.rb' end @@ -337,7 +337,7 @@ class TestGemCommandsSetupCommand < Gem::TestCase io.puts '# jruby.rb' end - File.open os_defaults_rb, 'w' do |io| + File.open os_defaults_rb, 'w' do |io| io.puts '# operating_system.rb' end |