1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[rubygems/rubygems] Privatize some test utils

386b3b85ca
This commit is contained in:
David Rodríguez 2019-10-21 19:10:49 +02:00 committed by git
parent 810516ca31
commit 3006451f65
2 changed files with 4 additions and 0 deletions

View file

@ -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']

View file

@ -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