evt-messaging 2.5.1.0 → 2.5.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/messaging/handle.rb +7 -5
- 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: 7bc5ad08d7cd5f55d19c1b407f80cd3448a6d877a22afd0f81b0261c25f2396c
|
4
|
+
data.tar.gz: ba24610fc9a6e02666f4d5094ffb4bb13ab9c084f7fccc34f237fb9dc520cb4d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6a60193d1bd2f2bc8acb856b80dc76bf3bfb46ddb1a4d6810565b8725a1af6791e5197aaf94b1c89bc747af60b835c441e9a232d89acd97fe387d6cdc1e09352
|
7
|
+
data.tar.gz: ada89ba5b187b8762be1c5b2da07040d40e8cb3f96d61d019020c0d8e2dc2755387de5040fb46f5ad45544a149fb3fdba99a7aabde039582b63f76ac11001c07
|
data/lib/messaging/handle.rb
CHANGED
@@ -7,7 +7,10 @@ module Messaging
|
|
7
7
|
include Dependency
|
8
8
|
include Virtual
|
9
9
|
|
10
|
-
|
10
|
+
def handler_logger
|
11
|
+
@handler_logger ||= Log.get(self)
|
12
|
+
end
|
13
|
+
attr_writer :handler_logger
|
11
14
|
|
12
15
|
extend Build
|
13
16
|
extend Call
|
@@ -25,7 +28,6 @@ module Messaging
|
|
25
28
|
def build(strict: nil, session: nil)
|
26
29
|
instance = new
|
27
30
|
instance.strict = strict
|
28
|
-
Log.configure(instance, attr_name: :handler_logger)
|
29
31
|
|
30
32
|
if Build.configure_session?(instance)
|
31
33
|
instance.configure(session: session)
|
@@ -48,12 +50,12 @@ module Messaging
|
|
48
50
|
return true if parameter_type == :key
|
49
51
|
|
50
52
|
error_message = "Optional session parameter of configure is not a keyword argument (Type: #{parameter_type.inspect})"
|
51
|
-
|
53
|
+
handler_logger.error(tag: :handle) { error_message }
|
52
54
|
raise ArgumentError, error_message
|
53
55
|
end
|
54
56
|
|
55
|
-
def self.
|
56
|
-
@
|
57
|
+
def self.handler_logger
|
58
|
+
@handler_logger ||= Log.get(self)
|
57
59
|
end
|
58
60
|
end
|
59
61
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: evt-messaging
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.5.1.
|
4
|
+
version: 2.5.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- The Eventide Project
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-07-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: evt-message_store
|