rack-devel archive mirror (unofficial) https://groups.google.com/group/rack-devel
 help / color / mirror / Atom feed
* Rack::Server patch
@ 2009-11-21  0:42 Yehuda Katz
  2009-11-21  0:46 ` Yehuda Katz
  2009-11-21  0:52 ` Yehuda Katz
  0 siblings, 2 replies; 6+ messages in thread
From: Yehuda Katz @ 2009-11-21  0:42 UTC (permalink / raw)
  To: rack-devel

[-- Attachment #1: Type: text/plain, Size: 905 bytes --]

Hey guys,

Carl and I spent a couple of day refactoring the code in bin/rackup into
Rack::Server. The main motivation for this was to enable Rails to ditch our
code in script/server and simply inherit from the requisite Rack code. I
think the code improvement speaks for itself. In the process of this work,
we also moved a few things out of Rackup into more usable locations, like
Rack::Handler.default (to get the handler that Rack will use if none is
specified) and Rack::Builder.parse_file (which we currently duplicate in
ActionDispatch).

You can check out the changes at github.com/carllerche/rack, and I have also
attached a patch. In addition to converting the rackup binary to a class, we
also wrote tests for each function of rackup, to be sure we wouldn't break
anything in the refactor. As a result, this patch now has tests for rackup!

Yehuda Katz
Developer | Engine Yard
(ph) 718.877.1325

[-- Attachment #2: Type: text/html, Size: 1047 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-11-21 10:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-21  0:42 Rack::Server patch Yehuda Katz
2009-11-21  0:46 ` Yehuda Katz
2009-11-21  0:52 ` Yehuda Katz
2009-11-21  2:10   ` Joshua Peek
2009-11-21 10:17     ` Christian Neukirchen
2009-11-21 10:18   ` Christian Neukirchen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).