active_job_resque_solo 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e182a8ac4940622dfb8c91f73a51665739f53264da18b7d6fcf0b1f08f6b2994
4
- data.tar.gz: 5b7c052c351fa8a1af66db887a3ff61b3308ce509102071cce94feccef252f1f
3
+ metadata.gz: 126eccd94fe2707054d3f71df759356195a2a35384d1e23f4e41e372e9018689
4
+ data.tar.gz: 9057a3920c53718249521315d5fa14768c449a4ee3fe2515528330f94ff7badb
5
5
  SHA512:
6
- metadata.gz: e3fc4f66c57dd14a7b34a893036ad301abf5270ae568446a860efcf12fa149fb8a0106796509f5aec4d9d39b2cb2a0f3482d4e04369b68a6c508426706de1d03
7
- data.tar.gz: e43c746d1470dc9a253121288db7b108af9f9b92ef59eca25e99c99f67548208e3bd49d9a6dec7ba7eb166fe62599d180204bd3698a3bfe3192adaa867ee53fc
6
+ metadata.gz: 202daaa606d4210ffbec4cfd40f8205a31f2bfc3eb9117da4aad29cb78f7edb7f9a22a39fd2b272c2ea9f8ddcd58df7afbad63751fcbb0b2618b7ad9fe070d8b
7
+ data.tar.gz: af1ae2f42cfb0ea09ad8b501bada453c5e1d58216cc8cbf79aaa4cb9b12dfdcabea1b9ee4108a99367eceef3ce4a27ea87285e9d69cbf3faf24745c88b0fa0ff
data/.travis.yml CHANGED
@@ -1,10 +1,9 @@
1
1
  sudo: false
2
2
  language: ruby
3
3
  rvm:
4
- - 2.3.0
5
- - 2.4.0
6
4
  - 2.5.7
7
5
  - 2.6.0
8
6
  - 2.7.0
7
+ - 3.0.1
9
8
  - ruby-head
10
9
  before_install: gem install bundler -v "$(grep -A 1 "BUNDLED WITH" Gemfile.lock | tail -n 1)"
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ # 1.0.2
2
+ * If a worker is processing a job that does not have ActiveJob arguments, allow it to be enqueued rather than failing with an error. This happens if a job has been queued by Resque directly without ActiveJob.
3
+
1
4
  # 1.0.1
2
5
 
3
6
  * Allow Rails 6.
@@ -13,7 +16,7 @@
13
16
 
14
17
  # 0.3.8
15
18
 
16
- * Fix bug that caused ActiveJobResqueSolo to fail to realize that the Rails app was configued for Resque.
19
+ * Fix bug that caused ActiveJobResqueSolo to fail to realize that the Rails app was configured for Resque.
17
20
 
18
21
  # 0.3.7
19
22
 
@@ -66,6 +66,7 @@ module ActiveJob
66
66
  next false if processing.blank?
67
67
 
68
68
  args = processing["payload"]["args"][0]
69
+ next false if args.blank?
69
70
  next false if (@self_enqueueing.nil? || @self_enqueueing) && args['job_id'] == job.job_id
70
71
 
71
72
  job_with_args_eq?(job_class, job_arguments, args)
@@ -1,3 +1,3 @@
1
1
  module ActiveJobResqueSolo
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  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: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Phillip Kinkade
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-01-24 00:00:00.000000000 Z
11
+ date: 2021-06-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -125,7 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
125
125
  - !ruby/object:Gem::Version
126
126
  version: '0'
127
127
  requirements: []
128
- rubygems_version: 3.1.2
128
+ rubygems_version: 3.0.3
129
129
  signing_key:
130
130
  specification_version: 4
131
131
  summary: Prevents duplicate ActiveJob+Resque jobs from being enqueued.