summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_commands_setup_command.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <[email protected]>2020-05-04 13:08:29 +0200
committerHiroshi SHIBATA <[email protected]>2020-05-08 14:13:29 +0900
commit0e195c82c172465b15495da1cddaf1fee31c26ad ()
tree0a3d735a0e237043980251757edba1df65c9a2cc /test/rubygems/test_gem_commands_setup_command.rb
parentc982c5efac3985e989c02d10b8bc834b902c6e5c (diff)
[rubygems/rubygems] Remove old `gauntlet_rubygems` file on rubygems upgrade
The file was removed at https://.com/rubygems/rubygems/commit/65b709b095b8354ac2620d1a5d7d537e539f6498, shipped with rubygems 2.6.5. https://.com/rubygems/rubygems/commit/739159a120
Notes: Merged: https://.com/ruby/ruby/pull/3092
-rw-r--r--test/rubygems/test_gem_commands_setup_command.rb4
1 files changed, 3 insertions, 1 deletions
@@ -277,11 +277,13 @@ class TestGemCommandsSetupCommand < Gem::TestCase
engine_defaults_rb = File.join lib_rubygems_defaults, 'jruby.rb'
os_defaults_rb = File.join lib_rubygems_defaults, 'operating_system.rb'
old_builder_rb = File.join lib_rubygems, 'builder.rb'
old_format_rb = File.join lib_rubygems, 'format.rb'
old_bundler_c_rb = File.join lib_bundler, 'c.rb'
- files_that_go = [old_builder_rb, old_format_rb, old_bundler_c_rb]
files_that_stay = [securerandom_rb, engine_defaults_rb, os_defaults_rb]
create_dummy_files(files_that_go + files_that_stay)