Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
...
Checking mergeability… Don't worry, you can still create the pull request.
  • 1 commit
  • 1 file changed
  • 0 commit comments
  • 1 contributor
Commits on Sep 13, 2012
@ferrous26 ferrous26 Register ControlTower as a Rack::Handler
Tools that call `Rack::Handler.get`, such as Sinatra, expect
ControlTower to have registered itself as `control_tower`
since that is the naming scheme that other servers use.
(see https://github.com/rack/rack/blob/master/lib/rack/handler.rb#L84)

Not conforming will cause an exception to be raised when
`Rack::Handler.get('control_tower')` is called.
6f3654f
Showing with 2 additions and 0 deletions.
  1. +2 −0  lib/rack/handler/control_tower.rb
View
2  lib/rack/handler/control_tower.rb
@@ -13,5 +13,7 @@ def self.run(app, options={})
server.start
end
end
+
+ register 'control_tower', ControlTower
end
end

No commit comments for this range

Something went wrong with that request. Please try again.