evt-messaging 1.3.0.0 → 1.3.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/messaging/message/copy.rb +7 -2
- 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: d18c9bde07214e548a517c53bd0e87f3c4d9dd768122689b8aa21de4259bb43e
|
4
|
+
data.tar.gz: 923c3521029cfe1175a11260e14961c1c51fe18694b3831966a7d9f71901f76b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bcb976cab9d419a33d20636e977182db4a8ede22785ad497edb4919e3a4d55ade87ddd4256d023db228a22c9bae3b75015ecfd892d25471b6636d54e903f4d17
|
7
|
+
data.tar.gz: 6dd869574d15ef3c2edf740aa180246b541b9f9cb27acd1de415fc8fc3536d593d2d41e6d122a74db6c430a03b352c97894fc429c876794eebab20e3ccb81aa2
|
@@ -21,14 +21,19 @@ module Messaging
|
|
21
21
|
receiver = receiver.build
|
22
22
|
end
|
23
23
|
|
24
|
+
if include.nil?
|
25
|
+
include = source.class.attribute_names
|
26
|
+
end
|
27
|
+
|
24
28
|
begin
|
25
29
|
SetAttributes.(receiver, source, copy: copy, include: include, exclude: exclude, strict: strict)
|
26
|
-
rescue SetAttributes::
|
30
|
+
rescue SetAttributes::Assign::Error => e
|
27
31
|
raise Error, e.message, e.backtrace
|
28
32
|
end
|
29
33
|
|
30
34
|
if metadata
|
31
|
-
|
35
|
+
metadata_include = source.metadata.class.attribute_names
|
36
|
+
SetAttributes.(receiver.metadata, source.metadata, include: metadata_include)
|
32
37
|
end
|
33
38
|
|
34
39
|
receiver
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: evt-messaging
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.0.
|
4
|
+
version: 1.3.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- The Eventide Project
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-05-
|
11
|
+
date: 2019-05-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: evt-message_store
|