event_store_subscriptions 1.2.0 → 1.2.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: eb6604d1aed49ac51cee4184b59ad9bce127cf7650583ef8abc2c903d042efa4
4
- data.tar.gz: 786c90b9c5d3009c4a10bd5ca6abbe22a2320b3ebdb63128172d5f85765e0551
3
+ metadata.gz: 747f22b34eb3c13214861ecea91f0cd5f45f084d69c32836bf0a11f5bb1a08be
4
+ data.tar.gz: 3359b50c2afc2c8f2259ecc92fa205a3b2050443674974d80ad571a38846f6f9
5
5
  SHA512:
6
- metadata.gz: 2241cf7821dd76e1ac6de328ca2e5447f8eaaa0a66dfa04903e34d49d40a689c96c5311da6802c3042574a203207c2f60733054da7eba034edf97b0f45506d6e
7
- data.tar.gz: c0d0d6d5fc46daa5c3518a3d163b6027d6b97318871337ff5cb2c49dd41ceaa02173e999537e102c0d2315d4609d870f71790387cc1de350d8d3aed3b69a132b
6
+ metadata.gz: fd709c13e351fa25cd262fb84f545bd54941133a3a66e4ab06f88f03f43fb3941b3da781a36f24393145e967bd80b3fa053f1513210db6567a02b216c6471e13
7
+ data.tar.gz: 1488e70c63f602a20fa96491a0bb03fa633c37281ad9290d873188c30c5580373fbb902ef3d9e99a7b712a4da88a175b215237e3e501bce98427dc3c6c0feb28
@@ -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 = "1.2.0"
4
+ VERSION = "1.2.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: 1.2.0
4
+ version: 1.2.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: 2022-12-23 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