lib/new_relic/agent/instrumentation/authlogic.rb in newrelic_rpm-8.9.0 vs lib/new_relic/agent/instrumentation/authlogic.rb in newrelic_rpm-8.10.0
- old
+ new
@@ -1,8 +1,9 @@
# 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.
+# frozen_string_literal: true
DependencyDetection.defer do
@name = :authlogic
depends_on do
@@ -10,10 +11,10 @@
defined?(Authlogic::Session) &&
defined?(Authlogic::Session::Base)
end
executes do
- ::NewRelic::Agent.logger.info 'Installing Authlogic instrumentation'
+ ::NewRelic::Agent.logger.info('Installing Authlogic instrumentation')
deprecation_msg = 'The instrumentation for Authlogic is deprecated. ' \
'It will be removed in version 9.0.0.' \
::NewRelic::Agent.logger.log_once(
:warn,