Middleware. A way to chain small pieces of code together in order, each one doing its job before passing control to the next.

github.com/mitchellh/middleware

Vaya's read on this project

Problem, audience, market, and the verdict — sign in to see it.

Updates

July 2014
  • Merge pull request #11 from invisiblefunnel/fix-undefined-local-var
November 2013
  • Merge pull request #12 from ktdreyer/gemspec-license
  • add MIT license metadata to gemspec
March 2013
  • Fix reference to undefined local variable
September 2012
  • Merge pull request #5 from craiglittle/craig/raise-exception-before
  • Merge pull request #4 from craiglittle/craig/fix-the-build
  • Fix a typo
  • Raise an exception when inserting before an invalid middleware
  • Tweak test syntax to fix the build
  • Add more tests surrounding exceptions
  • Test for halting execution if app.call is not called
March 2012
  • Merge pull request #1 from bearded/markdown
  • Ruby colors in User guide
  • Up version for dev
  • Disable jruby 1.9 mode test because it was failing for dumb reasons
  • Up the version and make a CHANGELOG
  • Make the default env `nil`
  • Update gemspec
  • Update README and user guide
  • Added a user guide.