Release Name: 1.2.0
Notes:
clogger 1.2.0 - small bug and compatibility fixes
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.org
* git://bogomips.org/clogger.git
* http://clogger.rubyforge.org/NEWS.atom.xml
Changes:
This release enables the optional C extension on MRI Ruby 2.0.0
(and any other platform that builds C extensions).
For rare setups which do not specify a :logger or :path
parameter for Clogger#initialize, we are now Rack::Lint
compliant and call #write on env["rack.errors"] instead
of "<<"
Changes:
GIT-VERSION-GEN | 2 +-
README | 6 +++---
ext/clogger_ext/clogger.c | 9 +++++++--
ext/clogger_ext/extconf.rb | 5 -----
lib/clogger/pure.rb | 10 +++++++++-
pkg.mk | 6 +++++-
test/test_clogger.rb | 37 +++++++++++++++++++++++++++++++++++++
7 files changed, 62 insertions(+), 13 deletions(-)
commit 7cff94a7ce127765e7ce1ce75a92f29e3a15e604
Author: Eric Wong
Date: Tue Nov 6 02:58:33 2012 +0000
clogger 1.2.0 - small bug and compatibility fixes
This release enables the optional C extension on MRI Ruby 2.0.0
(and any other platform that builds C extensions).
For rare setups which do not specify a :logger or :path
parameter for Clogger#initialize, we are now Rack::Lint
compliant and call #write on env["rack.errors"] instead
of "<<"
commit 31da4fee4f05cf3ba0359ae11c622440c01ff90b
Author: Eric Wong
Date: Tue Nov 6 02:57:07 2012 +0000
ext: enable C extension under Ruby 2.0.0
Ruby 2.0.0preview1 is out, and we happen to be compatible
(with some harmless linker/build warnings)
commit 9aebe2b94197aa2ad653ea971cb8f06e14c065fa
Author: Eric Wong
Date: Tue Nov 6 02:56:19 2012 +0000
test_clogger: fix Ruby 1.8 test compatibility
1.8 did not support my preferred way of writing hashes
with symbol keys.
commit aaf1279e3e73e301b8f65b651933ebe287b82b4d
Author: Eric Wong
Date: Fri Nov 2 20:09:28 2012 -0700
avoid calling "<<" on env["rack.errors"]
Rack::Lint::ErrorWrapper forbids the "<<" method. This
fallback only comes into play when no log destination
(via :logger or :path) is specified and is rarely an
issue in real setups.
commit 4bcd56a4f02b8a167d28505182cc6ff723fb027c
Author: Eric Wong
Date: Fri Jun 8 15:47:22 2012 -0700
README: update for Ruby 1.9.3 support status
It never /not/ worked under 1.9.3, but we should keep the
website up-to-date.
commit e1bed92891f7db5c2d24040778fe31f76d723efe
Author: Eric Wong
Date: Fri Jun 8 15:37:38 2012 -0700
test case to simulate Rack::BodyProxy usage pattern
The use of Rack::BodyProxy#method_missing causes failures
under mainline Ruby 1.9.2 and 1.9.1, but not 1.9.3. This
test case exists to document this (now-fixed) bug for users
stuck on older Rubies.
On a side note, our usage of rb_iterate() should be rewritten
to use rb_block_call() as rb_iterate() is deprecated in 1.9.
A Ruby 1.9.2-p290 user privately reported this issue.
commit eaa531a0e014aa8e4318e11b793f8665ce1509d0
Author: Eric Wong
Date: Tue May 8 12:17:57 2012 -0700
README: updated to use concise format syntax
It's easier-to-read with the concise syntax.
commit b772e23294d82dd0982ed60ae95eab8bfaa8c6bf
Author: Eric Wong
Date: Tue Dec 6 03:47:36 2011 +0000
pkg.mk update
|