Commit 7213725bbd114456dedd7a150b43021a979fc3df
1 parent
930289d5
Exists in
master
and in
8 other branches
Fixed another deprecation warning in Ruby 2.7
Showing
2 changed files
with
5 additions
and
1 deletions
Show diff stats
CHANGELOG.md
lib/searchkick/bulk_indexer.rb
... | ... | @@ -141,7 +141,7 @@ module Searchkick |
141 | 141 | |
142 | 142 | def bulk_reindex_job(scope, batch_id, options) |
143 | 143 | Searchkick.with_redis { |r| r.sadd(batches_key, batch_id) } |
144 | - Searchkick::BulkReindexJob.perform_later({ | |
144 | + Searchkick::BulkReindexJob.perform_later(**{ | |
145 | 145 | class_name: scope.searchkick_options[:class_name], |
146 | 146 | index_name: index.name, |
147 | 147 | batch_id: batch_id | ... | ... |