Sha256: a4f2a2f662d2fe4995644a32e2f596709b02507a0a21dda669efb9aed6d60000
Contents?: true
Size: 549 Bytes
Versions: 11
Compression:
Stored size: 549 Bytes
Contents
if defined?(::Sunspot) ::Sunspot.module_eval do class << self %w(index index!).each do |method| add_method_tracer method, 'SolrClient/Sunspot/index' end add_method_tracer :commit, 'SolrClient/Sunspot/commit' %w[search more_like_this].each do |method| add_method_tracer method, 'SolrClient/Sunspot/query' end %w[remove remove! remove_by_id remove_by_id! remove_all remove_all!].each do |method| add_method_tracer method, 'SolrClient/Sunspot/delete' end end end end
Version data entries
11 entries across 11 versions & 2 rubygems