ii_interactor 2.2.2 → 2.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/ii_interactor/instrumentation.rb +2 -2
- data/lib/ii_interactor/log_subscriber.rb +2 -2
- data/lib/ii_interactor/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c79c0121d27c8cad771bd23d536973d41104d55ee8a4b1abdaad5ebc1897e6ab
|
4
|
+
data.tar.gz: 4b08ff80da16cd5f09862ed00ba37dcbd367150324d2b139dba6f5a26b7acd08
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 714ad9fef43f166649520ca0bf3b03a6b8ad64ddde463e01e81da4ff804da3697809574a21f1ddd834619990735a158a3d70e36d37e68ff4ddbb5c1a1690655f
|
7
|
+
data.tar.gz: 60026aa2fcec05c0ab74df69c853072c3aa90a8817b5bb926de2c87c02decfd76edc5865e90da78257b2aba82c4ffc65a51c30f25e706dc7af5030f3a9b692d7
|
data/CHANGELOG.md
CHANGED
@@ -5,12 +5,12 @@ module IIInteractor
|
|
5
5
|
extend ActiveSupport::Concern
|
6
6
|
|
7
7
|
def call_all
|
8
|
-
ActiveSupport::Notifications.instrument '
|
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 '
|
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
|
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
|
12
|
+
def process_call_self(event)
|
13
13
|
debug do
|
14
14
|
interactor = event.payload[:interactor]
|
15
15
|
" Called #{interactor.class} (#{additional_log(event)})"
|
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.
|
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-
|
11
|
+
date: 2024-06-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|