sidekiq-unique-jobs 7.0.0.beta6 → 7.0.0.beta7

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: 711e186f6270655ef3eda5dabc758dd7dfb20fe9f0d3b2bcb99b229d8aeb5ce1
4
- data.tar.gz: a2b7d5187b51c8f25f6ff2c6eb34d0f2cecc54b750eaabacb1e86f67495f369d
3
+ metadata.gz: e60f45b42352d0af4ffbe4d588ea5bc853ca0f9bdf9447448a70e514c4bb6f0d
4
+ data.tar.gz: b76c27dba452a2714fad10a5e2287e395e3491e6732edc0e443dc91f558697d6
5
5
  SHA512:
6
- metadata.gz: 56ffc41a041fa16dddc6f0cc2861b39c3a8ce3e0d017e8af17f4b10980f6d1bd0e21c56fdd6726c9d23616e11920c45bf85224c035e26e12440e0258d670c882
7
- data.tar.gz: c05723254f974feb76920cf6a90226eef8b2e742e0496f056728a74da389f96741a7fecde817fd16bb3b4a491a39896077b545f352d57acbcd7d0bc61403fd23
6
+ metadata.gz: aa23d4e215b263e09f7bfbf515a90e7b5260ca9ea6ccc442ecfc9068f9b9534befafe765133b932336c4e1592224c464ebc15a64cf4cf8b462942121d2e45c2e
7
+ data.tar.gz: 689266ff97106bc2d81cea9724f87b220518fac799e9945706de28ffc19824e88c41f44245ac52ef5e10918607597f8ad4ad3f557ae57f2bd877d7b7627597b5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,31 @@
1
1
  # Changelog
2
2
 
3
+ ## [v7.0.0.beta6](https://github.com/mhenrixon/sidekiq-unique-jobs/tree/v7.0.0.beta6) (2019-11-28)
4
+
5
+ [Full Changelog](https://github.com/mhenrixon/sidekiq-unique-jobs/compare/v6.0.18...v7.0.0.beta6)
6
+
7
+ **Implemented enhancements:**
8
+
9
+ - Clarify usage with global\_id and sidekiq-status [\#455](https://github.com/mhenrixon/sidekiq-unique-jobs/pull/455) ([mhenrixon](https://github.com/mhenrixon))
10
+
11
+ **Merged pull requests:**
12
+
13
+ - Fix that Sidekiq now sends instance of worker [\#459](https://github.com/mhenrixon/sidekiq-unique-jobs/pull/459) ([mhenrixon](https://github.com/mhenrixon))
14
+ - Fix typo in readme [\#456](https://github.com/mhenrixon/sidekiq-unique-jobs/pull/456) ([sheerun](https://github.com/sheerun))
15
+
16
+ ## [v6.0.18](https://github.com/mhenrixon/sidekiq-unique-jobs/tree/v6.0.18) (2019-11-28)
17
+
18
+ [Full Changelog](https://github.com/mhenrixon/sidekiq-unique-jobs/compare/v7.0.0.beta5...v6.0.18)
19
+
20
+ **Fixed bugs:**
21
+
22
+ - Jobs not pushed when using sidekiq-status [\#412](https://github.com/mhenrixon/sidekiq-unique-jobs/issues/412)
23
+ - Fix sidekiq options [\#458](https://github.com/mhenrixon/sidekiq-unique-jobs/pull/458) ([mhenrixon](https://github.com/mhenrixon))
24
+
25
+ **Closed issues:**
26
+
27
+ - Unique jobs only executed once when used with sidekiq-global\_id [\#235](https://github.com/mhenrixon/sidekiq-unique-jobs/issues/235)
28
+
3
29
  ## [v7.0.0.beta5](https://github.com/mhenrixon/sidekiq-unique-jobs/tree/v7.0.0.beta5) (2019-11-26)
4
30
 
5
31
  [Full Changelog](https://github.com/mhenrixon/sidekiq-unique-jobs/compare/v6.0.17...v7.0.0.beta5)
@@ -734,6 +760,7 @@
734
760
 
735
761
  - Seeing this error with latest version 4.0.12 [\#154](https://github.com/mhenrixon/sidekiq-unique-jobs/issues/154)
736
762
  - Unique job showing weird behavior [\#153](https://github.com/mhenrixon/sidekiq-unique-jobs/issues/153)
763
+ - perform\_in not working in version 4.0.9 [\#150](https://github.com/mhenrixon/sidekiq-unique-jobs/issues/150)
737
764
 
738
765
  ## [v4.0.12](https://github.com/mhenrixon/sidekiq-unique-jobs/tree/v4.0.12) (2015-12-15)
739
766
 
@@ -742,7 +769,6 @@
742
769
  **Closed issues:**
743
770
 
744
771
  - Can't schedule a job from another job [\#151](https://github.com/mhenrixon/sidekiq-unique-jobs/issues/151)
745
- - perform\_in not working in version 4.0.9 [\#150](https://github.com/mhenrixon/sidekiq-unique-jobs/issues/150)
746
772
  - `unique: until\_and\_while\_executing` not working as expected [\#146](https://github.com/mhenrixon/sidekiq-unique-jobs/issues/146)
747
773
  - while\_executing still runs duplicate tasks [\#136](https://github.com/mhenrixon/sidekiq-unique-jobs/issues/136)
748
774
  - Version 4 Upgrade [\#133](https://github.com/mhenrixon/sidekiq-unique-jobs/issues/133)
@@ -129,6 +129,7 @@ module SidekiqUniqueJobs
129
129
 
130
130
  def callback_safely
131
131
  callback&.call
132
+ item[JID]
132
133
  rescue StandardError
133
134
  log_warn("unlocked successfully but the #after_unlock callback failed!")
134
135
  raise
@@ -37,7 +37,7 @@ module SidekiqUniqueJobs
37
37
  # @yield to the worker class perform method
38
38
  def execute
39
39
  with_logging_context do
40
- return strategy.call unless locksmith.lock do
40
+ strategy.call unless locksmith.lock do
41
41
  yield
42
42
  callback_safely
43
43
  end
@@ -3,5 +3,5 @@
3
3
  module SidekiqUniqueJobs
4
4
  #
5
5
  # @return [String] the current SidekiqUniqueJobs version
6
- VERSION = "7.0.0.beta6"
6
+ VERSION = "7.0.0.beta7"
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sidekiq-unique-jobs
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.0.0.beta6
4
+ version: 7.0.0.beta7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mikael Henriksson
@@ -371,7 +371,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
371
371
  - !ruby/object:Gem::Version
372
372
  version: 1.3.1
373
373
  requirements: []
374
- rubygems_version: 3.0.3
374
+ rubygems_version: 3.0.6
375
375
  signing_key:
376
376
  specification_version: 4
377
377
  summary: Sidekiq middleware that prevents duplicates jobs