diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-04-05 10:45:46 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-04-05 05:49:24 +0000 |
commit | cbeea5f3e6a5b5112ff5973c02c934ed415e2dc7 (patch) | |
tree | 4e02b1c7c23681ddcf95edda011bfc5235db2ab6 /test/rubygems/test_gem_commands_build_command.rb | |
parent | bf8afe434f4fcaad4d69a038e7f92786b5a56723 (diff) | |
download | ruby-cbeea5f3e6a5b5112ff5973c02c934ed415e2dc7.tar.gz |
[rubygems/rubygems] Unify java_platform? to Gem.java_platform?
https://github.com/rubygems/rubygems/commit/7f27ab32b8
Diffstat (limited to 'test/rubygems/test_gem_commands_build_command.rb')
-rw-r--r-- | test/rubygems/test_gem_commands_build_command.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/rubygems/test_gem_commands_build_command.rb b/test/rubygems/test_gem_commands_build_command.rb index 0d0fab8e79..42f09003fc 100644 --- a/test/rubygems/test_gem_commands_build_command.rb +++ b/test/rubygems/test_gem_commands_build_command.rb @@ -593,7 +593,7 @@ class TestGemCommandsBuildCommand < Gem::TestCase end def test_build_signed_gem - pend "openssl is missing" unless Gem::HAVE_OPENSSL && !java_platform? + pend "openssl is missing" unless Gem::HAVE_OPENSSL && !Gem.java_platform? trust_dir = Gem::Security.trust_dir @@ -620,7 +620,7 @@ class TestGemCommandsBuildCommand < Gem::TestCase end def test_build_signed_gem_with_cert_expiration_length_days - pend "openssl is missing" unless Gem::HAVE_OPENSSL && !java_platform? + pend "openssl is missing" unless Gem::HAVE_OPENSSL && !Gem.java_platform? gem_path = File.join Gem.user_home, ".gem" Dir.mkdir gem_path @@ -664,7 +664,7 @@ class TestGemCommandsBuildCommand < Gem::TestCase end def test_build_auto_resign_cert - pend "openssl is missing" unless Gem::HAVE_OPENSSL && !java_platform? + pend "openssl is missing" unless Gem::HAVE_OPENSSL && !Gem.java_platform? gem_path = File.join Gem.user_home, ".gem" Dir.mkdir gem_path |