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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0c581cf604704258a049f5fea81eb73ce1e5debbd4ed79b0d852a940c62c6244
4
- data.tar.gz: d435bb47033c4f105e163f39f9dd6c3484d79df581c0c76f7bb2c6fd350157bf
3
+ metadata.gz: d18c9bde07214e548a517c53bd0e87f3c4d9dd768122689b8aa21de4259bb43e
4
+ data.tar.gz: 923c3521029cfe1175a11260e14961c1c51fe18694b3831966a7d9f71901f76b
5
5
  SHA512:
6
- metadata.gz: 845d555eebdade0879fd2c1d76e83e97df2f4e634827380f2a3aee825bba849371b2f32992c27c56645779347e69170da3b039d42dc2740d9df7152162378dff
7
- data.tar.gz: e0938392e513a54048537c57939e52eff12febb637ed2ec204fd786d3aa9cd00dcab94ddad69447b0b2227a625d1e7cbc5b314734f49198ddb0348559f76095c
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::Attribute::Error => e
30
+ rescue SetAttributes::Assign::Error => e
27
31
  raise Error, e.message, e.backtrace
28
32
  end
29
33
 
30
34
  if metadata
31
- SetAttributes.(receiver.metadata, source.metadata)
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.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-09 00:00:00.000000000 Z
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