1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00
puma--puma/bin/puma-wild
MSP-Greg fa65cf7141
103 RuboCop fixes (#2976)
* rubocop.yml - add more Cops & alphabetize

* RuboCop - Performance/UnfreezeString

* RuboCop - Style/SafeNavigation

* RuboCop - Performance/StringInclude

* RuboCop - Performance/StringIdentifierArgument

* RuboCop - Performance/RegexpMatch

* RuboCop - Performance/MethodObjectAsBlock

* RuboCop - Performance/CollectionLiteralInLoop

* RuboCop - Performance/ChainArrayAllocation
2022-09-30 15:06:32 +09:00

25 lines
302 B
Ruby

#!/usr/bin/env ruby
#
# Copyright (c) 2014 Evan Phoenix
#
require 'rubygems'
cli_arg = ARGV.shift
inc = ""
if cli_arg == "-I"
inc = ARGV.shift
$LOAD_PATH.concat inc.split(":")
end
module Puma; end
Puma.const_set(:WILD_ARGS, ["-I", inc])
require 'puma/cli'
cli = Puma::CLI.new ARGV
cli.run