sidekiq-unique-jobs 7.0.0.beta16 → 7.0.0.beta17
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8067646614ec63256a43cdbbf8c93779e4a39f7e9e4db493cdcc63a94d1ddf69
|
4
|
+
data.tar.gz: f467363f7156b40c7b8d2e67f2e00b9df18fcde19831758c9aa272fed50b2570
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 15617caf4cc46f2dce4b27fc18e329712508d71c4f246d4348a376920664c849a4fddeddfe1b55e002ee91c9b9c835ab7cc6697942749ae81911b4d84db10a2a
|
7
|
+
data.tar.gz: b035073d353309d2e9faab2cb84c521b06734fa01cf0854205c31045321f0c582aa87fd194d9516cff3d3e8e0b215a7a06bf3d49d0c50890f255473bf393fdf5
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,26 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [v7.0.0.beta16](https://github.com/mhenrixon/sidekiq-unique-jobs/tree/v7.0.0.beta16) (2020-05-19)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/mhenrixon/sidekiq-unique-jobs/compare/v6.0.22...v7.0.0.beta16)
|
6
|
+
|
7
|
+
**Fixed bugs:**
|
8
|
+
|
9
|
+
- Deprecate configuration options with `default\_` [\#504](https://github.com/mhenrixon/sidekiq-unique-jobs/pull/504) ([mhenrixon](https://github.com/mhenrixon))
|
10
|
+
- Fix access to both server and client conflict [\#503](https://github.com/mhenrixon/sidekiq-unique-jobs/pull/503) ([mhenrixon](https://github.com/mhenrixon))
|
11
|
+
|
12
|
+
**Closed issues:**
|
13
|
+
|
14
|
+
- V7 Beta 15 `on\_conflict:` with Hash does not work on server [\#499](https://github.com/mhenrixon/sidekiq-unique-jobs/issues/499)
|
15
|
+
|
16
|
+
## [v6.0.22](https://github.com/mhenrixon/sidekiq-unique-jobs/tree/v6.0.22) (2020-04-13)
|
17
|
+
|
18
|
+
[Full Changelog](https://github.com/mhenrixon/sidekiq-unique-jobs/compare/v7.0.0.beta15...v6.0.22)
|
19
|
+
|
20
|
+
**Fixed bugs:**
|
21
|
+
|
22
|
+
- \[LockType\] Allow overwriting default lock type at item level [\#497](https://github.com/mhenrixon/sidekiq-unique-jobs/pull/497) ([EmmN](https://github.com/EmmN))
|
23
|
+
|
3
24
|
## [v7.0.0.beta15](https://github.com/mhenrixon/sidekiq-unique-jobs/tree/v7.0.0.beta15) (2020-04-10)
|
4
25
|
|
5
26
|
[Full Changelog](https://github.com/mhenrixon/sidekiq-unique-jobs/compare/v7.0.0.beta14...v7.0.0.beta15)
|
@@ -155,7 +176,6 @@
|
|
155
176
|
**Implemented enhancements:**
|
156
177
|
|
157
178
|
- Clarify usage with global\_id and sidekiq-status [\#455](https://github.com/mhenrixon/sidekiq-unique-jobs/pull/455) ([mhenrixon](https://github.com/mhenrixon))
|
158
|
-
- Bump rails [\#450](https://github.com/mhenrixon/sidekiq-unique-jobs/pull/450) ([mhenrixon](https://github.com/mhenrixon))
|
159
179
|
|
160
180
|
**Merged pull requests:**
|
161
181
|
|
@@ -181,6 +201,7 @@
|
|
181
201
|
|
182
202
|
**Implemented enhancements:**
|
183
203
|
|
204
|
+
- Bump rails [\#450](https://github.com/mhenrixon/sidekiq-unique-jobs/pull/450) ([mhenrixon](https://github.com/mhenrixon))
|
184
205
|
- Rename myapp [\#449](https://github.com/mhenrixon/sidekiq-unique-jobs/pull/449) ([mhenrixon](https://github.com/mhenrixon))
|
185
206
|
- Just to keep track of this [\#445](https://github.com/mhenrixon/sidekiq-unique-jobs/pull/445) ([mhenrixon](https://github.com/mhenrixon))
|
186
207
|
|
@@ -492,7 +513,6 @@
|
|
492
513
|
**Fixed bugs:**
|
493
514
|
|
494
515
|
- Enable replace strategy [\#315](https://github.com/mhenrixon/sidekiq-unique-jobs/pull/315) ([mhenrixon](https://github.com/mhenrixon))
|
495
|
-
- Bug fixes [\#310](https://github.com/mhenrixon/sidekiq-unique-jobs/pull/310) ([mhenrixon](https://github.com/mhenrixon))
|
496
516
|
|
497
517
|
**Closed issues:**
|
498
518
|
|
@@ -509,6 +529,7 @@
|
|
509
529
|
**Fixed bugs:**
|
510
530
|
|
511
531
|
- Not unlocking automatically \(version 6.0.0rc5\) [\#293](https://github.com/mhenrixon/sidekiq-unique-jobs/issues/293)
|
532
|
+
- Bug fixes [\#310](https://github.com/mhenrixon/sidekiq-unique-jobs/pull/310) ([mhenrixon](https://github.com/mhenrixon))
|
512
533
|
|
513
534
|
## [v6.0.1](https://github.com/mhenrixon/sidekiq-unique-jobs/tree/v6.0.1) (2018-07-31)
|
514
535
|
|
@@ -185,25 +185,29 @@ module SidekiqUniqueJobs
|
|
185
185
|
end
|
186
186
|
|
187
187
|
def default_lock_ttl=(obj)
|
188
|
-
warn "[DEPRECATION] `#{
|
188
|
+
warn "[DEPRECATION] `#{class_name}##{__method__}` is deprecated. Please use `#{class_name}#lock_ttl=` instead."
|
189
189
|
self.lock_ttl = obj
|
190
190
|
end
|
191
191
|
|
192
192
|
def default_lock_timeout=(obj)
|
193
|
-
warn "[DEPRECATION] `#{
|
193
|
+
warn "[DEPRECATION] `#{class_name}##{__method__}` is deprecated. Please use `#{class_name}#lock_timeout=` instead."
|
194
194
|
self.lock_timeout = obj
|
195
195
|
end
|
196
196
|
|
197
197
|
def default_lock_ttl
|
198
|
-
warn "[DEPRECATION] `#{
|
198
|
+
warn "[DEPRECATION] `#{class_name}##{__method__}` is deprecated. Please use `#{class_name}#lock_ttl` instead."
|
199
199
|
lock_ttl
|
200
200
|
end
|
201
201
|
|
202
202
|
def default_lock_timeout
|
203
|
-
warn "[DEPRECATION] `#{
|
203
|
+
warn "[DEPRECATION] `#{class_name}##{__method__}` is deprecated. Please use `#{class_name}#lock_timeout` instead."
|
204
204
|
lock_timeout
|
205
205
|
end
|
206
206
|
|
207
|
+
def class_name
|
208
|
+
@class_name ||= self.class.name
|
209
|
+
end
|
210
|
+
|
207
211
|
#
|
208
212
|
# Adds a lock type to the configuration. It will raise if the lock exists already
|
209
213
|
#
|
@@ -102,7 +102,7 @@ class Hash
|
|
102
102
|
result[yield(key)] = _deep_transform_keys_in_object(value, &block)
|
103
103
|
end
|
104
104
|
when Array
|
105
|
-
object.map { |
|
105
|
+
object.map { |element| _deep_transform_keys_in_object(element, &block) }
|
106
106
|
else
|
107
107
|
object
|
108
108
|
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.beta17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mikael Henriksson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-05-
|
11
|
+
date: 2020-05-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: brpoplpush-redis_script
|
@@ -391,7 +391,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
391
391
|
- !ruby/object:Gem::Version
|
392
392
|
version: 1.3.1
|
393
393
|
requirements: []
|
394
|
-
rubygems_version: 3.
|
394
|
+
rubygems_version: 3.0.3
|
395
395
|
signing_key:
|
396
396
|
specification_version: 4
|
397
397
|
summary: Sidekiq middleware that prevents duplicates jobs
|