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 +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/sidekiq-unique-jobs.rb +1 -1
- data/lib/sidekiq_unique_jobs/config.rb +3 -4
- data/lib/sidekiq_unique_jobs/testing.rb +7 -1
- data/lib/sidekiq_unique_jobs/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a49b8c44e5f5a0fb1e1c61e577d7b070a079c320
|
4
|
+
data.tar.gz: 56e5652f44f26b9580634ea31a9a45c555dabf56
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab05836a9982011714d1ab9b7d2de17d178a82c6bce9259f6921d2ae83e889cc66ee135485b8de88ce653fac18cdbb1a1e68c3ebe23c51044d0f15897775074c
|
7
|
+
data.tar.gz: 2f6f2fc4ec79821e3447a41402169ff1633f36e56855f268b5de70477fe57424eb5b82a8de5b57a98e5c233c83069561e7b364b46f9df785dfc6af89d0c58c40
|
data/CHANGELOG.md
CHANGED
data/lib/sidekiq-unique-jobs.rb
CHANGED
@@ -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(
|
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(
|
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('
|
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
|
-
|
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
|
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.
|
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-
|
11
|
+
date: 2014-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sidekiq
|