evt-consumer 2.4.0.0.dev.2 → 2.4.0.0

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: d468bff4a83005d5cb96f51a59e5bb6d908276aa38481497ac702cca852cce9f
4
- data.tar.gz: 19cd8fa5dbfadc97f8772cb85d7ddfaafa6c14f119b51c459d42bc4eaf43a1e7
3
+ metadata.gz: ae46ce8e5167c05131b8bd20fb8ef6ee054026c9867399c7168623f668a9fc30
4
+ data.tar.gz: 495529f4db23b5c09ee5c69e85bd3ab1694188de35a6898132bbd5e34e4a4832
5
5
  SHA512:
6
- metadata.gz: 3a6fe544e02d0e1f7a37c70ac73b7e75352e92a754d06907d0c86b19e33049066e2c81c2e31d47fd56a7b766079a3fa13abe32a1c148eca0303e058f84b59853
7
- data.tar.gz: 9daef698021afa7ae96a2d598fd20570633e0d0334e1c28a0ab166c733281ec1ee21fbcc247b475de38b938c0e65ee8c314701c4777f68b51561e8f6f33fb414
6
+ metadata.gz: 3d5f60916d1394490d22319dcbefd47114da1970c99e9fb26867e882cc6902614f7265260e2a00f775b1586515adbd7c17b3b92ac5ffc26b82c1306c342cee1d
7
+ data.tar.gz: 54604f948a3693a96743dfa26ff33210b4c9df62dbfc145c6c3773472936d92f95a6a96e865ee4be5b90adec4eb724c98cb8556c86cbe831d1bd9e04f7b942f6
@@ -5,7 +5,7 @@ module Consumer
5
5
  cls.class_exec do
6
6
  include Dependency
7
7
  include Initializer
8
- include Virtual
8
+ include TemplateMethod
9
9
  include Log::Dependency
10
10
 
11
11
  extend Build
@@ -48,7 +48,7 @@ module Consumer
48
48
  dependency :position_store, PositionStore
49
49
  dependency :subscription, Subscription
50
50
 
51
- virtual :error_raised do |error, message_data|
51
+ template_method :error_raised do |error, message_data|
52
52
  raise error
53
53
  end
54
54
 
@@ -3,7 +3,8 @@ module Consumer
3
3
  def self.included(cls)
4
4
  cls.class_exec do
5
5
  include Dependency
6
- include Virtual
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
- virtual :location
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
- Virtual::PureMethod.define(self, :build)
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
- Virtual::PureMethod.define(cls, :get)
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
- Virtual::VirtualMethod.define(cls, :put)
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.4.0.0.dev.2
4
+ version: 2.4.0.0
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: 2024-04-16 00:00:00.000000000 Z
11
+ date: 2024-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ntl-actor
@@ -149,9 +149,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
149
149
  version: 2.4.0
150
150
  required_rubygems_version: !ruby/object:Gem::Requirement
151
151
  requirements:
152
- - - ">"
152
+ - - ">="
153
153
  - !ruby/object:Gem::Version
154
- version: 1.3.1
154
+ version: '0'
155
155
  requirements: []
156
156
  rubygems_version: 3.4.10
157
157
  signing_key: