sidekiq-unique-jobs 3.0.9 → 3.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
  SHA1:
3
- metadata.gz: 3313bf28559e24e82c4205b30ac7857e6e062ad6
4
- data.tar.gz: 7ee635aefdadfeef42d11099a824cee0575b1870
3
+ metadata.gz: a49b8c44e5f5a0fb1e1c61e577d7b070a079c320
4
+ data.tar.gz: 56e5652f44f26b9580634ea31a9a45c555dabf56
5
5
  SHA512:
6
- metadata.gz: 1a9181ebb1fa33d9d8ffd23f43258d8059d40436af6ccecc29641b6c9c9a6397f5a9d81c3516e51a58e55867812902084cdd35f8d60bf61b0d1b49a7e60f1eeb
7
- data.tar.gz: f9ebbe34af83fa6b9340942babd0a6f4deca947bf9b33c84c09d9da2a37dbc10899f31d9c41e074abf483903e30defc1dc981f8c25da6ab48d181ddd75aed6f8
6
+ metadata.gz: ab05836a9982011714d1ab9b7d2de17d178a82c6bce9259f6921d2ae83e889cc66ee135485b8de88ce653fac18cdbb1a1e68c3ebe23c51044d0f15897775074c
7
+ data.tar.gz: 2f6f2fc4ec79821e3447a41402169ff1633f36e56855f268b5de70477fe57424eb5b82a8de5b57a98e5c233c83069561e7b364b46f9df785dfc6af89d0c58c40
@@ -1,3 +1,6 @@
1
+ ## v3.0.9
2
+ - Fixed that all jobs stopped processing
3
+
1
4
  ## v3.0.8
2
5
  - Unique extensions for Web GUI by @rickenharp. Uniqueness will now be removed when a job is.
3
6
 
@@ -23,7 +23,7 @@ module SidekiqUniqueJobs
23
23
  end
24
24
 
25
25
  def configure
26
- yield configuration
26
+ yield config
27
27
  end
28
28
 
29
29
  # Attempt to constantize a string worker_class argument, always
@@ -8,21 +8,20 @@ module SidekiqUniqueJobs
8
8
  ]
9
9
 
10
10
  class << self
11
- warn('This method has been deprecated. See readme for information')
12
11
  CONFIG_ACCESSORS.each do |method|
13
12
  define_method(method) do
14
- warn('This method has been deprecated. See readme for information')
13
+ warn("#{method} has been deprecated. See readme for information")
15
14
  config.send(method)
16
15
  end
17
16
 
18
17
  define_method("#{method}=") do |obj|
19
- warn('This method has been deprecated. See readme for information')
18
+ warn("#{method} has been deprecated. See readme for information")
20
19
  config.send("#{method}=", obj)
21
20
  end
22
21
  end
23
22
 
24
23
  def unique_args_enabled?
25
- warn('This method has been deprecated. See readme for information')
24
+ warn('unique_args_enabled has been deprecated. See readme for information')
26
25
  config.unique_args_enabled
27
26
  end
28
27
 
@@ -1,4 +1,10 @@
1
- require 'mock_redis'
1
+ begin
2
+ require 'mock_redis'
3
+ rescue LoadError
4
+ raise 'To test using Sidekiq::Testing.inline!' \
5
+ ' Please add `gem "mock_redis" to your gemfile.'
6
+ end
7
+
2
8
  module SidekiqUniqueJobs
3
9
  def self.redis_mock
4
10
  @redis_mock ||= MockRedis.new
@@ -1,3 +1,3 @@
1
1
  module SidekiqUniqueJobs
2
- VERSION = '3.0.9'
2
+ VERSION = '3.0.10'
3
3
  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: 3.0.9
4
+ version: 3.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: 2014-11-05 00:00:00.000000000 Z
11
+ date: 2014-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sidekiq