lumberjack 1.0.8 → 1.0.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fc4029f3bf75b71346241a44e2b6ccc1366e741f
4
- data.tar.gz: 7dd05e23ba3e4e3059b37b2326ba2f9f6615a212
3
+ metadata.gz: b07995cff9cade3e5246b7559cf25a34f0df5611
4
+ data.tar.gz: de7054b468dfd8ea8cdbcf65b2bb1594e4299f10
5
5
  SHA512:
6
- metadata.gz: 477908a41ddedb8a4b55860e69dbb1d5406592bb60b32e3dda4247f918b98955370a9c3b8311fe089d2a6ec61d69ba6abe71e31514a836874434b7b7f9651a52
7
- data.tar.gz: a97abf5e03bb11469e7bf4a911aa7a3a1bd88daa9b2a68f43d3cfbefb6e316195dc6972006486cd3b5e1fcceec0cf7ec96c0232a1fa5bfac20869dd95e988c85
6
+ metadata.gz: b988d1886a98a118dab20bc4457ad6b210f72ee6640237235b12bd63d1c969b32eeae5db944ee04c731df3df29fefef6c0db634df1ee48e6b6a0ac33c10154ea
7
+ data.tar.gz: 9391faa754aa454f0e3f9295cadbb81aa2b7336859fd063b212c7dc160988febe1792a4718b09536e6018246686e9ee7bffc053d0204d97bb792efc4cc513ebc
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.8
1
+ 1.0.9
@@ -60,6 +60,11 @@ module Lumberjack
60
60
  def format(message)
61
61
  formatter_for(message.class).call(message)
62
62
  end
63
+
64
+ # Hack for compatibility with Logger::Formatter
65
+ def call(severity, timestamp, progname, msg)
66
+ "#{format(msg)}\n"
67
+ end
63
68
 
64
69
  private
65
70
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lumberjack
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.8
4
+ version: 1.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Durand