Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix handler references to run with recent racks.

  • Loading branch information...
commit 0a063f0c542bc8dddaf654a088d33ed41f3e62dc 1 parent 4d71004
Graham Hughes authored committed
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/sinatra/more_server.rb
View
8 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"]
Please sign in to comment.
Something went wrong with that request. Please try again.