mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 21:14:23 +02:00
Manually merged from https://github.com/rubygems/rubygems/pull/2636
Enable Style/EmptyLinesAroundClassBody rubocop cop.
This commit is contained in:
parent
f56fc720ee
commit
31a6eaabc1
274 changed files with 672 additions and 0 deletions
|
@ -9,6 +9,7 @@ unless defined?(OpenSSL::SSL)
|
|||
end
|
||||
|
||||
class TestGemRequest < Gem::TestCase
|
||||
|
||||
CA_CERT_FILE = cert_path 'ca'
|
||||
CHILD_CERT = load_cert 'child'
|
||||
EXPIRED_CERT = load_cert 'expired'
|
||||
|
@ -487,6 +488,7 @@ ERROR: Certificate is an invalid CA certificate
|
|||
end
|
||||
|
||||
class Conn
|
||||
|
||||
attr_accessor :payload
|
||||
|
||||
def new(*args); self; end
|
||||
|
@ -505,5 +507,7 @@ ERROR: Certificate is an invalid CA certificate
|
|||
self.payload = req
|
||||
@response
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
end if defined?(OpenSSL::SSL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue