evt-message_store 2.4.0.0 → 2.4.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/message_store/get/stream/last.rb +3 -3
- data/lib/message_store/get/substitute.rb +1 -1
- data/lib/message_store/get.rb +5 -5
- data/lib/message_store/read/iterator.rb +1 -1
- data/lib/message_store/read.rb +2 -2
- data/lib/message_store/write.rb +3 -3
- data/lib/message_store.rb +1 -1
- 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: a606f05c79a070539c6f2e48b79758fabe6ac7b945571b4c8e272c93cfc1f84f
|
4
|
+
data.tar.gz: 7a743631f2b5e40ad9c0a96012cdec7ddcd4e8c1ecd0302ead8f6287f4c7b2c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e71b0a3522f083de4750bcad18a2729da9161835bc4cd233473b17c33b60d8639f2ec1b3745e21d000a94c697672199dd042bb799e66a348a6c7ee9ce391593
|
7
|
+
data.tar.gz: bf8b9369bb832347b94ec75d4efbc4fb715dac0bf78ae4b306c71be379588440046aef00c75c9a8a724a99f2242616d623b2ac6cafdbd57f8dec868f7f59b503
|
@@ -5,7 +5,7 @@ module MessageStore
|
|
5
5
|
def self.included(cls)
|
6
6
|
cls.class_exec do
|
7
7
|
include Dependency
|
8
|
-
include
|
8
|
+
include TemplateMethod
|
9
9
|
include Log::Dependency
|
10
10
|
|
11
11
|
extend Build
|
@@ -14,8 +14,8 @@ module MessageStore
|
|
14
14
|
|
15
15
|
prepend InstanceActuator
|
16
16
|
|
17
|
-
|
18
|
-
|
17
|
+
template_method :configure
|
18
|
+
template_method! :call
|
19
19
|
|
20
20
|
const_set :Substitute, Substitute
|
21
21
|
end
|
data/lib/message_store/get.rb
CHANGED
@@ -4,13 +4,13 @@ module MessageStore
|
|
4
4
|
cls.class_exec do
|
5
5
|
include Dependency
|
6
6
|
include Initializer
|
7
|
-
include
|
7
|
+
include TemplateMethod
|
8
8
|
include Log::Dependency
|
9
9
|
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
10
|
+
template_method! :call
|
11
|
+
template_method! :stream_name
|
12
|
+
template_method! :batch_size
|
13
|
+
template_method! :last_position
|
14
14
|
end
|
15
15
|
end
|
16
16
|
end
|
data/lib/message_store/read.rb
CHANGED
@@ -4,7 +4,7 @@ module MessageStore
|
|
4
4
|
cls.class_exec do
|
5
5
|
include Dependency
|
6
6
|
include Initializer
|
7
|
-
include
|
7
|
+
include TemplateMethod
|
8
8
|
include Log::Dependency
|
9
9
|
|
10
10
|
extend Build
|
@@ -15,7 +15,7 @@ module MessageStore
|
|
15
15
|
|
16
16
|
initializer :stream_name, :position, :batch_size
|
17
17
|
|
18
|
-
|
18
|
+
template_method! :configure
|
19
19
|
end
|
20
20
|
end
|
21
21
|
|
data/lib/message_store/write.rb
CHANGED
@@ -3,7 +3,7 @@ module MessageStore
|
|
3
3
|
def self.included(cls)
|
4
4
|
cls.class_exec do
|
5
5
|
include Dependency
|
6
|
-
include
|
6
|
+
include TemplateMethod
|
7
7
|
include Log::Dependency
|
8
8
|
|
9
9
|
extend Build
|
@@ -12,8 +12,8 @@ module MessageStore
|
|
12
12
|
|
13
13
|
dependency :identifier, Identifier::UUID::Random
|
14
14
|
|
15
|
-
|
16
|
-
|
15
|
+
template_method! :configure
|
16
|
+
template_method! :write
|
17
17
|
end
|
18
18
|
end
|
19
19
|
|
data/lib/message_store.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: evt-message_store
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.4.0.
|
4
|
+
version: 2.4.0.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: 2024-04-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: evt-casing
|
@@ -81,7 +81,7 @@ dependencies:
|
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name: evt-
|
84
|
+
name: evt-template_method
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - ">="
|
@@ -179,7 +179,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
179
179
|
- !ruby/object:Gem::Version
|
180
180
|
version: '0'
|
181
181
|
requirements: []
|
182
|
-
rubygems_version: 3.
|
182
|
+
rubygems_version: 3.4.10
|
183
183
|
signing_key:
|
184
184
|
specification_version: 4
|
185
185
|
summary: Common primitives for platform-specific message store implementations
|