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 +4 -4
- data/lib/consumer/consumer.rb +2 -2
- data/lib/consumer/position_store.rb +13 -7
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e29553138798ba95289cf828a829e0e896a32eee0cce2f8472aefaf42a31c9ce
|
4
|
+
data.tar.gz: 0c4224924aa28a4ac399261f0798fcea52a8d89208d2c22b3cca6ee4ae44554b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb8806c27379b594d45685ecb0e7a8247f0be73f1d6b37efd746bcbb06907d6de35f559239a5508f074e5295bd9785673fc0b1384283cfc156d6243c40f668ca
|
7
|
+
data.tar.gz: 8b7014058b97994de853451068a54544f0228667c8637d48ce7618d9ab172ce0b3518b12f336a0ce9a127be179926312db506389a7509a4eed53a9f1ec794d0d
|
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
|
@@ -43,7 +43,7 @@ module Consumer
|
|
43
43
|
dependency :position_store, PositionStore
|
44
44
|
dependency :subscription, Subscription
|
45
45
|
|
46
|
-
|
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
|
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.3.1.
|
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:
|
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.
|
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
|