evt-messaging 0.22.2.0 → 0.23.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/messaging.rb +2 -2
- data/lib/messaging/controls/message.rb +0 -21
- data/lib/messaging/message/command/sequence_accessor.rb +11 -0
- data/lib/messaging/message/event/sequence_accessor.rb +15 -0
- data/lib/messaging/message/global_position_accessor.rb +14 -0
- metadata +5 -3
- data/lib/messaging/message/sequenced.rb +0 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e481188f31963f0a01fa2679617682d861a0ac1a
|
4
|
+
data.tar.gz: 2e2d93b78b30e811a0d4f99597311eef6ead93b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d993d1746c10ec0bc24d40d0b1c598b140e5358ee4e56b895a42fb3d2437d9175e6797da74e4822eae3b3c06014a21c6386e0bff2167a754852eccd7ec01ecdc
|
7
|
+
data.tar.gz: 822484bdce6fbfa0722e387150717f5be68df47b7a137e6af16aeeb36b0dd502c6bae46525b91da86f055fc64c15f9d1727b787e7aabde8c1307365aaf01d44a
|
data/lib/messaging.rb
CHANGED
@@ -8,8 +8,8 @@ require 'messaging/message'
|
|
8
8
|
require 'messaging/message/metadata'
|
9
9
|
require 'messaging/message/copy'
|
10
10
|
require 'messaging/message/follow'
|
11
|
-
require 'messaging/message/sequence_accessor'
|
12
|
-
require 'messaging/message/
|
11
|
+
require 'messaging/message/event/sequence_accessor'
|
12
|
+
require 'messaging/message/command/sequence_accessor'
|
13
13
|
|
14
14
|
require 'messaging/message/transformer'
|
15
15
|
require 'messaging/message/import'
|
@@ -48,27 +48,6 @@ module Messaging
|
|
48
48
|
attribute :some_attribute
|
49
49
|
end
|
50
50
|
|
51
|
-
module Sequenced
|
52
|
-
def self.example
|
53
|
-
message = Example.new
|
54
|
-
|
55
|
-
message.id = Message.id
|
56
|
-
message.some_attribute = Message.attribute
|
57
|
-
message.other_attribute = Message.other_attribute
|
58
|
-
|
59
|
-
message.metadata = Controls::Metadata.example
|
60
|
-
|
61
|
-
message
|
62
|
-
end
|
63
|
-
|
64
|
-
class Example
|
65
|
-
include Messaging::Message::Sequenced
|
66
|
-
|
67
|
-
attribute :some_attribute
|
68
|
-
attribute :other_attribute
|
69
|
-
end
|
70
|
-
end
|
71
|
-
|
72
51
|
def self.message_class
|
73
52
|
SomeMessage
|
74
53
|
end
|
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: 0.
|
4
|
+
version: 0.23.0.0
|
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: 2017-11-
|
11
|
+
date: 2017-11-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: evt-message_store
|
@@ -62,13 +62,15 @@ files:
|
|
62
62
|
- lib/messaging/handle/defaults.rb
|
63
63
|
- lib/messaging/log.rb
|
64
64
|
- lib/messaging/message.rb
|
65
|
+
- lib/messaging/message/command/sequence_accessor.rb
|
65
66
|
- lib/messaging/message/copy.rb
|
67
|
+
- lib/messaging/message/event/sequence_accessor.rb
|
66
68
|
- lib/messaging/message/export.rb
|
67
69
|
- lib/messaging/message/follow.rb
|
70
|
+
- lib/messaging/message/global_position_accessor.rb
|
68
71
|
- lib/messaging/message/import.rb
|
69
72
|
- lib/messaging/message/metadata.rb
|
70
73
|
- lib/messaging/message/sequence_accessor.rb
|
71
|
-
- lib/messaging/message/sequenced.rb
|
72
74
|
- lib/messaging/message/transformer.rb
|
73
75
|
- lib/messaging/message_registry.rb
|
74
76
|
- lib/messaging/stream_name.rb
|