event_store_subscriptions 2.0.0 → 2.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: 75032960fc3a03266a49977c0ed95b97d1839a3692d2c74523d8c15317696469
4
- data.tar.gz: e06b3307204c5ac332745e4703377b1ab262a6cd209c8eff63695fcfdc543988
3
+ metadata.gz: 7f0ea0e0a7d5583dffb1783e4c51d78e42e048ef64720f34ba338814f5a07978
4
+ data.tar.gz: 87e8be2b18a52d2d6bff4634320b6fd0223c57fb4967f7279e0ce4b43efef5b8
5
5
  SHA512:
6
- metadata.gz: b7531c9388bbe3da6d669775698e0c9885ca588827eeaea6089f947ce2654c309ce552eec3587466b7608a75e0b7f3b224bdfe56fc565ae95cdfd99f06afcf07
7
- data.tar.gz: c18cc6d826c77acb5e2c37de289d264a1bd9cc879d86d7f85870771ebb8887edfde0d19915e5641518c5625bf5d1abc30ba110ff6f285c395b3d2c20427195b9
6
+ metadata.gz: 1b76357f9782e7980498b2328d067afb2743e9f0ba6db73b196c2253c3d6792a7a461e05e488a02f0ccf711cb9864d27798100ab0d9a5e7c9ea9aa7ba69cc14d
7
+ data.tar.gz: d47c76a3a191f73c2d654eebd537ed7cc277a05acb4b285a99e0fcb4ae9ef2b27de6b70214bd4c17515b9bdf18e2d7e3272b69f50b176744a269687ae82a3d20
@@ -17,7 +17,7 @@ module EventStoreSubscriptions
17
17
  # `event_store_client` gem.
18
18
  # @return [Boolean] whether the position was updated
19
19
  def update(response)
20
- source = response.checkpoint || response.event&.event
20
+ source = response.event&.event
21
21
  return false unless source
22
22
 
23
23
  # Updating position values in memory first to prevent the situation when the update hook fails,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EventStoreSubscriptions
4
- VERSION = "2.0.0"
4
+ VERSION = "2.0.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: event_store_subscriptions
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ivan Dzyzenko
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-01-06 00:00:00.000000000 Z
11
+ date: 2023-02-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: event_store_client