imprint 1.4.0 → 1.4.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -22,10 +22,10 @@ module Imprint
22
22
  end
23
23
 
24
24
  def self.insert_trace_id_in_message(message)
25
- if message && message.is_a?(String) &&
26
- message.length > 1 && !message.include?('trace_id=') &&
27
- trace_id = get_trace_id && trace_id != TRACE_ID_DEFAULT
28
- message.gsub!("\n"," trace_id=#{trace_id}\n")
25
+ if message && message.is_a?(String) && message.length > 1 && !message.include?('trace_id=')
26
+ trace_id = get_trace_id
27
+
28
+ message.gsub!("\n"," trace_id=#{trace_id}\n") if trace_id && trace_id != TRACE_ID_DEFAULT
29
29
  end
30
30
  end
31
31
 
@@ -1,3 +1,3 @@
1
1
  module Imprint
2
- VERSION = "1.4.0"
2
+ VERSION = "1.4.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: imprint
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-10-10 00:00:00.000000000 Z
12
+ date: 2014-10-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -131,7 +131,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
131
131
  version: '0'
132
132
  segments:
133
133
  - 0
134
- hash: 1702384810650900036
134
+ hash: 937198868224264989
135
135
  required_rubygems_version: !ruby/object:Gem::Requirement
136
136
  none: false
137
137
  requirements:
@@ -140,7 +140,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
140
140
  version: '0'
141
141
  segments:
142
142
  - 0
143
- hash: 1702384810650900036
143
+ hash: 937198868224264989
144
144
  requirements: []
145
145
  rubyforge_project:
146
146
  rubygems_version: 1.8.23