about summary refs log tree commit homepage
path: root/lib/clogger.rb
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-09-07 16:49:22 -0700
committerEric Wong <normalperson@yhbt.net>2009-09-07 16:49:22 -0700
commit6769f9b6615ebe172b3a75f1d11554ada26c592d (patch)
tree7cbd42b414e15d27428a9227acdecfa509797c0b /lib/clogger.rb
parent1475c6ce69dab9a6679dc3237be7761afd29e998 (diff)
downloadclogger-6769f9b6615ebe172b3a75f1d11554ada26c592d.tar.gz
"clogger_ext" is no longer a separate gem, but merged into the
"clogger" gem itself.  The installation should automatically
detect compatible versions of Ruby and only build the C
extension for MRI 1.8/1.9.

Rack::Utils::HeaderHash is now used for $sent_http_* variable
lookups instead of a hand-rolled solution.  HeaderHash objects
should be reusable in Rack soon to avoid the penalty of
recreating them repeatedly in middlewares and hopefully
more-widely used as a result.

Underlying logger objects are sync=true for safety reasons.
This has always been the case for the C extension version
when writing to regular files.

Other small changes include more CGI variables and the :ORS
(output record separator) option added (default: "\n").
Diffstat (limited to 'lib/clogger.rb')
-rw-r--r--lib/clogger.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/clogger.rb b/lib/clogger.rb
index 9ddd5ee..44e6aa8 100644
--- a/lib/clogger.rb
+++ b/lib/clogger.rb
@@ -1,6 +1,6 @@
 # -*- encoding: binary -*-
 class Clogger
-  VERSION = '0.0.5'
+  VERSION = '0.0.6'
 
   OP_LITERAL = 0
   OP_REQUEST = 1