event_store_subscriptions 1.2.0.pre.beta → 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: d4c9670cef56ce7f40e1cd718b0c4c7bd5434c4ac9f08a2dfdaed67b3f4fe5e7
4
- data.tar.gz: bb5fba8a703d5638b6b13e239afb5e30e4b53a84ac2bdd61be196dc3472f0e66
3
+ metadata.gz: 747f22b34eb3c13214861ecea91f0cd5f45f084d69c32836bf0a11f5bb1a08be
4
+ data.tar.gz: 3359b50c2afc2c8f2259ecc92fa205a3b2050443674974d80ad571a38846f6f9
5
5
  SHA512:
6
- metadata.gz: a5438125c4d0e13b7533b14cab8d194994f5fbab0bcb5f076c611313e163938950a6f8b28981dcc01444699a119881e4b71e1951ef4e97d3931e40b4fa94a855
7
- data.tar.gz: d87f4a85798d5ba05e90bf0862fa6949683278a4b45da7bf0ec59f0c5f4ac6dc7c08a8c23a36cfcafdb57ec75f0bab4ce1d1942385237067e8f0e80b9f3d175b
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-beta"
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.pre.beta
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-20 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
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 2.3.0.pre.beta2
19
+ version: 2.3.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 2.3.0.pre.beta2
26
+ version: 2.3.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: pry
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -106,9 +106,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
106
106
  version: 2.7.0
107
107
  required_rubygems_version: !ruby/object:Gem::Requirement
108
108
  requirements:
109
- - - ">"
109
+ - - ">="
110
110
  - !ruby/object:Gem::Version
111
- version: 1.3.1
111
+ version: '0'
112
112
  requirements: []
113
113
  rubygems_version: 3.3.7
114
114
  signing_key: