aboutsummaryrefslogtreecommitdiffstats
path: root/test/rubygems/test_gem_security_policy.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2020-09-23 21:02:56 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-09-23 21:02:56 +0900
commit31a6eaabc165d8a222e176f2c809d90622d88ec2 (patch)
treeb5333db2c13888ede5062ccd8ecca649ea261b4c /test/rubygems/test_gem_security_policy.rb
parentf56fc720ee8cd4b79824a1c3843058b662a302bd (diff)
downloadruby-31a6eaabc165d8a222e176f2c809d90622d88ec2.tar.gz
Manually merged from https://github.com/rubygems/rubygems/pull/2636
Enable Style/EmptyLinesAroundClassBody rubocop cop.
Diffstat (limited to 'test/rubygems/test_gem_security_policy.rb')
-rw-r--r--test/rubygems/test_gem_security_policy.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/rubygems/test_gem_security_policy.rb b/test/rubygems/test_gem_security_policy.rb
index 86100d7c74..d42724fe02 100644
--- a/test/rubygems/test_gem_security_policy.rb
+++ b/test/rubygems/test_gem_security_policy.rb
@@ -7,6 +7,7 @@ unless defined?(OpenSSL::SSL)
end
class TestGemSecurityPolicy < Gem::TestCase
+
ALTERNATE_KEY = load_key 'alternate'
INVALID_KEY = load_key 'invalid'
CHILD_KEY = load_key 'child'
@@ -532,4 +533,5 @@ class TestGemSecurityPolicy < Gem::TestCase
return digests, signatures
end
+
end if defined?(OpenSSL::SSL)