summaryrefslogtreecommitdiff
path: root/lib/rubygems/commands/server_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 ()
treeb5333db2c13888ede5062ccd8ecca649ea261b4c /lib/rubygems/commands/server_command.rb
parentf56fc720ee8cd4b79824a1c3843058b662a302bd (diff)
Manually merged from https://.com/rubygems/rubygems/pull/2636
Enable Style/EmptyLinesAroundClassBody rubocop cop.
-rw-r--r--lib/rubygems/commands/server_command.rb2
1 files changed, 2 insertions, 0 deletions
@@ -3,6 +3,7 @@ require 'rubygems/command'
require 'rubygems/server'
class Gem::Commands::ServerCommand < Gem::Command
def initialize
super 'server', 'Documentation and gem repository HTTP server',
:port => 8808, :gemdir => [], :daemon => false
@@ -81,4 +82,5 @@ You can set up a shortcut to gem server documentation using the URL:
options[:gemdir] = Gem.path if options[:gemdir].empty?
Gem::Server.run options
end
end