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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 92af7f53b766ccd43184f9f8d2cd5dddd12afd0edf8fb93676e2da7a5a8359df
4
- data.tar.gz: 4bb5d37f5733a1307cc78b177194568314d4566a08b5d56522986f83c8576e12
3
+ metadata.gz: a606f05c79a070539c6f2e48b79758fabe6ac7b945571b4c8e272c93cfc1f84f
4
+ data.tar.gz: 7a743631f2b5e40ad9c0a96012cdec7ddcd4e8c1ecd0302ead8f6287f4c7b2c2
5
5
  SHA512:
6
- metadata.gz: 9381f94682ce6e215a1cf0bd0b6d1f3742582c4510f00c3f16e2f74d6530c6b4d7215b5fa815c8c2fdd8befbc7a219600f32ce370bc9af74eaf9fb50403d7e74
7
- data.tar.gz: 53e91a99fc55fc646681a5d0980415146b0d134b01d4d938532b96f7f54a7c0cc39fa5e715e802f4bc018bbe47c9623fb06be143fd7946bed0cc2007016cc555
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 Virtual
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
- virtual :configure
18
- abstract :call
17
+ template_method :configure
18
+ template_method! :call
19
19
 
20
20
  const_set :Substitute, Substitute
21
21
  end
@@ -2,7 +2,7 @@ module MessageStore
2
2
  module Get
3
3
  class Substitute
4
4
  include Initializer
5
- include Virtual
5
+ include TemplateMethod
6
6
 
7
7
  include Get
8
8
 
@@ -4,13 +4,13 @@ module MessageStore
4
4
  cls.class_exec do
5
5
  include Dependency
6
6
  include Initializer
7
- include Virtual
7
+ include TemplateMethod
8
8
  include Log::Dependency
9
9
 
10
- abstract :call
11
- abstract :stream_name
12
- abstract :batch_size
13
- abstract :last_position
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
@@ -3,7 +3,7 @@ module MessageStore
3
3
  class Iterator
4
4
  include Dependency
5
5
  include Initializer
6
- include Virtual
6
+ include TemplateMethod
7
7
  include Log::Dependency
8
8
 
9
9
  dependency :get, Get
@@ -4,7 +4,7 @@ module MessageStore
4
4
  cls.class_exec do
5
5
  include Dependency
6
6
  include Initializer
7
- include Virtual
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
- abstract :configure
18
+ template_method! :configure
19
19
  end
20
20
  end
21
21
 
@@ -3,7 +3,7 @@ module MessageStore
3
3
  def self.included(cls)
4
4
  cls.class_exec do
5
5
  include Dependency
6
- include Virtual
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
- abstract :configure
16
- abstract :write
15
+ template_method! :configure
16
+ template_method! :write
17
17
  end
18
18
  end
19
19
 
data/lib/message_store.rb CHANGED
@@ -6,7 +6,7 @@ require 'identifier/uuid'
6
6
  require 'schema'
7
7
  require 'initializer'
8
8
  require 'transform'
9
- require 'virtual'
9
+ require 'template_method'
10
10
  require 'async_invocation'
11
11
 
12
12
  require 'message_store/expected_version'
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.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: 2022-10-14 00:00:00.000000000 Z
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-virtual
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.3.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