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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 67dbf67ae4b3870b03c0a87e8131ced654c333fc
4
- data.tar.gz: acbbaaf904fe336b2d9b0cafb64cf138b60d20a4
3
+ metadata.gz: 37c1c6986f727e53ff0a83907c92a9e5b0a81980
4
+ data.tar.gz: 624c5ecb3226119fa16c3d8ae15153525072384d
5
5
  SHA512:
6
- metadata.gz: b1e769188df08385f6c9ddc2417cdef9ef51f5bf7e8bdcbee583e85fdca22d813e61a8f6cf8c35b7d20b15124b2a5f7b42d72c86c6a79d24013a00f1fc4bdfe6
7
- data.tar.gz: 6dc2a69da51ebd8a4b4891b83c68ad568badf6eb5d854cbc904650f0d93d7fd46d044142330d355debdaaf0bfe75c6a04da05ac2ccbc03289d6379cd0a5f83f8
6
+ metadata.gz: f2631d85898d59b3ee83b540de31e1247707fa747a6a301c2856be26c795719d8c2fca5b41b74c06ada49fa13ad851528cc43b92a28fddf0c8002a5a30a97bc5
7
+ data.tar.gz: c52d4117d482fe0737b970f5683106711c205a5184ade53a492b17fdffb5d3f01062aead31cb18a9e15fb2d9fcca9a3e89f91480f4229ef0ab8694af3853c603
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Imprint
2
- VERSION = "1.4.3.pre7"
2
+ VERSION = "1.4.3.pre8"
3
3
  end
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.pre7
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-04 00:00:00.000000000 Z
11
+ date: 2015-05-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler