evt-consumer 2.3.1.4 → 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: 0a4368b70f94ccfb14c844c3055dad16b4ae00f2b4bcfb4ff20be3c3f0595704
4
- data.tar.gz: 7a44e54da8669cf0abbfdc8590e6f04250ef3de201634bf624aac2a7484d4d4d
3
+ metadata.gz: e29553138798ba95289cf828a829e0e896a32eee0cce2f8472aefaf42a31c9ce
4
+ data.tar.gz: 0c4224924aa28a4ac399261f0798fcea52a8d89208d2c22b3cca6ee4ae44554b
5
5
  SHA512:
6
- metadata.gz: bbb447a7482d348a24e061e66f1cec001dc6048c0ba9716ce14d684deab10b2e66c19368b8c05e0b606777da657aaabcfe90bb4c45715613adc05fdef02cf28d
7
- data.tar.gz: e0f575e4546237a0626fe2202b0e44669a8b82c73480d3924acf399c9aaaff2b640355772092b55d1d7befa18165718c6fe13f29e1dff1e921828b3a455908cb
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.4
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