mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 21:44:30 +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
|
@ -6,7 +6,6 @@ require 'rubygems/command'
|
|||
# RubyGems checkout or tarball.
|
||||
|
||||
class Gem::Commands::SetupCommand < Gem::Command
|
||||
|
||||
HISTORY_HEADER = /^===\s*[\d.a-zA-Z]+\s*\/\s*\d{4}-\d{2}-\d{2}\s*$/.freeze
|
||||
VERSION_MATCHER = /^===\s*([\d.a-zA-Z]+)\s*\/\s*\d{4}-\d{2}-\d{2}\s*$/.freeze
|
||||
|
||||
|
@ -736,5 +735,4 @@ abort "#{deprecation_message}"
|
|||
def bin_file_names
|
||||
@bin_file_names ||= []
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue