event_store_client 2.0.2 → 2.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3fef0e593742a28c3a6bec9d27294dc875ce54d33e2939bb95c81e6ff6d2d3e1
4
- data.tar.gz: 276e2c01542be517300c1d3a47cd11d99988430a8fbf9533197433a8ea6a4fa1
3
+ metadata.gz: 1e15535ef466d6cd12c499c9bc20877f9496689cc872e4fa668ba18dd3797093
4
+ data.tar.gz: 820a5b5e437f2c4b5493f80ba1382388fea97864f1f135ba403c80a8da69666d
5
5
  SHA512:
6
- metadata.gz: b24353eafe946a92cd14b3b4efb74e22f384b082dc83c8e3852ee596c345f08dab5fb3e5dfb13ed07e961c834d6c0a0b1d7a242fdd295aebd460619cbe7594a5
7
- data.tar.gz: 1fd463c026aa3a8d81edf95fcb43488637cdcd22b75226d16e3abfca0da52c7ddc5c4e3566692afd8ac86c62c7705190568b188a22f51e7945e4c4d8bd2c9029
6
+ metadata.gz: c0618d7e6c28b8457c98aaaf3016c1e4e6fd9d46ad6bfe54d0191f8a25dfc0d096a9d9e917dee8dcfda60aa8ca522fb00d714a4c7921e45b8385185c07d2b412
7
+ data.tar.gz: 2a0e15686834a505580994c2b382ef52ca19cf3b087828cfd84ee1682083305ec7765d93ce714ccb279b1569da202431212641fe2ff2c94a3501947ca82a363f
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2022 Yousty AG
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -8,7 +8,7 @@ Configuration options:
8
8
 
9
9
  | name | value | default value | description |
10
10
  |----------------------|--------------------------------------------------------------------------------------|-----------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
11
- | event_store_url | String | `'esdb://localhost:2113'` | Connection string. See description of possible values below. |
11
+ | eventstore_url | String | `'esdb://localhost:2113'` | Connection string. See description of possible values below. |
12
12
  | per_page | Integer | `20` | Number of events to return in one response. |
13
13
  | mapper | `EventStoreClient::Mapper::Default.new` or `EventStoreClient::Mapper::Encrypted.new` | `EventStoreClient::Mapper::Default.new` | An object that is responsible for serialization / deserialization and encryption / decryption of events. |
14
14
  | default_event_class | `DeserializedEvent` or any class, inherited from it | `DeserializedEvent` | This class will be used during the deserialization process when deserializer fails to resolve an event's class from response. |
@@ -39,6 +39,8 @@ module EventStoreClient
39
39
  end
40
40
 
41
41
  def deep_dup(hash)
42
+ return hash unless hash.instance_of?(Hash)
43
+
42
44
  dupl = hash.dup
43
45
  dupl.each { |k, v| dupl[k] = v.instance_of?(Hash) ? deep_dup(v) : v }
44
46
  dupl
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EventStoreClient
4
- VERSION = '2.0.2'
4
+ VERSION = '2.0.3'
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: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastian Wilgosz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-26 00:00:00.000000000 Z
11
+ date: 2022-10-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-configurable
@@ -185,6 +185,7 @@ executables: []
185
185
  extensions: []
186
186
  extra_rdoc_files: []
187
187
  files:
188
+ - LICENSE.txt
188
189
  - README.md
189
190
  - Rakefile
190
191
  - docs/appending_events.md