event_store_subscriptions 1.1.1 → 1.1.2

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: b5cf6eee2212958bfee77867dc8774a22232d66906ca80727a1b0f524283e87d
4
- data.tar.gz: a5d51d370a8348010cd3b336214452736e7b69bc5db6193d5792612a5c4d4c6d
3
+ metadata.gz: 4fccb243f13092931fcd1f5c27856e70b40a8d0efc1977123ce6952472259e32
4
+ data.tar.gz: 59dc6ef6a476918183445219d2e0baa7a9a9f74b2722647f6fbe9907b7a41854
5
5
  SHA512:
6
- metadata.gz: f5f9ccefe43884282449d6198018e61315969e69c35f1acbe484510fac9cf4a57e36d5ef259cfb4bb2da0ebbaa0976f93a33051af7ef0ff8a8088cf43e3096ed
7
- data.tar.gz: 31fc30bc01ab4b11d1e035ac6d21c4d561036e5ba71f42252a38122404a0d5d07b2df3e5e5e4e71d73ce7ee4bfc3e23cfcf470d4a540bfd67163186d676b1c3b
6
+ metadata.gz: d74a26ef335704e025116eac5bfcff32ed5b3f550210005990f19182448b8c47659a86dc1bb96f40a2f36213aa8c2ecadfb845b41643256500e099c8658c419c
7
+ data.tar.gz: 8bcd92a58f4a46f863ecb4943eeeca3136a625efc726a2ce329d695c29f7b8101de2a54f938cd3302aea37070e50360b086e859d36f63e8d07e0600227c4fdd6
@@ -99,8 +99,10 @@ module EventStoreSubscriptions
99
99
  original_result,
100
100
  *process_response_args
101
101
  )
102
- original_handler.call(result) if result
103
- statistic.events_processed += 1
102
+ if result
103
+ original_handler.call(result)
104
+ statistic.events_processed += 1
105
+ end
104
106
  position.update(original_result)
105
107
  end
106
108
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EventStoreSubscriptions
4
- VERSION = "1.1.1"
4
+ VERSION = "1.1.2"
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.1.1
4
+ version: 1.1.2
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-10-28 00:00:00.000000000 Z
11
+ date: 2022-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: event_store_client