mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 05:25:34 +02:00
[rubygems/rubygems] Unify java_platform? to Gem.java_platform?
7f27ab32b8
This commit is contained in:
parent
bf8afe434f
commit
cbeea5f3e6
7 changed files with 11 additions and 25 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue