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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 288a4e4d37ce0e15a36fe7dcf2a3ec4e32c46d6c7ab485eca03a9629d017e067
4
- data.tar.gz: 1b9b2440e309eb62590efedb501d3dddddb798a2a03be05a6253686918c3f93d
3
+ metadata.gz: c3fc35527bd1692b7306b97ec93ebd738568bfe699946037affb729a145f258b
4
+ data.tar.gz: 895a24c93582e8cd95f225c10505f8931bfbf2a09f161eabf5e4077747de246b
5
5
  SHA512:
6
- metadata.gz: efe7a753947bf3918220c8a5e4efcbe927a8a4ee4e55067cffc4a1399f481376612562a054a4b696e42210b8c261d3df2dd6d2efa94f69cd5495063d5d77722c
7
- data.tar.gz: a1b598b4e7c35cbcae3ace905fb3df517cb81981e0f1595cdb454bf439f35b5b6e6381a6c2f05ca00043ae13f01751435b67d65651afe51999d6b77834332eba
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
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SidekiqUniqueJobs
4
- VERSION = "6.0.20"
4
+ VERSION = "6.0.21"
5
5
  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: 6.0.20
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-22 00:00:00.000000000 Z
11
+ date: 2020-03-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby