mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 05:25:34 +02:00
Enforce no empty lines around class body in rubygems
To normalize the code style with `bundler`.
This commit is contained in:
parent
a6bfc951aa
commit
a89665b7b1
Notes:
git
2020-07-31 21:08:29 +09:00
274 changed files with 1 additions and 672 deletions
|
@ -9,7 +9,6 @@ rescue LoadError => e
|
|||
end
|
||||
|
||||
class Gem::Commands::CertCommand < Gem::Command
|
||||
|
||||
def initialize
|
||||
super 'cert', 'Manage RubyGems certificates and signing settings',
|
||||
:add => [], :remove => [], :list => [], :build => [], :sign => []
|
||||
|
@ -318,5 +317,4 @@ 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