evt-consumer 2.3.1.0 → 2.3.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/consumer/controls/handle/settings.rb +20 -1
- metadata +3 -5
- data/lib/consumer/postgres +0 -1
- data/lib/consumer/postgres.rb +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 017c30298e5d8a0a9fe23fa86e09c44323e1a22d52e3663969747a02e2436146
|
4
|
+
data.tar.gz: 29bd3ab2d3024ab66821a5234e7195e669fc1ae2425ca5eed29261ff7dedc366
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 456d640e41bf8ed1a4d5fe81f81158eb49bb74d49447765d29c9e4d30f085506d36357724b6dd05d2b9a9241e5644d005e46993df344439f1b37a19efd81afb2
|
7
|
+
data.tar.gz: 35a6285dfe925119da75328deef4f4d58d8ce94e8a0bdfb0d250f1a3a21e4815dc0511e7b603f29cd6956a302785a9af6531b91d334a41b772471ad737a4c5fc
|
@@ -1,7 +1,26 @@
|
|
1
1
|
module Consumer
|
2
2
|
module Controls
|
3
3
|
module Handle
|
4
|
-
|
4
|
+
module Settings
|
5
|
+
Error = Class.new(RuntimeError)
|
6
|
+
|
7
|
+
class Example
|
8
|
+
include Messaging::Handle
|
9
|
+
|
10
|
+
include ::Settings::Setting
|
11
|
+
setting :some_setting
|
12
|
+
|
13
|
+
attr_accessor :some_other_setting
|
14
|
+
|
15
|
+
def configure(settings:)
|
16
|
+
settings.set(self)
|
17
|
+
end
|
18
|
+
|
19
|
+
def handle(message_data)
|
20
|
+
raise Settings::Error if some_setting.nil?
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
5
24
|
end
|
6
25
|
end
|
7
26
|
end
|
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.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:
|
11
|
+
date: 2021-07-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ntl-actor
|
@@ -133,8 +133,6 @@ files:
|
|
133
133
|
- lib/consumer/position_store.rb
|
134
134
|
- lib/consumer/position_store/substitute.rb
|
135
135
|
- lib/consumer/position_store/telemetry.rb
|
136
|
-
- lib/consumer/postgres
|
137
|
-
- lib/consumer/postgres.rb
|
138
136
|
- lib/consumer/subscription.rb
|
139
137
|
- lib/consumer/subscription/defaults.rb
|
140
138
|
- lib/consumer/subscription/get_batch.rb
|
@@ -158,7 +156,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
158
156
|
- !ruby/object:Gem::Version
|
159
157
|
version: '0'
|
160
158
|
requirements: []
|
161
|
-
rubygems_version: 3.
|
159
|
+
rubygems_version: 3.2.15
|
162
160
|
signing_key:
|
163
161
|
specification_version: 4
|
164
162
|
summary: Continuous subscription to a category and message dispatching to handlers
|
data/lib/consumer/postgres
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
lib/consumer/Users/sbellware/projects/eventide/consumer-postgres/lib/consumer/postgres
|
data/lib/consumer/postgres.rb
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
lib/consumer/Users/sbellware/projects/eventide/consumer-postgres/lib/consumer/postgres.rb
|