Skip to content

Commit

Permalink
more ruby 3 fixes (#9)
Browse files Browse the repository at this point in the history
* more ruby 3 fixes

* bump version
  • Loading branch information
mathieujobin authored Dec 9, 2022
1 parent b40d473 commit 9d6cf93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/activejob/dispatch_rider/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module ActiveJob
module DispatchRider
VERSION = "2.4.0"
VERSION = "2.4.1"
end
end
2 changes: 1 addition & 1 deletion lib/activejob/queue_adapters/dispatch_rider_adapter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9d6cf93

Please sign in to comment.