logjam_agent 0.12.1 → 0.12.2

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: ecfe40ea7fb9f8142fdee6d4ceee85254d665f56
4
- data.tar.gz: 3c201ced4653e772fd9479b6472f68ae40d768f7
3
+ metadata.gz: c2b048ce82b2fc7a9db451b58fc5c1653b718344
4
+ data.tar.gz: 314ea21911fb722f11a4ec0d647a159bbbc49c51
5
5
  SHA512:
6
- metadata.gz: 3b15025139cea472ab96e62bd733f59f665b1b9b021ce125b31632fd3435d98f95e4dbd45ff9e8b91ff0e4a7620aad3c08a321d5570070a26dcd56a564e71b58
7
- data.tar.gz: 008717a7645d6935af0675edaccc4caec62ed23abc3f9adf37829a742cfe578411264bc602035caf6a0b09203f2de0e8b6359f1ab975a5b0b6e0ad7c5d6d24ac
6
+ metadata.gz: 5c127b8f2bec762154b561286ba0e83c1ddd8d8eefe5ed610f83512d675b58b85743ace6ffee6e1cc4a531514b895cd75000b10182e335686a8eda60d1d9cdd8
7
+ data.tar.gz: 141134bf22459a2f5a92aa45e385d82132287c73ea0b62f930b90c3957f99287b24503b710fbc301f74b980461968f40990a82a955ea89cdd2ae0b2696888511
@@ -66,6 +66,7 @@ module LogjamAgent
66
66
  end
67
67
 
68
68
  def before_dispatch(request, env, start_time)
69
+ logger.formatter.reset_attributes if logger.formatter.respond_to?(:reset_attributes)
69
70
  TimeBandits.reset
70
71
  Thread.current.thread_variable_set(:time_bandits_completed_info, nil)
71
72
 
@@ -52,5 +52,9 @@ module LogjamAgent
52
52
  @attributes << [name, value]
53
53
  end
54
54
  end
55
+
56
+ def reset_attributes
57
+ @attributes = []
58
+ end
55
59
  end
56
60
  end
@@ -1,3 +1,3 @@
1
1
  module LogjamAgent
2
- VERSION = "0.12.1"
2
+ VERSION = "0.12.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logjam_agent
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.1
4
+ version: 0.12.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Kaes
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-30 00:00:00.000000000 Z
11
+ date: 2015-01-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake