Sha256: 0f317d1c19dbf13f7c4f7c39884eaffc89b239dcaaee87ed86ad1626510e881b
Contents?: true
Size: 609 Bytes
Versions: 15
Compression:
Stored size: 609 Bytes
Contents
# encoding: utf-8 # This file is distributed under New Relic's license terms. # See https://github.com/newrelic/newrelic-ruby-agent/blob/main/LICENSE for complete details. DependencyDetection.defer do @name = :authlogic depends_on do defined?(Authlogic) && defined?(Authlogic::Session) && defined?(Authlogic::Session::Base) end executes do ::NewRelic::Agent.logger.info 'Installing Authlogic instrumentation' end executes do Authlogic::Session::Base.class_eval do class << self add_method_tracer :find, 'Custom/Authlogic/find' end end end end
Version data entries
15 entries across 15 versions & 1 rubygems