Module: Rack

Defined in:
lib/middleman/apps/rack_contrib.rb

Overview

TODO:
MAYBE

Merge the two Rack apps below into a single concise Rack app?

‘rack-contrib` depends on `rack` v1.4, which is quite outdated now, and also, limits us to Sinatra v1.4, while Sinatra v2.0 is out.

Since, ‘middleman-apps` uses 2 tiny classes from `rack-contrib`, I copied them here to remove `rack-contrib` from dependency list.

Once ‘rack-contrib` supports `rack` v2.0, we can switch back to using it, instead of this file.

Defined Under Namespace

Classes: NotFound, TryStatic