sidekiq-logging-json 0.0.13 → 0.0.14

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: 2a4d281a7d1dc13dfd8458a953280ef14edf483d
4
- data.tar.gz: 068b784af73c330c47c3e46ed4986ed6d3214d65
3
+ metadata.gz: 3772c078b41d7ab2e1f4d9ebbe9ef3e1a4f5cda4
4
+ data.tar.gz: 41caa847e114d9d9a234a19af0895a5caac32760
5
5
  SHA512:
6
- metadata.gz: 5f758f624b78f8e85fe665b8ecd2ec6fe5e9d621d0e71862debc51d6a188f70d3aeb92223878f61c6896f6772a09a9c3cc8e89c2a7f1474bea173ef6c064eea7
7
- data.tar.gz: 670b6c0dcc072f6493e6704eca1f4d36d0404319d1bbe92a8d9a91834972f85fed437acd05a8c5a3b907f6d544ee81f747aae7b111cee9feee96af7128575220
6
+ metadata.gz: 1226d82d230e73cdb04f9e8145bed118ff991d4a1fe490cd9b2edc21320ff694b0dc6cb63d6a1abeed290628830b515c459b6068597dc27563b07969cf8bf5fe
7
+ data.tar.gz: 4a1efdd2af35b305f54cd7e5018754ed6e921991b9c705e58bca1b89797957a02986cee2b24893521bcf3ead70fa821d96af3ca99c5a3dfb20a2fc4e4c456d68
@@ -33,7 +33,7 @@ module Sidekiq
33
33
  status = "retry"
34
34
  msg = "#{message['class']} failed, retrying with args #{message['args']}."
35
35
  else
36
- status "dead"
36
+ status = "dead"
37
37
  msg = "#{message['class']} failed with args #{message['args']}, not retrying."
38
38
  end
39
39
  return {
@@ -46,7 +46,7 @@ module Sidekiq
46
46
  status = result[0].match(/^(start|done|fail):?$/) || []
47
47
 
48
48
  {
49
- '@status' => status[1], # start or done
49
+ '@status' => status[1], # start or done
50
50
  '@run_time' => status[1] && result[1] && result[1].to_f # run time in seconds
51
51
  }
52
52
  end
@@ -1,7 +1,7 @@
1
1
  module Sidekiq
2
2
  module Logging
3
3
  module Json
4
- VERSION = "0.0.13"
4
+ VERSION = "0.0.14"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sidekiq-logging-json
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.13
4
+ version: 0.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wouter de Vos
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-26 00:00:00.000000000 Z
11
+ date: 2014-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -108,7 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
108
108
  version: '0'
109
109
  requirements: []
110
110
  rubyforge_project:
111
- rubygems_version: 2.2.2
111
+ rubygems_version: 2.4.2
112
112
  signing_key:
113
113
  specification_version: 4
114
114
  summary: Sidekiq JSON log format, e.g. for Logstash.