sidekiq-history 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sidekiq/history/middleware.rb +3 -1
- data/lib/sidekiq/history/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: 317f648dc0d0d87590c7d7ce13f251096c8b2648
|
4
|
+
data.tar.gz: b6300305081e15dca392f447b33bea08a3c395e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7f700136ae08332178bfd3d87fe8eb0169f223611150be7898fcc3b0d116ec0daa4f764787484d6430c4e994a84c48e73b7c15fd538654fe574431e1b3615f02
|
7
|
+
data.tar.gz: ea90855ba98365c773a469d42aa38c60b4065e3626d75d3e7f29db39b494d981fb4edffa849e93baf56050665fdf4cd4caa4c310dc1801731f4e53f9eb12a733
|
@@ -1,3 +1,5 @@
|
|
1
|
+
require 'sidekiq/util'
|
2
|
+
|
1
3
|
module Sidekiq
|
2
4
|
module History
|
3
5
|
class Middleware
|
@@ -12,7 +14,7 @@ module Sidekiq
|
|
12
14
|
started_at: Time.now.utc,
|
13
15
|
payload: msg,
|
14
16
|
worker: msg['class'],
|
15
|
-
processor: "#{
|
17
|
+
processor: "#{identity}-#{Thread.current.object_id}",
|
16
18
|
queue: queue
|
17
19
|
}
|
18
20
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sidekiq-history
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Russ Smith
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-12-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sidekiq
|
@@ -132,7 +132,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
132
132
|
version: '0'
|
133
133
|
requirements: []
|
134
134
|
rubyforge_project:
|
135
|
-
rubygems_version: 2.0.
|
135
|
+
rubygems_version: 2.0.14
|
136
136
|
signing_key:
|
137
137
|
specification_version: 4
|
138
138
|
summary: History for sidekiq jobs.
|