sidekiq-middleware 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
data/CHANGES.md
CHANGED
@@ -9,7 +9,7 @@ module Sidekiq
|
|
9
9
|
(worker_class.get_sidekiq_options['expiration'] || HASH_KEY_EXPIRATION)
|
10
10
|
|
11
11
|
if enabled
|
12
|
-
unique, payload = false, item.clone.slice(
|
12
|
+
unique, payload = false, item.clone.slice(*%w(class queue args at))
|
13
13
|
|
14
14
|
# Enabled unique scheduled
|
15
15
|
if enabled == :all && payload.has_key?('at')
|
@@ -21,7 +21,7 @@ module Sidekiq
|
|
21
21
|
# Only enforce uniqueness across class, queue, args, and at.
|
22
22
|
# Useful when middleware uses the payload to store metadata.
|
23
23
|
enabled, payload = worker_instance.class.get_sidekiq_options['unique'],
|
24
|
-
item.clone.slice(
|
24
|
+
item.clone.slice(*%w(class queue args at))
|
25
25
|
|
26
26
|
# Enabled unique scheduled
|
27
27
|
if enabled == :all && payload.has_key?('at')
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sidekiq-middleware
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -97,7 +97,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
97
97
|
version: '0'
|
98
98
|
segments:
|
99
99
|
- 0
|
100
|
-
hash:
|
100
|
+
hash: -66154321417516575
|
101
101
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
102
102
|
none: false
|
103
103
|
requirements:
|
@@ -106,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
106
106
|
version: '0'
|
107
107
|
segments:
|
108
108
|
- 0
|
109
|
-
hash:
|
109
|
+
hash: -66154321417516575
|
110
110
|
requirements: []
|
111
111
|
rubyforge_project:
|
112
112
|
rubygems_version: 1.8.24
|