about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-12-25 00:59:58 -0800
committerEric Wong <normalperson@yhbt.net>2010-12-25 01:28:17 -0800
commit04ac0bbb1a7eb6d36d80a33e5798c7bbd62455ef (patch)
treed910719554b7b472ace180f977389d8b4654cb3e /lib
parent8492f6bbc56d42e3068f25ca233faa78884d5a77 (diff)
downloadclogger-04ac0bbb1a7eb6d36d80a33e5798c7bbd62455ef.tar.gz
Clogger may now be initialized with a :path instead of :logger
to avoid typing "::File" in config.ru files to avoid conflicting
with the completely-unrelated Rack::File.

$request_time is now uses the monotonic clock, making it immune
to system clock changes.  $usec and $msec statements were
completely broken in the pure-Ruby code and now fixed.

Rubinius is supported by the optional C extension as well,
the pure-Ruby code always worked.
Diffstat (limited to 'lib')
-rw-r--r--lib/clogger.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/clogger.rb b/lib/clogger.rb
index 0eeea5b..d0f6fb4 100644
--- a/lib/clogger.rb
+++ b/lib/clogger.rb
@@ -4,8 +4,8 @@ require 'rack'
 # See the README for usage instructions
 class Clogger
 
-  # the version of Clogger, currently 0.5.0
-  VERSION = '0.5.0'
+  # the version of Clogger, currently 0.6.0
+  VERSION = '0.6.0'
 
   # :stopdoc:
   OP_LITERAL = 0