Add puma as a potential default alongside thin (replace #455). #474

Merged
merged 2 commits into from Dec 29, 2012

Projects

None yet

2 participants

@yeban
Contributor
yeban commented Dec 29, 2012
yeban added some commits Dec 28, 2012
@yeban yeban Introduce Rack::Handler.pick ...
... to select first available Rack handler given a list of server names.

This functionality is ripped off Sinatra::Base.detect_rack_handler with very
minor semantic and cosmetic changes.

Signed-off-by: Anurag Priyam <anurag08priyam@gmail.com>
77506e4
@yeban yeban Add puma as a potential default alongside thin (close #455).
Signed-off-by: Anurag Priyam <anurag08priyam@gmail.com>
e6284a3
@raggi raggi merged commit 3d30e8f into rack:master Dec 29, 2012

1 check passed

default The Travis build passed
Details
@raggi
Member
raggi commented Dec 29, 2012

For lack of test cases:

~/src/github.com/rack/rack master * ruby -Ilib bin/rackup ~/config.ru
[2012-12-29 11:38:40] INFO  WEBrick 1.3.1
[2012-12-29 11:38:40] INFO  ruby 1.8.7 (2012-02-08) [i686-darwin11.3.0]
[2012-12-29 11:38:41] INFO  WEBrick::HTTPServer#start: pid=70692 port=9292
^C[2012-12-29 11:38:42] INFO  going to shutdown ...
[2012-12-29 11:38:42] INFO  WEBrick::HTTPServer#start done.
~/src/github.com/rack/rack master % ruby -rubygems -Ilib bin/rackup ~/config.ru
Puma 1.6.3 starting...
* Min threads: 0, max threads: 16
* Environment: development
* Listening on tcp://0.0.0.0:9292
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment