logging-couchdb 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,8 @@
1
+ == 1.0.2 / 2009-08-14
2
+
3
+ * 1 bug fix
4
+ * Darn it! That timestamp needed fixing again!
5
+
1
6
  == 1.0.1 / 2009-08-14
2
7
 
3
8
  * 1 bug fix
data/Rakefile CHANGED
@@ -23,7 +23,7 @@ PROJ.name = 'logging-couchdb'
23
23
  PROJ.authors = 'Tim Pease'
24
24
  PROJ.email = 'tim.pease@gmail.com'
25
25
  PROJ.url = 'http://logging.rubyforge.org/logging-couchdb'
26
- PROJ.version = '1.0.1'
26
+ PROJ.version = '1.0.2'
27
27
  PROJ.rubyforge.name = 'logging'
28
28
  PROJ.exclude << 'logging-couchdb.gemspec'
29
29
  PROJ.readme_file = 'README.rdoc'
@@ -99,9 +99,9 @@ module Logging::Layouts
99
99
  class << self
100
100
  undef :timestamp
101
101
  def timestamp( time = nil )
102
- @@discriminator = (@@discriminator + 1) % 1_000_000
102
+ @@discriminator = (@@discriminator + 1) % 1000
103
103
  utc = (time || Time.now).utc
104
- utc.strftime(TIME_FMT) % @@discriminator
104
+ utc.strftime(TIME_FMT) % (utc.usec + @@discriminator)
105
105
  end
106
106
  end
107
107
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logging-couchdb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Pease