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 +4 -4
- data/lib/sidekiq/logging/json.rb +2 -2
- data/lib/sidekiq/logging/json/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3772c078b41d7ab2e1f4d9ebbe9ef3e1a4f5cda4
|
4
|
+
data.tar.gz: 41caa847e114d9d9a234a19af0895a5caac32760
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1226d82d230e73cdb04f9e8145bed118ff991d4a1fe490cd9b2edc21320ff694b0dc6cb63d6a1abeed290628830b515c459b6068597dc27563b07969cf8bf5fe
|
7
|
+
data.tar.gz: 4a1efdd2af35b305f54cd7e5018754ed6e921991b9c705e58bca1b89797957a02986cee2b24893521bcf3ead70fa821d96af3ca99c5a3dfb20a2fc4e4c456d68
|
data/lib/sidekiq/logging/json.rb
CHANGED
@@ -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],
|
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
|
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.
|
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-
|
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.
|
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.
|