activejob-dispatch_rider 2.4.0 → 2.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/build.yml +2 -0
- data/README.md +2 -0
- data/lib/activejob/dispatch_rider/version.rb +1 -1
- data/lib/activejob/queue_adapters/dispatch_rider_adapter.rb +2 -2
- data/spec/activejob/dispatch_rider/job_handler_spec.rb +2 -2
- data/spec/spec_helper.rb +1 -0
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7a8d8d805ebecff6e9e62487d1c4714fa75a0feefa4a2881a98c3930360f3c8d
|
4
|
+
data.tar.gz: 1875e9aff5786365eb0ff99290a0fbcd2401be5f977f810db499b0197436a4fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f47f2fc79768299742136536f217187218b0e09df04cb533d9541253690c22fa5c4e0bcc31bfed8028f445dae1cd786f34fde6ebbc02b20cbf8624ba9125f1c2
|
7
|
+
data.tar.gz: 3bd1c1dc716b15bd17470a2225ffeb42c0431e4b53ce7a6e139f532dd7f8724aec357dff4d7a8edbfb020b1ac6af64f8a46dd13fc8566b5465fd77cc02ea0b01
|
data/.github/workflows/build.yml
CHANGED
data/README.md
CHANGED
@@ -4,7 +4,7 @@ module ActiveJob
|
|
4
4
|
class DispatchRiderAdapter
|
5
5
|
# @param [ActiveJob::Base] job
|
6
6
|
def enqueue(job)
|
7
|
-
publisher.publish job_details_for(job)
|
7
|
+
publisher.publish **job_details_for(job)
|
8
8
|
end
|
9
9
|
|
10
10
|
# @param [ActiveJob::Base] job
|
@@ -12,7 +12,7 @@ module ActiveJob
|
|
12
12
|
def enqueue_at(job, scheduled_at)
|
13
13
|
scheduled_job_details = job_details_for(job).merge(scheduled_at: Time.at(scheduled_at))
|
14
14
|
|
15
|
-
::DispatchRider::ScheduledJob.create! scheduled_job_details
|
15
|
+
::DispatchRider::ScheduledJob.create! **scheduled_job_details
|
16
16
|
end
|
17
17
|
|
18
18
|
private
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activejob-dispatch_rider
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.4.
|
4
|
+
version: 2.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ronald Maravilla
|
8
8
|
- Fred Baa
|
9
9
|
- Mathieu Jobin
|
10
|
-
autorequire:
|
10
|
+
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2022-09
|
13
|
+
date: 2022-12-09 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activejob
|
@@ -130,7 +130,7 @@ homepage: https://github.com/payrollhero/activejob-dispatch_rider
|
|
130
130
|
licenses:
|
131
131
|
- BSD-3-Clause
|
132
132
|
metadata: {}
|
133
|
-
post_install_message:
|
133
|
+
post_install_message:
|
134
134
|
rdoc_options: []
|
135
135
|
require_paths:
|
136
136
|
- lib
|
@@ -145,8 +145,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
145
145
|
- !ruby/object:Gem::Version
|
146
146
|
version: '0'
|
147
147
|
requirements: []
|
148
|
-
rubygems_version: 3.
|
149
|
-
signing_key:
|
148
|
+
rubygems_version: 3.2.33
|
149
|
+
signing_key:
|
150
150
|
specification_version: 4
|
151
151
|
summary: "'ActiveJob::DispatchRider' adds `DispatchRider` support for `ActiveJob`."
|
152
152
|
test_files:
|