event_store_client 2.0.3 → 2.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/mapper/encrypted.rb +3 -0
- 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: 857f587d240bbcb824b885cb5fa2c0b077351fcb12dead2d074ba23036252460
|
4
|
+
data.tar.gz: fa56d9d29c29faf05ddc1b20d9de6f1aec46d9d80a330184131b5902238f3310
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c584fa5f7817f4631a6f73e91f7a2ee99b153e49b9b56980317f4a61f4d87ae197037b56e204f6f71729006f5c493404510136f131fa8efcca3c1b150cc18c5a
|
7
|
+
data.tar.gz: 3f995f97559e9b305eac4d0cf7ba0bbef9c6e85a399a2109385f9cab03669791e3a2915c5a3b7564b3956f2d216370dcd8150814a38001a5219994873a8d0c3a
|
@@ -32,6 +32,9 @@ module EventStoreClient
|
|
32
32
|
# which key should be used as an identifier.
|
33
33
|
# *Returns*: General +Event+ instance with encrypted data
|
34
34
|
def serialize(event)
|
35
|
+
# Links does not need to be encrypted
|
36
|
+
return Default.new(serializer: serializer).serialize(event) if event.type == '$>'
|
37
|
+
|
35
38
|
encryption_schema = (
|
36
39
|
event.class.respond_to?(:encryption_schema) &&
|
37
40
|
event.class.encryption_schema
|
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.
|
4
|
+
version: 2.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: 2022-10-
|
11
|
+
date: 2022-10-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dry-configurable
|