diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-04-18 09:57:56 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-04-19 06:56:21 +0000 |
commit | ef54a9aeb689164d99ccccc8cc92c588936fa321 (patch) | |
tree | d2cd1a25ac80df05b160306fc284d4d3d0e41e61 /test/rubygems/helper.rb | |
parent | 644d7df021e17c70932da3173ec309ae1c8063d5 (diff) | |
download | ruby-ef54a9aeb689164d99ccccc8cc92c588936fa321.tar.gz |
[rubygems/rubygems] Introduce self.load_with_rubygems_config_hash
https://github.com/rubygems/rubygems/commit/9175b8cf2a
Diffstat (limited to 'test/rubygems/helper.rb')
-rw-r--r-- | test/rubygems/helper.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/rubygems/helper.rb b/test/rubygems/helper.rb index c1ac05415d..9f4dc6616b 100644 --- a/test/rubygems/helper.rb +++ b/test/rubygems/helper.rb @@ -679,10 +679,8 @@ class Gem::TestCase < Test::Unit::TestCase # Load a YAML file, the psych 3 way def load_yaml_file(file) - require "bundler/yaml_serializer" require "rubygems/config_file" - yaml = Bundler::YAMLSerializer.load(File.read(file)) - Gem::ConfigFile.convert_rubygems_config_hash(yaml) + Gem::ConfigFile.load_with_rubygems_config_hash(File.read(file)) end def all_spec_names |