ii_interactor 2.2.2 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 716a08bfc755ad7dc4c986f27a7e0eff6938e25cbf16102d1e37944399884e8c
4
- data.tar.gz: 6fc6334fa36f974ad0af568947fa981fe681a0853c1015d9d0cea2a8ff85302a
3
+ metadata.gz: c79c0121d27c8cad771bd23d536973d41104d55ee8a4b1abdaad5ebc1897e6ab
4
+ data.tar.gz: 4b08ff80da16cd5f09862ed00ba37dcbd367150324d2b139dba6f5a26b7acd08
5
5
  SHA512:
6
- metadata.gz: 4a72f464ded111b696804f042aa03366b11235e791cd1a9213064e6e4f1a0ba848b57cb2dbc84aeff1d472c46a4f177c23889027abcf3330e6576c97e90bb8c4
7
- data.tar.gz: 68847388871d4250d889ca9f43cc8c4bea637682497ad6a186e478e7996a2ed8fab72b97ebac53491750a9737d37bb7a0d53657da8c715c9fab9b0d66c0f395c
6
+ metadata.gz: 714ad9fef43f166649520ca0bf3b03a6b8ad64ddde463e01e81da4ff804da3697809574a21f1ddd834619990735a158a3d70e36d37e68ff4ddbb5c1a1690655f
7
+ data.tar.gz: 60026aa2fcec05c0ab74df69c853072c3aa90a8817b5bb926de2c87c02decfd76edc5865e90da78257b2aba82c4ffc65a51c30f25e706dc7af5030f3a9b692d7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 2.3.0
4
+
5
+ * Change name of instrumentation for rails 7.1.
6
+
3
7
  ## 2.2.2
4
8
 
5
9
  * Add `frozen_string_literal: true`.
@@ -5,12 +5,12 @@ module IIInteractor
5
5
  extend ActiveSupport::Concern
6
6
 
7
7
  def call_all
8
- ActiveSupport::Notifications.instrument 'calling.ii_interactor', interactor: self
8
+ ActiveSupport::Notifications.instrument 'start_call_all.ii_interactor', interactor: self
9
9
  super
10
10
  end
11
11
 
12
12
  def call_self
13
- ActiveSupport::Notifications.instrument 'call.ii_interactor', interactor: self do
13
+ ActiveSupport::Notifications.instrument 'process_call_self.ii_interactor', interactor: self do
14
14
  super
15
15
  end
16
16
  end
@@ -2,14 +2,14 @@
2
2
 
3
3
  module IIInteractor
4
4
  class LogSubscriber < ActiveSupport::LogSubscriber
5
- def calling(event)
5
+ def start_call_all(event)
6
6
  debug do
7
7
  interactor = event.payload[:interactor]
8
8
  " Calling #{interactor.class} with #{interactor.context}"
9
9
  end
10
10
  end
11
11
 
12
- def call(event)
12
+ def process_call_self(event)
13
13
  debug do
14
14
  interactor = event.payload[:interactor]
15
15
  " Called #{interactor.class} (#{additional_log(event)})"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module IIInteractor
4
- VERSION = '2.2.2'
4
+ VERSION = '2.3.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ii_interactor
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.2
4
+ version: 2.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yoshikazu Kaneta
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-06-23 00:00:00.000000000 Z
11
+ date: 2024-06-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport