evt-consumer 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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/consumer/consumer.rb +5 -1
  3. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ae46ce8e5167c05131b8bd20fb8ef6ee054026c9867399c7168623f668a9fc30
4
- data.tar.gz: 495529f4db23b5c09ee5c69e85bd3ab1694188de35a6898132bbd5e34e4a4832
3
+ metadata.gz: 72ac0409fbe6520798bfafa4f847254213362b9f178eb912ee0d17bb8504b88f
4
+ data.tar.gz: cca7324f9c39a4fc95a21448662b0e29edc2df8fa114071e8b911f7774175b61
5
5
  SHA512:
6
- metadata.gz: 3d5f60916d1394490d22319dcbefd47114da1970c99e9fb26867e882cc6902614f7265260e2a00f775b1586515adbd7c17b3b92ac5ffc26b82c1306c342cee1d
7
- data.tar.gz: 54604f948a3693a96743dfa26ff33210b4c9df62dbfc145c6c3773472936d92f95a6a96e865ee4be5b90adec4eb724c98cb8556c86cbe831d1bd9e04f7b942f6
6
+ metadata.gz: f477ca45df92947bff74be99d51c45bb5d5ac8a0d1889f777b96638a98e40a5da5b2e30c3b759086dbf07110ba1ac566bf2e7c13f7a436903b2a4499012c645f
7
+ data.tar.gz: 4a1db0ee7c47fe4b0f9844a43a9041308467ac9601f01512b9f86620e2f1fa683b84799b9b1191365e6d5c1d58dfefcf1bdbdbd821062387698682ba80b4cc78
@@ -23,8 +23,12 @@ module Consumer
23
23
  @identifier ||= self.class.identifier
24
24
  end
25
25
 
26
+ ## Remove need for irregular memoization - Nathan, Mon Sep 9 2024
26
27
  def starting_position
27
- @starting_position ||= position_store.get
28
+ if not instance_variable_defined?(:@starting_position)
29
+ @starting_position = position_store.get
30
+ end
31
+ @starting_position
28
32
  end
29
33
  attr_writer :starting_position
30
34
 
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
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: 2024-04-25 00:00:00.000000000 Z
11
+ date: 2024-09-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ntl-actor
@@ -153,7 +153,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
153
153
  - !ruby/object:Gem::Version
154
154
  version: '0'
155
155
  requirements: []
156
- rubygems_version: 3.4.10
156
+ rubygems_version: 3.5.14
157
157
  signing_key:
158
158
  specification_version: 4
159
159
  summary: Continuous subscription to a category and message dispatching to handlers