evt-messaging 0.9.0.1 → 0.9.1.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/controls/message.rb +1 -0
- data/lib/messaging/message.rb +9 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 741a729c4c252808507531a9df991abe1f6a466f
|
4
|
+
data.tar.gz: b259aac5c248a7fd8d51bcf5792a75edb838cce0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d13601756c8d4ccf92b29dee6a88e02e10d41713cf93bde6439cbbfd3f2d4260877843206957bbbc76e746cb1e2c7a6b0534fc0c985ab8edc279c8eea852212
|
7
|
+
data.tar.gz: 1a312ecbb155cefe8a2c9bf53860e12d59d47a886d95269fdbdd1341b7894d47524faa675e4e55fd705ca2001c6a0e4302e7ecd2163cf033bda26f0f3f397a7d
|
data/lib/messaging/message.rb
CHANGED
@@ -8,6 +8,7 @@ module Messaging
|
|
8
8
|
extend Build
|
9
9
|
extend Copy
|
10
10
|
extend Follow
|
11
|
+
extend Correlate
|
11
12
|
extend Transformer
|
12
13
|
|
13
14
|
attribute :id, String
|
@@ -83,5 +84,13 @@ module Messaging
|
|
83
84
|
end
|
84
85
|
end
|
85
86
|
end
|
87
|
+
|
88
|
+
module Correlate
|
89
|
+
def correlate(correlation_stream_name)
|
90
|
+
instance = build
|
91
|
+
instance.metadata.correlation_stream_name = correlation_stream_name
|
92
|
+
instance
|
93
|
+
end
|
94
|
+
end
|
86
95
|
end
|
87
96
|
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.9.0
|
4
|
+
version: 0.9.1.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-01-
|
11
|
+
date: 2017-01-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: evt-event_source
|