lib/contrast/framework/rails/patch/support.rb in contrast-agent-4.6.0 vs lib/contrast/framework/rails/patch/support.rb in contrast-agent-4.7.0
- old
+ new
@@ -42,14 +42,16 @@
# be removed once we no longer support 2.5.
Contrast::Agent::Patching::Policy::AfterLoadPatch.new(
'ActionController::Railties::Helper::ClassMethods',
'contrast/framework/rails/rewrite/action_controller_railties_helper_inherited',
method_to_instrument: :inherited,
- instrumenting_module: 'Contrast::Framework::Rails::Rewrite::ActionControllerRailtiesHelperInherited'),
+ instrumenting_module:
+ 'Contrast::Framework::Rails::Rewrite::ActionControllerRailtiesHelperInherited'),
Contrast::Agent::Patching::Policy::AfterLoadPatch.new(
'ActiveRecord::AttributeMethods::Read::ClassMethods',
'contrast/framework/rails/rewrite/active_record_attribute_methods_read',
- instrumenting_module: 'Contrast::Framework::Rails::Rewrite::ActiveRecordAttributeMethodsRead'),
+ instrumenting_module:
+ 'Contrast::Framework::Rails::Rewrite::ActiveRecordAttributeMethodsRead'),
Contrast::Agent::Patching::Policy::AfterLoadPatch.new(
'ActiveRecord::Scoping::Named::ClassMethods',
'contrast/framework/rails/rewrite/active_record_named',
instrumenting_module: 'Contrast::Framework::Rails::Rewrite::ActiveRecordNamed'),
Contrast::Agent::Patching::Policy::AfterLoadPatch.new(