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
|
@ -3,6 +3,7 @@ require 'rubygems/command'
|
|||
require 'rubygems/security'
|
||||
|
||||
class Gem::Commands::CertCommand < Gem::Command
|
||||
|
||||
def initialize
|
||||
super 'cert', 'Manage RubyGems certificates and signing settings',
|
||||
:add => [], :remove => [], :list => [], :build => [], :sign => []
|
||||
|
@ -311,4 +312,5 @@ For further reading on signing gems see `ri Gem::Security`.
|
|||
# It's simple, but is all we need
|
||||
email =~ /\A.+@.+\z/
|
||||
end
|
||||
|
||||
end if defined?(OpenSSL::SSL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue