Skip to content
Commits on Mar 21, 2011
  1. @rkh

    If handler is not to be found, raise initial load error.

    rkh committed Mar 22, 2011
    Keep in mind that the load error might be for some library required by the
    handler, not the handler itself.
  2. @rkh

    If autoloading a rack handler by guessing the corresponding ruby file…

    rkh committed Mar 21, 2011
    … to load, take into account that this ruby file might register the handler properly.
    
    This basically would allow moving the Thin handler into the Thin gem and still supporting `rackup -s thin`.
    
    Also, when using Rack::Handler.register, call #to_s on both arguments. This allows, besides passing a symbol for `server`, passing a class or module as `klass` argument, see the included test case for an example.
Commits on Jan 13, 2011
  1. @tenderlove @josh
Commits on Nov 21, 2009
  1. @josh

    Refactor rackup into Rack::Server

    Yehuda Katz + Carl Lerche committed with josh Nov 21, 2009
    Signed-off-by: Joshua Peek <josh@joshpeek.com>
Commits on Mar 26, 2009
  1. @manveru
  2. @manveru

    Simplified options for unregistered handlers

    Graham Batty committed with manveru Feb 26, 2009
    Made it so that it only accepts FullyCapsedClassNames for unregistered handlers as per suggestions in #rack irc channel.
    
    Signed-off-by: Michael Fellinger <m.fellinger@gmail.com>
  3. @manveru

    Made it so that the expectation is that Handler.get raises NameError …

    Graham Batty committed with manveru Feb 26, 2009
    …on failure instead of nil under the principle of obvious failure.
    
    Signed-off-by: Michael Fellinger <m.fellinger@gmail.com>
  4. @manveru

    Made auto-registration of unknown handlers much smarter. This should …

    Graham Batty committed with manveru Feb 26, 2009
    …make it possible for the responsibility for handler definition to be on the people writing servers without making life difficult for the user. ie. 'gem install thin', if thin includes its rack adapter, would make 'rackup -s thin' just work, which is how it should be.
    
    Signed-off-by: Michael Fellinger <m.fellinger@gmail.com>
Commits on Dec 17, 2008
  1. @macournoyer
Commits on Sep 7, 2008
  1. @chneukirchen
Commits on May 24, 2008
  1. @chneukirchen

    Allow handlers to register themselves with Rack::Handler.

    chneukirchen committed May 24, 2008
    darcs-hash:20080524155410-4fc50-e851f342c8bd7461dfb40c30575fec73d0fe380e.gz
Something went wrong with that request. Please try again.