[rubygems/rubygems] re-order util methods
https://github.com/rubygems/rubygems/commit/4b5eb7a02c
This commit is contained in:
parent
018261eb92
commit
f2d453347f
@ -519,10 +519,6 @@ if you believe they were disclosed to a third party.
|
|||||||
assert_equal(false, @cfg.install_extension_in_lib)
|
assert_equal(false, @cfg.install_extension_in_lib)
|
||||||
end
|
end
|
||||||
|
|
||||||
def util_config_file(args = @cfg_args)
|
|
||||||
@cfg = Gem::ConfigFile.new args
|
|
||||||
end
|
|
||||||
|
|
||||||
def test_disable_default_gem_server
|
def test_disable_default_gem_server
|
||||||
File.open @temp_conf, "w" do |fp|
|
File.open @temp_conf, "w" do |fp|
|
||||||
fp.puts ":disable_default_gem_server: true"
|
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)
|
actual = Gem::ConfigFile.load_with_rubygems_config_hash(yaml)
|
||||||
assert_equal("bar", actual[:foo])
|
assert_equal("bar", actual[:foo])
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def util_config_file(args = @cfg_args)
|
||||||
|
@cfg = Gem::ConfigFile.new args
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user