diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-10-21 19:10:49 +0200 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2022-01-15 00:00:09 +0900 |
commit | 3006451f6511b6594a24a9046f390c3bec6a7465 (patch) | |
tree | 2f052202a3585fcc906dfc0d5ab1c14f3db7c6a6 | |
parent | 810516ca312410515733d3e6a48e5112ad44c750 (diff) |
[rubygems/rubygems] Privatize some test utils
https://github.com/rubygems/rubygems/commit/386b3b85ca
-rw-r--r-- | test/rubygems/test_gem.rb | 2 | ||||
-rw-r--r-- | test/rubygems/test_gem_installer.rb | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/test/rubygems/test_gem.rb b/test/rubygems/test_gem.rb index 970b3b70dd..cc4772a0c6 100644 --- a/test/rubygems/test_gem.rb +++ b/test/rubygems/test_gem.rb @@ -2022,6 +2022,8 @@ You may need to `bundle install` to install missing gems ENV['SOURCE_DATE_EPOCH'] = old_epoch end + private + def ruby_install_name(name) with_clean_path_to_ruby do orig_RUBY_INSTALL_NAME = RbConfig::CONFIG['ruby_install_name'] diff --git a/test/rubygems/test_gem_installer.rb b/test/rubygems/test_gem_installer.rb index 8874577aa8..a40b874107 100644 --- a/test/rubygems/test_gem_installer.rb +++ b/test/rubygems/test_gem_installer.rb @@ -2259,6 +2259,8 @@ gem 'other', version assert_kind_of(String, installer.gem) end + private + def util_execless @spec = util_spec 'z' util_build_gem @spec |