evt-consumer 2.3.1.3 → 2.3.1.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e4020fbe8e266cf3f1d73aca2b434808eca913b81a4fba0b6f3d589107272521
4
- data.tar.gz: c6b343c8f96151a7d81e5adf4fb10e2fef8ef85b3b58906cfde8f36558740ae4
3
+ metadata.gz: e29553138798ba95289cf828a829e0e896a32eee0cce2f8472aefaf42a31c9ce
4
+ data.tar.gz: 0c4224924aa28a4ac399261f0798fcea52a8d89208d2c22b3cca6ee4ae44554b
5
5
  SHA512:
6
- metadata.gz: 8c53bc549066aef8ac4302622e8d7de78fd48e08817b88e55dcf30bc6e05f009a99a1a41cd2af4a0a845dc240acf851d5f28df56d6f0b840a8f2c3fb8fce0de6
7
- data.tar.gz: 25de424a409939c05dc8805a6cb197e07c00fa24db2f3bf2eef41bb68b5df8b2ab7c052ec62478ea1f9a21552b9d1a0877e88c1535c4aa3360b335543da541ce
6
+ metadata.gz: bb8806c27379b594d45685ecb0e7a8247f0be73f1d6b37efd746bcbb06907d6de35f559239a5508f074e5295bd9785673fc0b1384283cfc156d6243c40f668ca
7
+ data.tar.gz: 8b7014058b97994de853451068a54544f0228667c8637d48ce7618d9ab172ce0b3518b12f336a0ce9a127be179926312db506389a7509a4eed53a9f1ec794d0d
@@ -5,7 +5,7 @@ module Consumer
5
5
  cls.class_exec do
6
6
  include Dependency
7
7
  include Initializer
8
- include Virtual
8
+ include TemplateMethod
9
9
  include Log::Dependency
10
10
 
11
11
  extend Build
@@ -43,7 +43,7 @@ module Consumer
43
43
  dependency :position_store, PositionStore
44
44
  dependency :subscription, Subscription
45
45
 
46
- virtual :error_raised do |error, message_data|
46
+ template_method :error_raised do |error, message_data|
47
47
  raise error
48
48
  end
49
49
 
@@ -3,7 +3,8 @@ module Consumer
3
3
  def self.included(cls)
4
4
  cls.class_exec do
5
5
  include Dependency
6
- include Virtual
6
+ include TemplateMethod
7
+
7
8
  include Log::Dependency
8
9
 
9
10
  extend Build
@@ -15,16 +16,17 @@ module Consumer
15
16
 
16
17
  dependency :telemetry, ::Telemetry
17
18
 
18
- virtual :location
19
+ template_method :configure
20
+ template_method :location
19
21
  end
20
22
  end
21
23
 
22
- Virtual::VirtualMethod.define(self, :configure)
23
-
24
24
  module Build
25
25
  def self.extended(cls)
26
26
  cls.singleton_class.class_exec do
27
- Virtual::PureMethod.define(self, :build)
27
+ include TemplateMethod
28
+
29
+ template_method! :build
28
30
  end
29
31
  end
30
32
  end
@@ -55,7 +57,9 @@ module Consumer
55
57
 
56
58
  module Get
57
59
  def self.prepended(cls)
58
- Virtual::PureMethod.define(cls, :get)
60
+ cls.class_exec do
61
+ template_method! :get
62
+ end
59
63
  end
60
64
 
61
65
  def get
@@ -73,7 +77,9 @@ module Consumer
73
77
 
74
78
  module Put
75
79
  def self.prepended(cls)
76
- Virtual::VirtualMethod.define(cls, :put)
80
+ cls.class_exec do
81
+ template_method :put
82
+ end
77
83
  end
78
84
 
79
85
  def put(position)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: evt-consumer
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.1.3
4
+ version: 2.3.1.5
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: 2023-01-10 00:00:00.000000000 Z
11
+ date: 2024-04-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ntl-actor
@@ -156,7 +156,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
156
156
  - !ruby/object:Gem::Version
157
157
  version: '0'
158
158
  requirements: []
159
- rubygems_version: 3.3.3
159
+ rubygems_version: 3.4.10
160
160
  signing_key:
161
161
  specification_version: 4
162
162
  summary: Continuous subscription to a category and message dispatching to handlers