lib/ii_policy/instrumentation.rb in ii_policy-2.2.2 vs lib/ii_policy/instrumentation.rb in ii_policy-2.3.0

- old
+ new

@@ -3,15 +3,15 @@ module IIPolicy module Instrumentation extend ActiveSupport::Concern def call_all(action) - ActiveSupport::Notifications.instrument 'calling.ii_policy', policy: self, action: action + ActiveSupport::Notifications.instrument 'start_call_all.ii_policy', policy: self, action: action super end def call(action) - ActiveSupport::Notifications.instrument 'call.ii_policy', policy: self, action: action do + ActiveSupport::Notifications.instrument 'process_call.ii_policy', policy: self, action: action do super end end end end