evt-consumer 2.4.0.0.dev.2 → 2.4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/consumer/consumer.rb +2 -2
- data/lib/consumer/position_store.rb +13 -7
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae46ce8e5167c05131b8bd20fb8ef6ee054026c9867399c7168623f668a9fc30
|
4
|
+
data.tar.gz: 495529f4db23b5c09ee5c69e85bd3ab1694188de35a6898132bbd5e34e4a4832
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d5f60916d1394490d22319dcbefd47114da1970c99e9fb26867e882cc6902614f7265260e2a00f775b1586515adbd7c17b3b92ac5ffc26b82c1306c342cee1d
|
7
|
+
data.tar.gz: 54604f948a3693a96743dfa26ff33210b4c9df62dbfc145c6c3773472936d92f95a6a96e865ee4be5b90adec4eb724c98cb8556c86cbe831d1bd9e04f7b942f6
|
data/lib/consumer/consumer.rb
CHANGED
@@ -5,7 +5,7 @@ module Consumer
|
|
5
5
|
cls.class_exec do
|
6
6
|
include Dependency
|
7
7
|
include Initializer
|
8
|
-
include
|
8
|
+
include TemplateMethod
|
9
9
|
include Log::Dependency
|
10
10
|
|
11
11
|
extend Build
|
@@ -48,7 +48,7 @@ module Consumer
|
|
48
48
|
dependency :position_store, PositionStore
|
49
49
|
dependency :subscription, Subscription
|
50
50
|
|
51
|
-
|
51
|
+
template_method :error_raised do |error, message_data|
|
52
52
|
raise error
|
53
53
|
end
|
54
54
|
|
@@ -3,7 +3,8 @@ module Consumer
|
|
3
3
|
def self.included(cls)
|
4
4
|
cls.class_exec do
|
5
5
|
include Dependency
|
6
|
-
include
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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.4.0.0
|
4
|
+
version: 2.4.0.0
|
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: 2024-04-
|
11
|
+
date: 2024-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ntl-actor
|
@@ -149,9 +149,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
149
149
|
version: 2.4.0
|
150
150
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
151
151
|
requirements:
|
152
|
-
- - "
|
152
|
+
- - ">="
|
153
153
|
- !ruby/object:Gem::Version
|
154
|
-
version:
|
154
|
+
version: '0'
|
155
155
|
requirements: []
|
156
156
|
rubygems_version: 3.4.10
|
157
157
|
signing_key:
|