Commit 8c42f61723981c93127e6d29c8cfd5f183eadb5b
1 parent
40698f3d
Exists in
master
and in
19 other branches
Prepend no longer private [skip ci]
Showing
1 changed file
with
5 additions
and
4 deletions
Show diff stats
lib/searchkick/logging.rb
... | ... | @@ -232,10 +232,11 @@ module Searchkick |
232 | 232 | end |
233 | 233 | end |
234 | 234 | end |
235 | -Searchkick::Query.send(:prepend, Searchkick::QueryWithInstrumentation) | |
236 | -Searchkick::Index.send(:prepend, Searchkick::IndexWithInstrumentation) | |
237 | -Searchkick::Indexer.send(:prepend, Searchkick::IndexerWithInstrumentation) | |
238 | -Searchkick.singleton_class.send(:prepend, Searchkick::SearchkickWithInstrumentation) | |
235 | + | |
236 | +Searchkick::Query.prepend(Searchkick::QueryWithInstrumentation) | |
237 | +Searchkick::Index.prepend(Searchkick::IndexWithInstrumentation) | |
238 | +Searchkick::Indexer.prepend(Searchkick::IndexerWithInstrumentation) | |
239 | +Searchkick.singleton_class.prepend(Searchkick::SearchkickWithInstrumentation) | |
239 | 240 | Searchkick::LogSubscriber.attach_to :searchkick |
240 | 241 | ActiveSupport.on_load(:action_controller) do |
241 | 242 | include Searchkick::ControllerRuntime | ... | ... |