sidekiq-unique-jobs 7.0.0.beta18 → 7.0.0.beta23
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of sidekiq-unique-jobs might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +66 -4
- data/lib/sidekiq_unique_jobs/changelog.rb +1 -1
- data/lib/sidekiq_unique_jobs/digests.rb +1 -1
- data/lib/sidekiq_unique_jobs/lock_args.rb +0 -1
- data/lib/sidekiq_unique_jobs/lua/reap_orphans.lua +1 -5
- data/lib/sidekiq_unique_jobs/lua/shared/_delete_from_queue.lua +3 -0
- data/lib/sidekiq_unique_jobs/lua/shared/_find_digest_in_process_set.lua +16 -5
- data/lib/sidekiq_unique_jobs/on_conflict/reject.rb +1 -1
- data/lib/sidekiq_unique_jobs/orphans/manager.rb +25 -2
- data/lib/sidekiq_unique_jobs/orphans/ruby_reaper.rb +16 -7
- data/lib/sidekiq_unique_jobs/redis/entity.rb +7 -1
- data/lib/sidekiq_unique_jobs/upgrade_locks.rb +1 -1
- data/lib/sidekiq_unique_jobs/version.rb +1 -1
- metadata +5 -157
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 85f40cdbdf1f6652712a0a5ef535a58cb4831a871b0defa73b5b32db54bb8a02
|
4
|
+
data.tar.gz: 4ed0cc541f98f80f6875d6e47b077494d623f72d40392e201977d0510b0cb18b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6a43eb07c5bc25ae1b40a521f56280eb37dec346ada147d07f1eae5a125bc4e29455548987796d52ab8bea16c7587c4a5e08a57dfa9cfb4fba47b0d2f152799
|
7
|
+
data.tar.gz: 998560f4beadb2d2e3012b44d5f1d792e1b42ba18881f3f6b699d8486ad5593923469d755eb473c023d107c311014e51b1400ed772f5138ba4010104ba29c88d
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,67 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [Unreleased](https://github.com/mhenrixon/sidekiq-unique-jobs/tree/HEAD)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/mhenrixon/sidekiq-unique-jobs/compare/v7.0.0.beta22...HEAD)
|
6
|
+
|
7
|
+
**Closed issues:**
|
8
|
+
|
9
|
+
- Ruby reaper incorrectly checks active jobs — removes every active lock as result [\#517](https://github.com/mhenrixon/sidekiq-unique-jobs/issues/517)
|
10
|
+
|
11
|
+
## [v7.0.0.beta22](https://github.com/mhenrixon/sidekiq-unique-jobs/tree/v7.0.0.beta22) (2020-06-12)
|
12
|
+
|
13
|
+
[Full Changelog](https://github.com/mhenrixon/sidekiq-unique-jobs/compare/v7.0.0.beta21...v7.0.0.beta22)
|
14
|
+
|
15
|
+
**Fixed bugs:**
|
16
|
+
|
17
|
+
- Infinite loop in ruby reaper [\#515](https://github.com/mhenrixon/sidekiq-unique-jobs/issues/515)
|
18
|
+
- Prevent reaping of active jobs [\#518](https://github.com/mhenrixon/sidekiq-unique-jobs/pull/518) ([mhenrixon](https://github.com/mhenrixon))
|
19
|
+
|
20
|
+
## [v7.0.0.beta21](https://github.com/mhenrixon/sidekiq-unique-jobs/tree/v7.0.0.beta21) (2020-06-12)
|
21
|
+
|
22
|
+
[Full Changelog](https://github.com/mhenrixon/sidekiq-unique-jobs/compare/v7.0.0.beta20...v7.0.0.beta21)
|
23
|
+
|
24
|
+
**Implemented enhancements:**
|
25
|
+
|
26
|
+
- Move gems to gemfile [\#513](https://github.com/mhenrixon/sidekiq-unique-jobs/pull/513) ([mhenrixon](https://github.com/mhenrixon))
|
27
|
+
- Move dev-gems from gemspec to gemfile [\#512](https://github.com/mhenrixon/sidekiq-unique-jobs/pull/512) ([mhenrixon](https://github.com/mhenrixon))
|
28
|
+
|
29
|
+
**Fixed bugs:**
|
30
|
+
|
31
|
+
- Prevent indefinitely looping entries [\#516](https://github.com/mhenrixon/sidekiq-unique-jobs/pull/516) ([mhenrixon](https://github.com/mhenrixon))
|
32
|
+
|
33
|
+
**Closed issues:**
|
34
|
+
|
35
|
+
- Missing web interface [\#514](https://github.com/mhenrixon/sidekiq-unique-jobs/issues/514)
|
36
|
+
|
37
|
+
## [v7.0.0.beta20](https://github.com/mhenrixon/sidekiq-unique-jobs/tree/v7.0.0.beta20) (2020-06-02)
|
38
|
+
|
39
|
+
[Full Changelog](https://github.com/mhenrixon/sidekiq-unique-jobs/compare/v7.0.0.beta19...v7.0.0.beta20)
|
40
|
+
|
41
|
+
**Fixed bugs:**
|
42
|
+
|
43
|
+
- Reaper can't be registered again if sidekiq gets killed by SIGKILL [\#490](https://github.com/mhenrixon/sidekiq-unique-jobs/issues/490)
|
44
|
+
|
45
|
+
**Closed issues:**
|
46
|
+
|
47
|
+
- How do I turn this on for only one job class? [\#510](https://github.com/mhenrixon/sidekiq-unique-jobs/issues/510)
|
48
|
+
|
49
|
+
## [v7.0.0.beta19](https://github.com/mhenrixon/sidekiq-unique-jobs/tree/v7.0.0.beta19) (2020-05-21)
|
50
|
+
|
51
|
+
[Full Changelog](https://github.com/mhenrixon/sidekiq-unique-jobs/compare/v7.0.0.beta18...v7.0.0.beta19)
|
52
|
+
|
53
|
+
**Fixed bugs:**
|
54
|
+
|
55
|
+
- Expire reaper when not checking in [\#508](https://github.com/mhenrixon/sidekiq-unique-jobs/pull/508) ([mhenrixon](https://github.com/mhenrixon))
|
56
|
+
|
57
|
+
## [v7.0.0.beta18](https://github.com/mhenrixon/sidekiq-unique-jobs/tree/v7.0.0.beta18) (2020-05-21)
|
58
|
+
|
59
|
+
[Full Changelog](https://github.com/mhenrixon/sidekiq-unique-jobs/compare/v7.0.0.beta17...v7.0.0.beta18)
|
60
|
+
|
61
|
+
**Fixed bugs:**
|
62
|
+
|
63
|
+
- Stringify on\_conflict hash in Job prepare method [\#507](https://github.com/mhenrixon/sidekiq-unique-jobs/pull/507) ([jasonbekolay](https://github.com/jasonbekolay))
|
64
|
+
|
3
65
|
## [v7.0.0.beta17](https://github.com/mhenrixon/sidekiq-unique-jobs/tree/v7.0.0.beta17) (2020-05-20)
|
4
66
|
|
5
67
|
[Full Changelog](https://github.com/mhenrixon/sidekiq-unique-jobs/compare/v7.0.0.beta16...v7.0.0.beta17)
|
@@ -633,7 +695,6 @@
|
|
633
695
|
**Implemented enhancements:**
|
634
696
|
|
635
697
|
- Prepare for v6 [\#286](https://github.com/mhenrixon/sidekiq-unique-jobs/pull/286) ([mhenrixon](https://github.com/mhenrixon))
|
636
|
-
- Only unlock not delete [\#285](https://github.com/mhenrixon/sidekiq-unique-jobs/pull/285) ([mhenrixon](https://github.com/mhenrixon))
|
637
698
|
|
638
699
|
## [v6.0.0.rc3](https://github.com/mhenrixon/sidekiq-unique-jobs/tree/v6.0.0.rc3) (2018-06-29)
|
639
700
|
|
@@ -651,6 +712,7 @@
|
|
651
712
|
|
652
713
|
- Within tests: workers enqueued in the future don't clear their unique locks after being drained/executed [\#254](https://github.com/mhenrixon/sidekiq-unique-jobs/issues/254)
|
653
714
|
- Unexpected behavior with until\_executed [\#250](https://github.com/mhenrixon/sidekiq-unique-jobs/issues/250)
|
715
|
+
- Only unlock not delete [\#285](https://github.com/mhenrixon/sidekiq-unique-jobs/pull/285) ([mhenrixon](https://github.com/mhenrixon))
|
654
716
|
|
655
717
|
**Fixed bugs:**
|
656
718
|
|
@@ -700,6 +762,7 @@
|
|
700
762
|
- Code smells [\#275](https://github.com/mhenrixon/sidekiq-unique-jobs/pull/275) ([mhenrixon](https://github.com/mhenrixon))
|
701
763
|
- Reject while scheduling [\#273](https://github.com/mhenrixon/sidekiq-unique-jobs/pull/273) ([mhenrixon](https://github.com/mhenrixon))
|
702
764
|
- Improve testing [\#272](https://github.com/mhenrixon/sidekiq-unique-jobs/pull/272) ([mhenrixon](https://github.com/mhenrixon))
|
765
|
+
- Solidify master [\#270](https://github.com/mhenrixon/sidekiq-unique-jobs/pull/270) ([mhenrixon](https://github.com/mhenrixon))
|
703
766
|
|
704
767
|
## [v6.0.0.beta](https://github.com/mhenrixon/sidekiq-unique-jobs/tree/v6.0.0.beta) (2018-06-17)
|
705
768
|
|
@@ -708,7 +771,6 @@
|
|
708
771
|
**Implemented enhancements:**
|
709
772
|
|
710
773
|
- Until and while executing [\#271](https://github.com/mhenrixon/sidekiq-unique-jobs/pull/271) ([mhenrixon](https://github.com/mhenrixon))
|
711
|
-
- Solidify master [\#270](https://github.com/mhenrixon/sidekiq-unique-jobs/pull/270) ([mhenrixon](https://github.com/mhenrixon))
|
712
774
|
- Minor adjustments [\#268](https://github.com/mhenrixon/sidekiq-unique-jobs/pull/268) ([mhenrixon](https://github.com/mhenrixon))
|
713
775
|
- Use ruby 2.5.1 [\#267](https://github.com/mhenrixon/sidekiq-unique-jobs/pull/267) ([mhenrixon](https://github.com/mhenrixon))
|
714
776
|
- Add explicit concurrent-ruby dependency. [\#265](https://github.com/mhenrixon/sidekiq-unique-jobs/pull/265) ([brettburley](https://github.com/brettburley))
|
@@ -869,6 +931,7 @@
|
|
869
931
|
- Increase sleep delay in WhileExecuting\#synchronize [\#204](https://github.com/mhenrixon/sidekiq-unique-jobs/pull/204) ([dsander](https://github.com/dsander))
|
870
932
|
- Ensure job ID removed from uniquejobs hash [\#200](https://github.com/mhenrixon/sidekiq-unique-jobs/pull/200) ([carlosmartinez](https://github.com/carlosmartinez))
|
871
933
|
- unique args need to be an array [\#194](https://github.com/mhenrixon/sidekiq-unique-jobs/pull/194) ([pboling](https://github.com/pboling))
|
934
|
+
- fix for \#168. Handle the NOSCRIPT by sending the script again [\#178](https://github.com/mhenrixon/sidekiq-unique-jobs/pull/178) ([otzy007](https://github.com/otzy007))
|
872
935
|
|
873
936
|
## [v4.0.18](https://github.com/mhenrixon/sidekiq-unique-jobs/tree/v4.0.18) (2016-07-24)
|
874
937
|
|
@@ -891,7 +954,6 @@
|
|
891
954
|
|
892
955
|
- missed space [\#188](https://github.com/mhenrixon/sidekiq-unique-jobs/pull/188) ([TheBigSadowski](https://github.com/TheBigSadowski))
|
893
956
|
- Convert unless if to just 1 if [\#179](https://github.com/mhenrixon/sidekiq-unique-jobs/pull/179) ([otzy007](https://github.com/otzy007))
|
894
|
-
- fix for \#168. Handle the NOSCRIPT by sending the script again [\#178](https://github.com/mhenrixon/sidekiq-unique-jobs/pull/178) ([otzy007](https://github.com/otzy007))
|
895
957
|
- Fixed gitter badge link [\#176](https://github.com/mhenrixon/sidekiq-unique-jobs/pull/176) ([andrew](https://github.com/andrew))
|
896
958
|
|
897
959
|
## [v4.0.17](https://github.com/mhenrixon/sidekiq-unique-jobs/tree/v4.0.17) (2016-03-02)
|
@@ -993,7 +1055,6 @@
|
|
993
1055
|
**Merged pull requests:**
|
994
1056
|
|
995
1057
|
- Calculate worker's unique args when a proc or a symbol is specified [\#143](https://github.com/mhenrixon/sidekiq-unique-jobs/pull/143) ([zeqfreed](https://github.com/zeqfreed))
|
996
|
-
- Fix markdown link formatting [\#134](https://github.com/mhenrixon/sidekiq-unique-jobs/pull/134) ([thbar](https://github.com/thbar))
|
997
1058
|
|
998
1059
|
## [v4.0.7](https://github.com/mhenrixon/sidekiq-unique-jobs/tree/v4.0.7) (2015-10-14)
|
999
1060
|
|
@@ -1024,6 +1085,7 @@
|
|
1024
1085
|
|
1025
1086
|
**Merged pull requests:**
|
1026
1087
|
|
1088
|
+
- Fix markdown link formatting [\#134](https://github.com/mhenrixon/sidekiq-unique-jobs/pull/134) ([thbar](https://github.com/thbar))
|
1027
1089
|
- Forces to look for testing namespace in Sidekiq and not his ancestors [\#129](https://github.com/mhenrixon/sidekiq-unique-jobs/pull/129) ([antek-drzewiecki](https://github.com/antek-drzewiecki))
|
1028
1090
|
- Fix outdated phrasing and add test coverage to readme [\#123](https://github.com/mhenrixon/sidekiq-unique-jobs/pull/123) ([albertyw](https://github.com/albertyw))
|
1029
1091
|
|
@@ -80,7 +80,7 @@ module SidekiqUniqueJobs
|
|
80
80
|
options[:match] = pattern
|
81
81
|
options[:count] = count if count
|
82
82
|
|
83
|
-
result = redis { |conn| conn.zscan_each(key, options).to_a }
|
83
|
+
result = redis { |conn| conn.zscan_each(key, **options).to_a }
|
84
84
|
|
85
85
|
result.each_with_object({}) do |entry, hash|
|
86
86
|
hash[entry[0]] = entry[1]
|
@@ -65,11 +65,7 @@ repeat
|
|
65
65
|
-- TODO: Add check for jobs checked out by process
|
66
66
|
if found ~= true then
|
67
67
|
log_debug("Searching for digest:", digest, "in process sets")
|
68
|
-
|
69
|
-
if queue then
|
70
|
-
log_debug("found digest:", digest, "in queue:", queue)
|
71
|
-
found = true
|
72
|
-
end
|
68
|
+
found = find_digest_in_process_set(digest)
|
73
69
|
end
|
74
70
|
|
75
71
|
if found ~= true then
|
@@ -6,6 +6,9 @@ local function delete_from_queue(queue, digest)
|
|
6
6
|
|
7
7
|
while (index < total) do
|
8
8
|
local items = redis.call("LRANGE", queue, index, index + per -1)
|
9
|
+
if #items == 0 then
|
10
|
+
break
|
11
|
+
end
|
9
12
|
for _, item in pairs(items) do
|
10
13
|
if string.find(item, digest) then
|
11
14
|
redis.call("LREM", queue, 1, item)
|
@@ -4,7 +4,7 @@ local function find_digest_in_process_set(digest)
|
|
4
4
|
local pattern = "*" .. digest .. "*"
|
5
5
|
local found = false
|
6
6
|
|
7
|
-
log_debug("
|
7
|
+
log_debug("Searching in process list",
|
8
8
|
"for digest:", digest,
|
9
9
|
"cursor:", process_cursor)
|
10
10
|
|
@@ -15,15 +15,26 @@ local function find_digest_in_process_set(digest)
|
|
15
15
|
log_debug("Found number of processes:", #processes, "next cursor:", next_process_cursor)
|
16
16
|
|
17
17
|
for _, process in ipairs(processes) do
|
18
|
+
local workers_key = process .. ":workers"
|
18
19
|
log_debug("searching in process set:", process,
|
19
20
|
"for digest:", digest,
|
20
21
|
"cursor:", process_cursor)
|
21
22
|
|
22
|
-
local
|
23
|
+
local jobs = redis.call("HGETALL", workers_key)
|
23
24
|
|
24
|
-
if
|
25
|
-
log_debug("
|
26
|
-
|
25
|
+
if #jobs == 0 then
|
26
|
+
log_debug("No entries in:", workers_key)
|
27
|
+
else
|
28
|
+
for i = 1, #jobs, 2 do
|
29
|
+
if string.find(jobs[i +1], digest) then
|
30
|
+
log_debug("Found digest", digest, "in:", workers_key)
|
31
|
+
found = true
|
32
|
+
break
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
if found == true then
|
27
38
|
break
|
28
39
|
end
|
29
40
|
end
|
@@ -10,6 +10,8 @@ module SidekiqUniqueJobs
|
|
10
10
|
module Manager
|
11
11
|
module_function
|
12
12
|
|
13
|
+
DRIFT_FACTOR = 0.02
|
14
|
+
|
13
15
|
include SidekiqUniqueJobs::Connection
|
14
16
|
include SidekiqUniqueJobs::Logging
|
15
17
|
|
@@ -56,6 +58,7 @@ module SidekiqUniqueJobs
|
|
56
58
|
@task ||= Concurrent::TimerTask.new(timer_task_options) do
|
57
59
|
with_logging_context do
|
58
60
|
redis do |conn|
|
61
|
+
refresh_reaper_mutex
|
59
62
|
Orphans::Reaper.call(conn)
|
60
63
|
end
|
61
64
|
end
|
@@ -117,7 +120,9 @@ module SidekiqUniqueJobs
|
|
117
120
|
# @return [true, false]
|
118
121
|
#
|
119
122
|
def registered?
|
120
|
-
redis
|
123
|
+
redis do |conn|
|
124
|
+
conn.get(UNIQUE_REAPER).to_i + drift_reaper_interval > current_timestamp
|
125
|
+
end
|
121
126
|
end
|
122
127
|
|
123
128
|
def disabled?
|
@@ -131,7 +136,17 @@ module SidekiqUniqueJobs
|
|
131
136
|
# @return [void]
|
132
137
|
#
|
133
138
|
def register_reaper_process
|
134
|
-
redis { |conn| conn.set(UNIQUE_REAPER,
|
139
|
+
redis { |conn| conn.set(UNIQUE_REAPER, current_timestamp, nx: true, ex: drift_reaper_interval) }
|
140
|
+
end
|
141
|
+
|
142
|
+
#
|
143
|
+
# Updates mutex key
|
144
|
+
#
|
145
|
+
#
|
146
|
+
# @return [void]
|
147
|
+
#
|
148
|
+
def refresh_reaper_mutex
|
149
|
+
redis { |conn| conn.set(UNIQUE_REAPER, current_timestamp, ex: drift_reaper_interval) }
|
135
150
|
end
|
136
151
|
|
137
152
|
#
|
@@ -143,6 +158,14 @@ module SidekiqUniqueJobs
|
|
143
158
|
def unregister_reaper_process
|
144
159
|
redis { |conn| conn.del(UNIQUE_REAPER) }
|
145
160
|
end
|
161
|
+
|
162
|
+
def drift_reaper_interval
|
163
|
+
reaper_interval + (reaper_interval * DRIFT_FACTOR).to_i
|
164
|
+
end
|
165
|
+
|
166
|
+
def current_timestamp
|
167
|
+
Time.now.to_i
|
168
|
+
end
|
146
169
|
end
|
147
170
|
end
|
148
171
|
end
|
@@ -117,17 +117,24 @@ module SidekiqUniqueJobs
|
|
117
117
|
end
|
118
118
|
end
|
119
119
|
|
120
|
-
def active?(digest)
|
120
|
+
def active?(digest) # rubocop:disable Metrics/MethodLength
|
121
121
|
Sidekiq.redis do |conn|
|
122
|
-
procs = conn.sscan_each("processes").to_a
|
122
|
+
procs = conn.sscan_each("processes").to_a
|
123
|
+
return false if procs.empty?
|
123
124
|
|
124
|
-
|
125
|
-
|
126
|
-
conn.
|
125
|
+
procs.sort.each do |key|
|
126
|
+
valid, workers = conn.pipelined do
|
127
|
+
conn.exists(key)
|
128
|
+
conn.hgetall("#{key}:workers")
|
127
129
|
end
|
128
|
-
end
|
129
130
|
|
130
|
-
|
131
|
+
next unless valid
|
132
|
+
next unless workers.any?
|
133
|
+
|
134
|
+
workers.each_pair do |_tid, job|
|
135
|
+
return true if load_json(job)[LOCK_DIGEST] == digest
|
136
|
+
end
|
137
|
+
end
|
131
138
|
end
|
132
139
|
end
|
133
140
|
|
@@ -157,6 +164,8 @@ module SidekiqUniqueJobs
|
|
157
164
|
entries = conn.lrange(queue_key, range_start, range_end)
|
158
165
|
page += 1
|
159
166
|
|
167
|
+
break if entries.empty?
|
168
|
+
|
160
169
|
entries.each do |entry|
|
161
170
|
yield entry
|
162
171
|
end
|
@@ -46,7 +46,13 @@ module SidekiqUniqueJobs
|
|
46
46
|
# @return [false] when not exists
|
47
47
|
#
|
48
48
|
def exist?
|
49
|
-
redis
|
49
|
+
redis do |conn|
|
50
|
+
value = conn.exists(key)
|
51
|
+
return true if value.is_a?(TrueClass)
|
52
|
+
return false if value.is_a?(FalseClass)
|
53
|
+
|
54
|
+
value.positive?
|
55
|
+
end
|
50
56
|
end
|
51
57
|
|
52
58
|
#
|
@@ -126,7 +126,7 @@ module SidekiqUniqueJobs
|
|
126
126
|
def batch_scan(match:, count:)
|
127
127
|
cursor = "0"
|
128
128
|
loop do
|
129
|
-
cursor, values = conn.scan(cursor, match: match,
|
129
|
+
cursor, values = conn.scan(cursor, match: match, count: count)
|
130
130
|
yield values
|
131
131
|
break if cursor == "0"
|
132
132
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sidekiq-unique-jobs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.0.0.
|
4
|
+
version: 7.0.0.beta23
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mikael Henriksson
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-05
|
11
|
+
date: 2020-09-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: brpoplpush-redis_script
|
@@ -90,158 +90,6 @@ dependencies:
|
|
90
90
|
- - "<"
|
91
91
|
- !ruby/object:Gem::Version
|
92
92
|
version: '2.0'
|
93
|
-
- !ruby/object:Gem::Dependency
|
94
|
-
name: bundler
|
95
|
-
requirement: !ruby/object:Gem::Requirement
|
96
|
-
requirements:
|
97
|
-
- - "~>"
|
98
|
-
- !ruby/object:Gem::Version
|
99
|
-
version: '2.1'
|
100
|
-
type: :development
|
101
|
-
prerelease: false
|
102
|
-
version_requirements: !ruby/object:Gem::Requirement
|
103
|
-
requirements:
|
104
|
-
- - "~>"
|
105
|
-
- !ruby/object:Gem::Version
|
106
|
-
version: '2.1'
|
107
|
-
- !ruby/object:Gem::Dependency
|
108
|
-
name: rack-test
|
109
|
-
requirement: !ruby/object:Gem::Requirement
|
110
|
-
requirements:
|
111
|
-
- - ">="
|
112
|
-
- !ruby/object:Gem::Version
|
113
|
-
version: '1.0'
|
114
|
-
- - "<"
|
115
|
-
- !ruby/object:Gem::Version
|
116
|
-
version: '2.0'
|
117
|
-
type: :development
|
118
|
-
prerelease: false
|
119
|
-
version_requirements: !ruby/object:Gem::Requirement
|
120
|
-
requirements:
|
121
|
-
- - ">="
|
122
|
-
- !ruby/object:Gem::Version
|
123
|
-
version: '1.0'
|
124
|
-
- - "<"
|
125
|
-
- !ruby/object:Gem::Version
|
126
|
-
version: '2.0'
|
127
|
-
- !ruby/object:Gem::Dependency
|
128
|
-
name: rake
|
129
|
-
requirement: !ruby/object:Gem::Requirement
|
130
|
-
requirements:
|
131
|
-
- - "~>"
|
132
|
-
- !ruby/object:Gem::Version
|
133
|
-
version: '13.0'
|
134
|
-
type: :development
|
135
|
-
prerelease: false
|
136
|
-
version_requirements: !ruby/object:Gem::Requirement
|
137
|
-
requirements:
|
138
|
-
- - "~>"
|
139
|
-
- !ruby/object:Gem::Version
|
140
|
-
version: '13.0'
|
141
|
-
- !ruby/object:Gem::Dependency
|
142
|
-
name: rspec
|
143
|
-
requirement: !ruby/object:Gem::Requirement
|
144
|
-
requirements:
|
145
|
-
- - "~>"
|
146
|
-
- !ruby/object:Gem::Version
|
147
|
-
version: '3.9'
|
148
|
-
type: :development
|
149
|
-
prerelease: false
|
150
|
-
version_requirements: !ruby/object:Gem::Requirement
|
151
|
-
requirements:
|
152
|
-
- - "~>"
|
153
|
-
- !ruby/object:Gem::Version
|
154
|
-
version: '3.9'
|
155
|
-
- !ruby/object:Gem::Dependency
|
156
|
-
name: sinatra
|
157
|
-
requirement: !ruby/object:Gem::Requirement
|
158
|
-
requirements:
|
159
|
-
- - ">="
|
160
|
-
- !ruby/object:Gem::Version
|
161
|
-
version: '2.0'
|
162
|
-
- - "<"
|
163
|
-
- !ruby/object:Gem::Version
|
164
|
-
version: '3.0'
|
165
|
-
type: :development
|
166
|
-
prerelease: false
|
167
|
-
version_requirements: !ruby/object:Gem::Requirement
|
168
|
-
requirements:
|
169
|
-
- - ">="
|
170
|
-
- !ruby/object:Gem::Version
|
171
|
-
version: '2.0'
|
172
|
-
- - "<"
|
173
|
-
- !ruby/object:Gem::Version
|
174
|
-
version: '3.0'
|
175
|
-
- !ruby/object:Gem::Dependency
|
176
|
-
name: timecop
|
177
|
-
requirement: !ruby/object:Gem::Requirement
|
178
|
-
requirements:
|
179
|
-
- - "~>"
|
180
|
-
- !ruby/object:Gem::Version
|
181
|
-
version: '0.9'
|
182
|
-
type: :development
|
183
|
-
prerelease: false
|
184
|
-
version_requirements: !ruby/object:Gem::Requirement
|
185
|
-
requirements:
|
186
|
-
- - "~>"
|
187
|
-
- !ruby/object:Gem::Version
|
188
|
-
version: '0.9'
|
189
|
-
- !ruby/object:Gem::Dependency
|
190
|
-
name: github-markup
|
191
|
-
requirement: !ruby/object:Gem::Requirement
|
192
|
-
requirements:
|
193
|
-
- - "~>"
|
194
|
-
- !ruby/object:Gem::Version
|
195
|
-
version: '3.0'
|
196
|
-
type: :development
|
197
|
-
prerelease: false
|
198
|
-
version_requirements: !ruby/object:Gem::Requirement
|
199
|
-
requirements:
|
200
|
-
- - "~>"
|
201
|
-
- !ruby/object:Gem::Version
|
202
|
-
version: '3.0'
|
203
|
-
- !ruby/object:Gem::Dependency
|
204
|
-
name: github_changelog_generator
|
205
|
-
requirement: !ruby/object:Gem::Requirement
|
206
|
-
requirements:
|
207
|
-
- - "~>"
|
208
|
-
- !ruby/object:Gem::Version
|
209
|
-
version: '1.14'
|
210
|
-
type: :development
|
211
|
-
prerelease: false
|
212
|
-
version_requirements: !ruby/object:Gem::Requirement
|
213
|
-
requirements:
|
214
|
-
- - "~>"
|
215
|
-
- !ruby/object:Gem::Version
|
216
|
-
version: '1.14'
|
217
|
-
- !ruby/object:Gem::Dependency
|
218
|
-
name: yard
|
219
|
-
requirement: !ruby/object:Gem::Requirement
|
220
|
-
requirements:
|
221
|
-
- - "~>"
|
222
|
-
- !ruby/object:Gem::Version
|
223
|
-
version: 0.9.18
|
224
|
-
type: :development
|
225
|
-
prerelease: false
|
226
|
-
version_requirements: !ruby/object:Gem::Requirement
|
227
|
-
requirements:
|
228
|
-
- - "~>"
|
229
|
-
- !ruby/object:Gem::Version
|
230
|
-
version: 0.9.18
|
231
|
-
- !ruby/object:Gem::Dependency
|
232
|
-
name: gem-release
|
233
|
-
requirement: !ruby/object:Gem::Requirement
|
234
|
-
requirements:
|
235
|
-
- - "~>"
|
236
|
-
- !ruby/object:Gem::Version
|
237
|
-
version: '2.0'
|
238
|
-
type: :development
|
239
|
-
prerelease: false
|
240
|
-
version_requirements: !ruby/object:Gem::Requirement
|
241
|
-
requirements:
|
242
|
-
- - "~>"
|
243
|
-
- !ruby/object:Gem::Version
|
244
|
-
version: '2.0'
|
245
93
|
description: |
|
246
94
|
Prevents simultaneous Sidekiq jobs with the same unique arguments to run.
|
247
95
|
Highly configurable to suite your specific needs.
|
@@ -391,8 +239,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
391
239
|
- !ruby/object:Gem::Version
|
392
240
|
version: 1.3.1
|
393
241
|
requirements: []
|
394
|
-
rubygems_version: 3.
|
395
|
-
signing_key:
|
242
|
+
rubygems_version: 3.1.2
|
243
|
+
signing_key:
|
396
244
|
specification_version: 4
|
397
245
|
summary: Sidekiq middleware that prevents duplicates jobs
|
398
246
|
test_files: []
|