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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e97364d118166a05b3bda769d8d63389e3e5da1035317f7f4620d1e4d7c1a5fb
4
- data.tar.gz: eac9bb8cc42cf8f26b13524dfbd84e1dcaf29e6712437a743add53d68034b2fc
3
+ metadata.gz: 85daf0871fa6854104f3a8d60ed70eb772097d715cf0c6bf2075757b92642ca9
4
+ data.tar.gz: 2708541aade94beb60a8acc430ab1482e8d47f007f1afbd8853d8cd9f2ed8354
5
5
  SHA512:
6
- metadata.gz: d10553a93c2fd65497e88def8a1c8b0205e7d01a89d7ae45caa422f5d95a5d0966bc0d7796e5ed9b967f7617793fc4f3a01a6619e30b91aa59d7e9fa5de555a6
7
- data.tar.gz: 1c82a1eba935ffacf3bd6d265c3734ed970931e84b1c730ad397bbbf3f93901d55f318ee3531a0033f88ac3214f310879e8cf77fb96038b58810fbb6d91ee703
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
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EventStoreClient
4
- VERSION = '1.0.3'
4
+ VERSION = '1.0.4'
5
5
  end
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.3
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-20 00:00:00.000000000 Z
11
+ date: 2021-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-configurable