ruby_event_store 2.10 → 2.11.1
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: 42bbf61dbcbf45fdbe2c3722b3bde03762f2f403a54181a80b12e1f5143e09f5
|
4
|
+
data.tar.gz: 0a25ade531598979dbb18bb858cdfe8bd462f389e9016f94b08b8ecf46f521f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5e9fd721927c9b369cb91fde201fe63533f370a94c4baff675bc68de4049d924fdf3d20bb1d16e24cf0bea57529b9f46316274a258464c274254cd35575b8656
|
7
|
+
data.tar.gz: e7e5f244c7811f652c933102c686bc24fed30197fad8193bfbc412976411c1027632f786b25b67efe9778e46c076312d15957dd2d855eae583bd91ae02625440
|
@@ -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.1
|
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-24 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.17
|
123
123
|
signing_key:
|
124
124
|
specification_version: 4
|
125
125
|
summary: Implementation of an event store in Ruby
|