imprint 1.4.3.pre7 → 1.4.3.pre8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/imprint/rails_logger.rb +2 -2
- data/lib/imprint/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 37c1c6986f727e53ff0a83907c92a9e5b0a81980
|
4
|
+
data.tar.gz: 624c5ecb3226119fa16c3d8ae15153525072384d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f2631d85898d59b3ee83b540de31e1247707fa747a6a301c2856be26c795719d8c2fca5b41b74c06ada49fa13ad851528cc43b92a28fddf0c8002a5a30a97bc5
|
7
|
+
data.tar.gz: c52d4117d482fe0737b970f5683106711c205a5184ade53a492b17fdffb5d3f01062aead31cb18a9e15fb2d9fcca9a3e89f91480f4229ef0ab8694af3853c603
|
data/lib/imprint/rails_logger.rb
CHANGED
@@ -11,7 +11,7 @@ if defined?(ActiveSupport::BufferedLogger)
|
|
11
11
|
# Ensures that the original message is not mutated.
|
12
12
|
message = "#{message}\n" unless message[-1] == "\n"
|
13
13
|
if defined?(Imprint::Tracer)
|
14
|
-
Imprint::Tracer.insert_trace_id_in_message(message, severity)
|
14
|
+
Imprint::Tracer.insert_trace_id_in_message(message, ActiveSupport::BufferedLogger::Severity.constants[severity])
|
15
15
|
end
|
16
16
|
buffer << message
|
17
17
|
auto_flush
|
@@ -24,7 +24,7 @@ if defined?(ActiveSupport::BufferedLogger)
|
|
24
24
|
# Ensures that the original message is not mutated.
|
25
25
|
message = "#{message}\n" unless message[-1] == "\n"
|
26
26
|
if defined?(Imprint::Tracer)
|
27
|
-
Imprint::Tracer.insert_trace_id_in_message(message, severity)
|
27
|
+
Imprint::Tracer.insert_trace_id_in_message(message, ActiveSupport::BufferedLogger::Severity.constants[severity])
|
28
28
|
end
|
29
29
|
@log.add(severity, message, progname, &block)
|
30
30
|
end
|
data/lib/imprint/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: imprint
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.3.
|
4
|
+
version: 1.4.3.pre8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dan Mayer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-05-
|
11
|
+
date: 2015-05-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|