Permalink
Browse files

Fix handler references to run with recent racks.

  • Loading branch information...
1 parent 4d71004 commit 0a063f0c542bc8dddaf654a088d33ed41f3e62dc Graham Hughes committed with Sep 3, 2010
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/sinatra/more_server.rb
@@ -8,10 +8,10 @@ module MoreServer
autoload :Zbatery, "sinatra/more_server/zbatery"
def self.registered(klass)
- ::Rack::Handler.register "unicorn", "::Sinatra::MoreServer::Unicorn"
- ::Rack::Handler.register "rainbows", "::Sinatra::MoreServer::Rainbows"
- ::Rack::Handler.register "zbatery", "::Sinatra::MoreServer::Zbatery"
- ::Rack::Handler.register "ebb", "::Rack::Handler::Ebb"
+ ::Rack::Handler.register "unicorn", "Sinatra::MoreServer::Unicorn"
+ ::Rack::Handler.register "rainbows", "Sinatra::MoreServer::Rainbows"
+ ::Rack::Handler.register "zbatery", "Sinatra::MoreServer::Zbatery"
+ ::Rack::Handler.register "ebb", "Rack::Handler::Ebb"
::Rack::Handler.autoload :Ebb, "ebb"
klass.server += ["ebb", "zbatery", "rainbows", "unicorn"]
klass.set :async_server, ["thin", "ebb", "zbatery", "rainbows"]

0 comments on commit 0a063f0

Please sign in to comment.