sidekiq-unique-jobs 6.0.20 → 6.0.21
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/lib/sidekiq_unique_jobs/unique_args.rb +2 -1
- data/lib/sidekiq_unique_jobs/version.rb +1 -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: c3fc35527bd1692b7306b97ec93ebd738568bfe699946037affb729a145f258b
|
4
|
+
data.tar.gz: 895a24c93582e8cd95f225c10505f8931bfbf2a09f161eabf5e4077747de246b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c05988751a809a8935dca5a27e595dfebde3276e1cf7a20bca55bf263a788e404287067293a9ae5ac751c97cd1274826ba5467d175bc06170ca309357df8b132
|
7
|
+
data.tar.gz: ff03a09a1bb18d70da8b47c53b6d24d1f4ab132dd99fc9cd83b9d8e231e7d9c7471cdc4d4027eefe2d74c79bb151e56f1b7120b47cec64cf64007efbd41b69e1
|
@@ -1,6 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require "digest"
|
4
|
+
require "openssl"
|
4
5
|
require "sidekiq_unique_jobs/normalizer"
|
5
6
|
|
6
7
|
module SidekiqUniqueJobs
|
@@ -47,7 +48,7 @@ module SidekiqUniqueJobs
|
|
47
48
|
# Creates a namespaced unique digest based on the {#digestable_hash} and the {#unique_prefix}
|
48
49
|
# @return [String] a unique digest
|
49
50
|
def create_digest
|
50
|
-
digest = Digest::MD5.hexdigest(Sidekiq.dump_json(digestable_hash))
|
51
|
+
digest = OpenSSL::Digest::MD5.hexdigest(Sidekiq.dump_json(digestable_hash))
|
51
52
|
"#{unique_prefix}:#{digest}"
|
52
53
|
end
|
53
54
|
|
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: 6.0.
|
4
|
+
version: 6.0.21
|
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: concurrent-ruby
|