sidekiq-unique-jobs 7.0.0.beta13 → 7.0.0.beta14
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 +9 -1
- data/lib/sidekiq_unique_jobs/lock_digest.rb +3 -1
- data/lib/sidekiq_unique_jobs/version.rb +1 -1
- data/lib/tasks/changelog.rake +0 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ebb9d4c539ef0f829d56cf7c8f907044c4f9cee33fedb25c3a1ee56325db8376
|
4
|
+
data.tar.gz: f2891752e702e8060d4907fa5764855545d81974d602bb922d734ba9ba252384
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f17fface6439ddf9daebc649ae8d3af8520a3e067c2fb7bba4157b0d591a2668eb90295f009e739f6496336725b4fb92ba2c78b9499c16b9aab2cf629794500f
|
7
|
+
data.tar.gz: 9ba022debfd062ce58d9a33dfb793dace4f0ea3edebf1577f89d315c50787f86e9ef31c372e249111e419553ab67e9779183c7c12315e779ff5b802bd6a1443e
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [v7.0.0.beta13](https://github.com/mhenrixon/sidekiq-unique-jobs/tree/v7.0.0.beta13) (2020-03-26)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/mhenrixon/sidekiq-unique-jobs/compare/v7.0.0.beta12...v7.0.0.beta13)
|
6
|
+
|
7
|
+
**Fixed bugs:**
|
8
|
+
|
9
|
+
- Remove digest deletion for concurrent locks [\#482](https://github.com/mhenrixon/sidekiq-unique-jobs/pull/482) ([mhenrixon](https://github.com/mhenrixon))
|
10
|
+
|
3
11
|
## [v7.0.0.beta12](https://github.com/mhenrixon/sidekiq-unique-jobs/tree/v7.0.0.beta12) (2020-03-25)
|
4
12
|
|
5
13
|
[Full Changelog](https://github.com/mhenrixon/sidekiq-unique-jobs/compare/v6.0.20...v7.0.0.beta12)
|
@@ -466,6 +474,7 @@
|
|
466
474
|
|
467
475
|
- Not unlocking automatically \(version 6.0.0rc5\) [\#293](https://github.com/mhenrixon/sidekiq-unique-jobs/issues/293)
|
468
476
|
- Bug fixes [\#310](https://github.com/mhenrixon/sidekiq-unique-jobs/pull/310) ([mhenrixon](https://github.com/mhenrixon))
|
477
|
+
- Remove unused method [\#307](https://github.com/mhenrixon/sidekiq-unique-jobs/pull/307) ([mhenrixon](https://github.com/mhenrixon))
|
469
478
|
|
470
479
|
## [v6.0.1](https://github.com/mhenrixon/sidekiq-unique-jobs/tree/v6.0.1) (2018-07-31)
|
471
480
|
|
@@ -474,7 +483,6 @@
|
|
474
483
|
**Fixed bugs:**
|
475
484
|
|
476
485
|
- :until\_executed is throwing errors and not requeuing the job. [\#256](https://github.com/mhenrixon/sidekiq-unique-jobs/issues/256)
|
477
|
-
- Remove unused method [\#307](https://github.com/mhenrixon/sidekiq-unique-jobs/pull/307) ([mhenrixon](https://github.com/mhenrixon))
|
478
486
|
|
479
487
|
**Closed issues:**
|
480
488
|
|
@@ -1,5 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
+
require 'openssl'
|
4
|
+
|
3
5
|
module SidekiqUniqueJobs
|
4
6
|
# Handles uniqueness of sidekiq arguments
|
5
7
|
#
|
@@ -49,7 +51,7 @@ module SidekiqUniqueJobs
|
|
49
51
|
# Creates a namespaced unique digest based on the {#digestable_hash} and the {#lock_prefix}
|
50
52
|
# @return [String] a unique digest
|
51
53
|
def create_digest
|
52
|
-
digest = ::Digest::MD5.hexdigest(dump_json(digestable_hash))
|
54
|
+
digest = OpenSSL::Digest::MD5.hexdigest(dump_json(digestable_hash))
|
53
55
|
"#{lock_prefix}:#{digest}"
|
54
56
|
end
|
55
57
|
|
data/lib/tasks/changelog.rake
CHANGED
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.beta14
|
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-03-
|
11
|
+
date: 2020-03-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: brpoplpush-redis_script
|