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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cf9c47da47df09523d2007d47a2bd92aa8463924f327261c0e5a1215efb16a81
4
- data.tar.gz: 3ce5caed62500286a552af1940b6892e45c2c60ac235acb11bea52ab0ccbd79e
3
+ metadata.gz: 017c30298e5d8a0a9fe23fa86e09c44323e1a22d52e3663969747a02e2436146
4
+ data.tar.gz: 29bd3ab2d3024ab66821a5234e7195e669fc1ae2425ca5eed29261ff7dedc366
5
5
  SHA512:
6
- metadata.gz: f3e8b9b68405943aec82c4d2ebc5d6de35419fd8715bee00fab9476e833ec2521e18f3f208c14f3d81dd4038faf255c66b21a1ed8f7f717dd9b0e5c0bc2cdd2d
7
- data.tar.gz: cde3e28a744e3eefde6367eb7f4425d2faacff56b7b65ccd237d0144079a5b8de1c4b554a7e763e091a38dacb1f0e2c554735add6fa602b135ecefa76f793a90
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
- Settings = ::Messaging::Controls::Handler::Settings
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.0
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: 2020-12-01 00:00:00.000000000 Z
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.1.2
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
@@ -1 +0,0 @@
1
- lib/consumer/Users/sbellware/projects/eventide/consumer-postgres/lib/consumer/postgres
@@ -1 +0,0 @@
1
- lib/consumer/Users/sbellware/projects/eventide/consumer-postgres/lib/consumer/postgres.rb