Files | Admin

Notes:

Release Name: 0.8.0

Notes:
\Clogger is Rack middleware for logging HTTP requests.  The log format
is customizable so you can specify exactly which fields to log.

* http://clogger.rubyforge.org/
* clogger@librelist.com
* git://git.bogomips.org/clogger.git

Changes:

Clogger now delegates all unknown methods to the response body
in cases where it needs to wrap the response body.  This allows
apps that use non-standard Rack extensions to continue working.

Eric Wong (4):
      pass along "to_io" calls to the body
      delegate method_missing calls to the response body
      pure: simpler autoload trigger
      switch to pkg.mk for maintenance tasks



Changes: .gitignore | 1 + GIT-VERSION-GEN | 2 +- GNUmakefile | 141 ++--------------------------------- ext/clogger_ext/clogger.c | 26 +++++++ lib/clogger.rb | 8 ++- lib/clogger/pure.rb | 6 +- pkg.mk | 166 ++++++++++++++++++++++++++++++++++++++++++ test/test_clogger.rb | 28 +++++++ test/test_clogger_to_path.rb | 3 +- 9 files changed, 243 insertions(+), 138 deletions(-) commit 1281d0b3cb5758d524af7e9f67094bcf936570b7 Author: Eric Wong Date: Fri Jan 21 09:07:52 2011 +0000 clogger 0.8.0 - delegating away! Clogger now delegates all unknown methods to the response body in cases where it needs to wrap the response body. This allows apps that use non-standard Rack extensions to continue working. Eric Wong (4): pass along "to_io" calls to the body delegate method_missing calls to the response body pure: simpler autoload trigger switch to pkg.mk for maintenance tasks commit abb753d65398e96c29ce6a66069b0f8f1cc2a384 Author: Eric Wong Date: Fri Jan 21 09:05:25 2011 +0000 switch to pkg.mk for maintenance tasks I like make :D commit fae26b8e56f6b6e4c6d75f8faa8570ee209ef757 Author: Eric Wong Date: Fri Jan 21 09:04:39 2011 +0000 pure: simpler autoload trigger No need to actually create the hash, just load the constant commit 2c43727f8e689ef5998d773feb4cbb2f58009391 Author: Eric Wong Date: Fri Jan 21 08:53:56 2011 +0000 delegate method_missing calls to the response body Since we delegated response_to?, we also need to delegate method_missing to the response body in case there are non-standard methods defined outside of Rack. commit d3a182dd0238c964ff5191642d53fce3d2e64be9 Author: Eric Wong Date: Fri Jan 21 08:53:55 2011 +0000 pass along "to_io" calls to the body This optimization is used by Rainbows! to pass IO objects to the response body.