active_job_resque_solo 0.3.5 → 0.3.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -1
- data/lib/active_job/plugins/resque/solo/inspector.rb +1 -0
- data/lib/active_job_resque_solo/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: 8e576b269397dbeb89060ff9c61e5a69caa8ce1a
|
4
|
+
data.tar.gz: 062cc5191489c3ea3b9f72973ef2c6f2c6390e48
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 528d986523b13a9beeafdc2cf183c424ffce635be44f0711c6baa0cbbc3d93b496bdf92b037254e427ebe76f8160e2baed7996aaff7c24bcb2291be0227d0851
|
7
|
+
data.tar.gz: 77326de1b615f8b5db5532e93fcf37de4bf18bf15e5d2c03faf86fe8a76362e5ebfd1af7933dba1b2b005c771fa5885fb06bb7d36d387117629c4f85116cb592
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,10 @@
|
|
1
|
+
# 0.3.6
|
2
|
+
|
3
|
+
* Fix bug that would allow duplicate enqueues of jobs that had no arguments.
|
4
|
+
|
1
5
|
# 0.3.5
|
2
6
|
|
3
|
-
Adds `solo_any_args` directive that will only allow one instance of a job class in the queue regardless of any arguments.
|
7
|
+
* Adds `solo_any_args` directive that will only allow one instance of a job class in the queue regardless of any arguments.
|
4
8
|
|
5
9
|
# 0.3.4
|
6
10
|
|
@@ -80,6 +80,7 @@ module ActiveJob
|
|
80
80
|
def job_with_args_eq?(job_class, job_arguments, wrapper_args)
|
81
81
|
return false if wrapper_args['job_class'] != job_class
|
82
82
|
encoded_arguments = wrapper_args['arguments']
|
83
|
+
encoded_arguments = [] if encoded_arguments.nil?
|
83
84
|
encoded_arguments = job_args(encoded_arguments)
|
84
85
|
encoded_arguments == job_arguments
|
85
86
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_job_resque_solo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Phillip Kinkade
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-10-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|