event_store_client 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/event_store_client/client.rb +1 -1
- data/lib/event_store_client/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 85daf0871fa6854104f3a8d60ed70eb772097d715cf0c6bf2075757b92642ca9
|
4
|
+
data.tar.gz: 2708541aade94beb60a8acc430ab1482e8d47f007f1afbd8853d8cd9f2ed8354
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f86262fe6d9e7669199967e2002852a09bf4950b36c8628ec6244fe79589e5d8c82f2af33b8eb37a5c9946988536f2de0f1244c7f350ecb98060c7e85e5342d
|
7
|
+
data.tar.gz: 1788aa456ffd3aef91b37b27f40baa0c01d04857df425e3eabd56ca4e95163dc8640beac763b4ec9df4f988da8007ef37311b50e3d2d70e6706dccc9f4c1feba
|
@@ -10,7 +10,7 @@ module EventStoreClient
|
|
10
10
|
WrongExpectedEventVersion = Class.new(StandardError)
|
11
11
|
|
12
12
|
def publish(stream:, events:, options: {})
|
13
|
-
connection.append_to_stream(stream, events, options: options)
|
13
|
+
res = connection.append_to_stream(stream, events, options: options)
|
14
14
|
raise WrongExpectedEventVersion.new(e.message) if res.failure?
|
15
15
|
end
|
16
16
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: event_store_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sebastian Wilgosz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-02-
|
11
|
+
date: 2021-02-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-configurable
|