Rack middleware submitted by Sutto
Sort by:
Latest |
Highest rated
Rack::LayoutWrapper
Added by Sutto
at October 15, 2009 20:15
Rack::LayoutWrapper makes it super-easy to have shared layouts between a number of Rack applications – it’s as simple as using Rack::LayoutWrapper, setting the template dir option and then using the passed in layout object (as a part of the rack env).
API Version Mapper
Added by Sutto
at October 12, 2009 09:06
In the same vein as Rack::URLMap or drnic’s probably versioned submission, API Version Mapper provides
a simple way to declare and namespace different api versions for a Rack app.
RedisRequestLimiter Contest finalist
Added by Sutto
at October 10, 2009 15:45
A configurable (yet still simple) set of middleware that makes it easy to limit user requests (typically for an api)
based on a # / hour limit. Combined with other middleware it’d be easy to do routing.
