sidekiq-unique-jobs 3.0.11 → 3.0.12
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/.travis.yml +2 -1
- data/Gemfile +1 -1
- data/lib/sidekiq_unique_jobs/config.rb +2 -2
- data/lib/sidekiq_unique_jobs/connectors.rb +1 -1
- data/lib/sidekiq_unique_jobs/connectors/testing.rb +1 -1
- data/lib/sidekiq_unique_jobs/middleware/client/strategies/testing_inline.rb +1 -1
- data/lib/sidekiq_unique_jobs/middleware/client/strategies/unique.rb +4 -1
- data/lib/sidekiq_unique_jobs/version.rb +1 -1
- data/spec/lib/sidekiq_testing_enabled_spec.rb +1 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c9eff48d1f8cefec85845b3219bdee4ade019fc
|
4
|
+
data.tar.gz: c4241dbb2845b7ed7ea2ff78197a9e1b22f134c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb8d4676c2f6c74061c462f5c71da38df4c433ca6c46b79aa0f8e05fba1391e0fa06ebd5139438e9522b0c97e72653e60ed359beba9b10152d1478b42da1e94c
|
7
|
+
data.tar.gz: ff3c62e6f6e6676d8ebb3a13a5afa9e39533ae7fdda1c6ae602fde89f32593956f80006bec2cdd1a98e606793d2209db0c785454391da4cefdca07970a052eed
|
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
@@ -30,8 +30,8 @@ module SidekiqUniqueJobs
|
|
30
30
|
end
|
31
31
|
end
|
32
32
|
|
33
|
-
def
|
34
|
-
if Sidekiq.const_defined?('Testing') && Sidekiq::Testing.enabled?
|
33
|
+
def inline_testing_enabled?
|
34
|
+
if Sidekiq.const_defined?('Testing') && Sidekiq::Testing.enabled? && Sidekiq::Testing.inline?
|
35
35
|
require 'sidekiq_unique_jobs/testing'
|
36
36
|
return true
|
37
37
|
end
|
@@ -2,7 +2,7 @@ module SidekiqUniqueJobs
|
|
2
2
|
module Connectors
|
3
3
|
class Testing
|
4
4
|
def self.connection(_redis_pool = nil)
|
5
|
-
return unless SidekiqUniqueJobs.config.
|
5
|
+
return unless SidekiqUniqueJobs.config.inline_testing_enabled?
|
6
6
|
yield SidekiqUniqueJobs.redis_mock
|
7
7
|
true
|
8
8
|
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.
|
4
|
+
version: 3.0.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mikael Henriksson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-04-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sidekiq
|
@@ -191,7 +191,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
191
191
|
version: '0'
|
192
192
|
requirements: []
|
193
193
|
rubyforge_project:
|
194
|
-
rubygems_version: 2.
|
194
|
+
rubygems_version: 2.4.6
|
195
195
|
signing_key:
|
196
196
|
specification_version: 4
|
197
197
|
summary: The unique jobs that were removed from sidekiq
|