sidekiq-unique-jobs 6.0.9 → 6.0.10

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: d903c692dcfe022998f223767261830ed7dc1c22b19672a6f495b7590f2ee4b3
4
- data.tar.gz: f6ae2cb380982982bb669256a85d22d181f42f6a7c7f49ab9ea82fe12fc2153a
3
+ metadata.gz: fbbb9d542c2f503e41c0c1870ce0b3c924889060218f5e27328f266239476197
4
+ data.tar.gz: 2d11eb5bd79e978f2cd03db40af5f443c7431286028cca3b28249a48764c9600
5
5
  SHA512:
6
- metadata.gz: 0733ea58a6adb672aba0b253a9ca4f4660b490fa79a9948bf998f73adbb570faeed88b5526f0f60d5cc0a495bfa15d14907acc3a182aaf639083db6df589d3b4
7
- data.tar.gz: 763a2fab57ef632a9e943c4600f60e9156da3f6a18f774d9b80f68229c3f4e55424154630d6bb54477c999bfa72e21b9e5f121a01ff847d17d3667fa8ab29b64
6
+ metadata.gz: 3245b73d1d2c432f8bbeb35c1b3b5eeaba7ed82283f0ff31e769ec887e48ef4dba1cbcf91e6fd59d28710a4ae801ac6914570d96c360713c61adb12391373c6c
7
+ data.tar.gz: 940daa0baa646433ba4c83a310cd17b84aad1de814aa8714354d85cd69aa184fbf76d5c17dee3e30e0c2b4ec0504027473dc8c2a83474e8bd9b1c37ef8b198f8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Change Log
2
2
 
3
+ ## [v6.0.9](https://github.com/mhenrixon/sidekiq-unique-jobs/tree/v6.0.9) (2019-02-11)
4
+ [Full Changelog](https://github.com/mhenrixon/sidekiq-unique-jobs/compare/v6.0.8...v6.0.9)
5
+
6
+ **Implemented enhancements:**
7
+
8
+ - Delete all locks button [\#357](https://github.com/mhenrixon/sidekiq-unique-jobs/issues/357)
9
+ - John denisov add delete all button to web [\#370](https://github.com/mhenrixon/sidekiq-unique-jobs/pull/370) ([mhenrixon](https://github.com/mhenrixon))
10
+ - Various upgrades [\#366](https://github.com/mhenrixon/sidekiq-unique-jobs/pull/366) ([mhenrixon](https://github.com/mhenrixon))
11
+
3
12
  ## [v6.0.8](https://github.com/mhenrixon/sidekiq-unique-jobs/tree/v6.0.8) (2019-01-10)
4
13
  [Full Changelog](https://github.com/mhenrixon/sidekiq-unique-jobs/compare/v6.0.7...v6.0.8)
5
14
 
@@ -13,9 +13,12 @@ module SidekiqUniqueJobs
13
13
  # Executes in the Sidekiq server process
14
14
  # @yield to the worker class perform method
15
15
  def execute
16
- return unless locked?
17
-
18
- with_cleanup { yield }
16
+ if locked?
17
+ with_cleanup { yield }
18
+ else
19
+ log_warn "the unique_key: #{item[UNIQUE_DIGEST_KEY]} is not locked, allowing job to silently complete"
20
+ nil
21
+ end
19
22
  end
20
23
  end
21
24
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SidekiqUniqueJobs
4
- VERSION = "6.0.9"
4
+ VERSION = "6.0.10"
5
5
  end
@@ -13,12 +13,12 @@ Gem::Specification.new do |spec|
13
13
  spec.homepage = "https://mhenrixon.github.io/sidekiq-unique-jobs"
14
14
  spec.license = "MIT"
15
15
  spec.summary = <<~SUMMARY
16
- Sidekiq middleware that prevents duplicates jobs
17
- SUMMARY
16
+ Sidekiq middleware that prevents duplicates jobs
17
+ SUMMARY
18
18
  spec.description = <<~DESCRIPTION
19
- Prevents simultaneous Sidekiq jobs with the same unique arguments to run.
20
- Highly configurable to suite your specific needs.
21
- DESCRIPTION
19
+ Prevents simultaneous Sidekiq jobs with the same unique arguments to run.
20
+ Highly configurable to suite your specific needs.
21
+ DESCRIPTION
22
22
 
23
23
  if spec.respond_to?(:metadata)
24
24
  spec.metadata["homepage_uri"] = spec.homepage
@@ -53,10 +53,10 @@ Gem::Specification.new do |spec|
53
53
  spec.add_development_dependency "timecop", "~> 0.9"
54
54
 
55
55
  # ===== Documentation =====
56
- spec.add_development_dependency "yard", "~> 0.9.18"
57
- spec.add_development_dependency "redcarpet", "~> 3.4"
58
56
  spec.add_development_dependency "github-markup", "~> 3.0"
59
57
  spec.add_development_dependency "github_changelog_generator", "~> 1.14"
58
+ spec.add_development_dependency "redcarpet", "~> 3.4"
59
+ spec.add_development_dependency "yard", "~> 0.9.18"
60
60
 
61
61
  # ===== Release Management =====
62
62
  spec.add_development_dependency "gem-release", ">= 2.0"
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.9
4
+ version: 6.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mikael Henriksson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-02-11 00:00:00.000000000 Z
11
+ date: 2019-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby
@@ -149,61 +149,61 @@ dependencies:
149
149
  - !ruby/object:Gem::Version
150
150
  version: '0.9'
151
151
  - !ruby/object:Gem::Dependency
152
- name: yard
152
+ name: github-markup
153
153
  requirement: !ruby/object:Gem::Requirement
154
154
  requirements:
155
155
  - - "~>"
156
156
  - !ruby/object:Gem::Version
157
- version: 0.9.18
157
+ version: '3.0'
158
158
  type: :development
159
159
  prerelease: false
160
160
  version_requirements: !ruby/object:Gem::Requirement
161
161
  requirements:
162
162
  - - "~>"
163
163
  - !ruby/object:Gem::Version
164
- version: 0.9.18
164
+ version: '3.0'
165
165
  - !ruby/object:Gem::Dependency
166
- name: redcarpet
166
+ name: github_changelog_generator
167
167
  requirement: !ruby/object:Gem::Requirement
168
168
  requirements:
169
169
  - - "~>"
170
170
  - !ruby/object:Gem::Version
171
- version: '3.4'
171
+ version: '1.14'
172
172
  type: :development
173
173
  prerelease: false
174
174
  version_requirements: !ruby/object:Gem::Requirement
175
175
  requirements:
176
176
  - - "~>"
177
177
  - !ruby/object:Gem::Version
178
- version: '3.4'
178
+ version: '1.14'
179
179
  - !ruby/object:Gem::Dependency
180
- name: github-markup
180
+ name: redcarpet
181
181
  requirement: !ruby/object:Gem::Requirement
182
182
  requirements:
183
183
  - - "~>"
184
184
  - !ruby/object:Gem::Version
185
- version: '3.0'
185
+ version: '3.4'
186
186
  type: :development
187
187
  prerelease: false
188
188
  version_requirements: !ruby/object:Gem::Requirement
189
189
  requirements:
190
190
  - - "~>"
191
191
  - !ruby/object:Gem::Version
192
- version: '3.0'
192
+ version: '3.4'
193
193
  - !ruby/object:Gem::Dependency
194
- name: github_changelog_generator
194
+ name: yard
195
195
  requirement: !ruby/object:Gem::Requirement
196
196
  requirements:
197
197
  - - "~>"
198
198
  - !ruby/object:Gem::Version
199
- version: '1.14'
199
+ version: 0.9.18
200
200
  type: :development
201
201
  prerelease: false
202
202
  version_requirements: !ruby/object:Gem::Requirement
203
203
  requirements:
204
204
  - - "~>"
205
205
  - !ruby/object:Gem::Version
206
- version: '1.14'
206
+ version: 0.9.18
207
207
  - !ruby/object:Gem::Dependency
208
208
  name: gem-release
209
209
  requirement: !ruby/object:Gem::Requirement