summaryrefslogtreecommitdiff
path: root/lib/rubygems/commands/lock_command.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <[email protected]>2020-09-23 21:02:56 +0900
committerHiroshi SHIBATA <[email protected]>2020-09-23 21:02:56 +0900
commit31a6eaabc165d8a222e176f2c809d90622d88ec2 (patch)
treeb5333db2c13888ede5062ccd8ecca649ea261b4c /lib/rubygems/commands/lock_command.rb
parentf56fc720ee8cd4b79824a1c3843058b662a302bd (diff)
Manually merged from https://github.com/rubygems/rubygems/pull/2636
Enable Style/EmptyLinesAroundClassBody rubocop cop.
Diffstat (limited to 'lib/rubygems/commands/lock_command.rb')
-rw-r--r--lib/rubygems/commands/lock_command.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rubygems/commands/lock_command.rb b/lib/rubygems/commands/lock_command.rb
index f1dc1ac586..ed1d5489b7 100644
--- a/lib/rubygems/commands/lock_command.rb
+++ b/lib/rubygems/commands/lock_command.rb
@@ -2,6 +2,7 @@
require 'rubygems/command'
class Gem::Commands::LockCommand < Gem::Command
+
def initialize
super 'lock', 'Generate a lockdown list of gems',
:strict => false
@@ -105,4 +106,5 @@ lock it down to the exact version.
gemspecs.find {|path| File.exist? path }
end
+
end