evt-messaging 0.8.1.0 → 0.9.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/messaging/message.rb +3 -6
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8f57c5fb908bf7111fb9eca32c07d3addc0578e0
4
- data.tar.gz: d13aac1db40c0d182b0f9e6501e359e4ed96cd74
3
+ metadata.gz: 83a8a199b9d607303edd1d695656791719584c68
4
+ data.tar.gz: abac813b8e67d27e9c3881b52bf512a48e4d1e75
5
5
  SHA512:
6
- metadata.gz: 881b8c6fa5b406aaba880954f68c50e211db7fb9b4582c26786ab3414e37f4b70d023968bd82d40a0c4291db9d54dfa774833bcaa1255bb395c98c740611957a
7
- data.tar.gz: de21833904f0a6d15e9e4043ec3f38cb7b7f2444de12817a44b2fa42b5ef59c41d9823b3e0c00ec33007ef1041fafec24991537c4c50e2847c7bbee4a1758a3b
6
+ metadata.gz: 4a8567867e420f256d3fb323f22838cc6e79854b02cdcb226cf078813dc9523c4e83a5663790ef63a8b69dcab54679408dbd892c9845f35aea3f781fcfa4f839
7
+ data.tar.gz: c374f7b7dadff1ace16f1869bef02784d3f5e14c988a3efa76a79075e796d0d172bd6585810c33727e0527ae312ea81f005499f0457eea89b099fec336544c1e
@@ -11,20 +11,17 @@ module Messaging
11
11
  extend Transformer
12
12
 
13
13
  attribute :id, String
14
+ attribute :metadata, Metadata, default: Metadata.new
14
15
 
15
16
  def self.transient_attributes
16
17
  [
17
- :id
18
+ :id,
19
+ :metadata
18
20
  ]
19
21
  end
20
22
  end
21
23
  end
22
24
 
23
- attr_writer :metadata
24
- def metadata
25
- @metadata ||= Metadata.new
26
- end
27
-
28
25
  def message_type
29
26
  self.class.message_type
30
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: evt-messaging
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1.0
4
+ version: 0.9.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Eventide Project