ruby_event_store 2.10 → 2.11.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a13012b6cc672274f7818f51f777a864dd52e301023bdb2892a83adda5805550
|
4
|
+
data.tar.gz: 6f00d31f07180e67e20abe178d30f9f38606e813bc8ccf69c5f327687d6fb067
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a42330d20f5a09086428f5f83ea14383020ae027fa9ebaf36688e98e86a93f28808a214d384dbd3ee99d433027be42ac2556be9b7341b745f6b1e3b3ee4e7f9c
|
7
|
+
data.tar.gz: 421b823b296a89afc6f224ea340187520d48b762c412f9583172a0c89bc28822a9476bb418bc7f0fd5cc7ddada03360546c6293c8e53146e31d7debc97e193a7
|
@@ -91,8 +91,8 @@ module RubyEventStore
|
|
91
91
|
end
|
92
92
|
data_types = types&.fetch(:data, nil)
|
93
93
|
metadata_types = types&.fetch(:metadata, nil)
|
94
|
-
data =
|
95
|
-
metadata =
|
94
|
+
data = restore_type(record.data, data_types)
|
95
|
+
metadata = restore_type(record.metadata, metadata_types)
|
96
96
|
|
97
97
|
Record.new(
|
98
98
|
event_id: record.event_id,
|
@@ -151,7 +151,7 @@ module RubyEventStore
|
|
151
151
|
end
|
152
152
|
|
153
153
|
def restore_type(argument, type)
|
154
|
-
case
|
154
|
+
case type
|
155
155
|
when Hash
|
156
156
|
restore_types(argument, type)
|
157
157
|
when Array
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby_event_store
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Arkency
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-07-
|
11
|
+
date: 2023-07-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: concurrent-ruby
|
@@ -119,7 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
119
119
|
- !ruby/object:Gem::Version
|
120
120
|
version: '0'
|
121
121
|
requirements: []
|
122
|
-
rubygems_version: 3.4.
|
122
|
+
rubygems_version: 3.4.10
|
123
123
|
signing_key:
|
124
124
|
specification_version: 4
|
125
125
|
summary: Implementation of an event store in Ruby
|