public
Rubygem
Description: A very fast & simple Ruby web server
Homepage: http://code.macournoyer.com/thin/
Clone URL: git://github.com/macournoyer/thin.git
Click here to lend your support to: thin and make a donation at www.pledgie.com !
Simplify printing the adapters in Runner.
mtodd (author)
Tue Jul 01 10:06:39 -0700 2008
commit  c0324bfe08bd003b2bf3bb88d03728fcbba2177c
tree    0580abbe38c17e46898bb34db16f67858e6de929
parent  1537b449d44cb79cfa3236e2d264cfea31ae8f0f
...
63
64
65
66
 
67
68
69
...
63
64
65
 
66
67
68
69
0
@@ -63,7 +63,7 @@ module Thin
0
         opts.on("-S", "--socket FILE", "bind to unix domain socket")                    { |file| @options[:socket] = file }
0
         opts.on("-y", "--swiftiply [KEY]", "Run using swiftiply")                       { |key| @options[:swiftiply] = key }
0
         opts.on("-A", "--adapter NAME", "Rack adapter to use (default: autodetect)",
0
-                                        "(#{Rack::ADAPTERS.map{|a|a.first}.join(', ')})") { |name| @options[:adapter] = name }
0
+                                        "(#{Rack::ADAPTERS.map{|(a,b)|a}.join(', ')})") { |name| @options[:adapter] = name }
0
         opts.on("-R", "--rackup FILE", "Load a Rack config file instead of " +
0
                                        "Rack adapter")                                  { |file| @options[:rackup] = file }
0
         opts.on("-c", "--chdir DIR", "Change to dir before starting")                   { |dir| @options[:chdir] = File.expand_path(dir) }

Comments