[rubygems/rubygems] re-order util methods

https://github.com/rubygems/rubygems/commit/4b5eb7a02c
This commit is contained in:
Hiroshi SHIBATA 2023-03-10 13:28:50 +09:00 committed by git
parent 018261eb92
commit f2d453347f

View File

@ -519,10 +519,6 @@ if you believe they were disclosed to a third party.
assert_equal(false, @cfg.install_extension_in_lib)
end
def util_config_file(args = @cfg_args)
@cfg = Gem::ConfigFile.new args
end
def test_disable_default_gem_server
File.open @temp_conf, "w" do |fp|
fp.puts ":disable_default_gem_server: true"
@ -568,4 +564,8 @@ if you believe they were disclosed to a third party.
actual = Gem::ConfigFile.load_with_rubygems_config_hash(yaml)
assert_equal("bar", actual[:foo])
end
def util_config_file(args = @cfg_args)
@cfg = Gem::ConfigFile.new args
end
end