diff --git a/lib/activejob/dispatch_rider/version.rb b/lib/activejob/dispatch_rider/version.rb index a6fabd9..bbba6e4 100644 --- a/lib/activejob/dispatch_rider/version.rb +++ b/lib/activejob/dispatch_rider/version.rb @@ -1,5 +1,5 @@ module ActiveJob module DispatchRider - VERSION = "2.4.0" + VERSION = "2.4.1" end end diff --git a/lib/activejob/queue_adapters/dispatch_rider_adapter.rb b/lib/activejob/queue_adapters/dispatch_rider_adapter.rb index c98e4e8..41674ac 100644 --- a/lib/activejob/queue_adapters/dispatch_rider_adapter.rb +++ b/lib/activejob/queue_adapters/dispatch_rider_adapter.rb @@ -12,7 +12,7 @@ def enqueue(job) def enqueue_at(job, scheduled_at) scheduled_job_details = job_details_for(job).merge(scheduled_at: Time.at(scheduled_at)) - ::DispatchRider::ScheduledJob.create! scheduled_job_details + ::DispatchRider::ScheduledJob.create! **scheduled_job_details end private