mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05: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
|
@ -5,6 +5,7 @@ require 'rubygems/version_option'
|
|||
require 'rubygems/gemcutter_utilities'
|
||||
|
||||
class Gem::Commands::YankCommand < Gem::Command
|
||||
|
||||
include Gem::LocalRemoteOptions
|
||||
include Gem::VersionOption
|
||||
include Gem::GemcutterUtilities
|
||||
|
@ -96,4 +97,5 @@ data you will need to change them immediately and yank your gem.
|
|||
def get_platform_from_requirements(requirements)
|
||||
Gem.platforms[1].to_s if requirements.key? :added_platform
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue