evt-messaging 0.21.0.0 → 0.21.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/stream_name.rb +10 -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: 5c2c9acd0e60e2eeeba4075ebb32ad5a94534152
|
4
|
+
data.tar.gz: a2bb94730d0d2d22132f1ffaf5d0e631ce9fd9c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f9051e8dead32af1576cbbc9f513e11884e1e90e49914635579d809886e7f1070f9cc4b203c79cc24673963f64de797e1ed5e289cdacb4862cb7f6a0e324934
|
7
|
+
data.tar.gz: de6a1e4f5325d8b950665f5fdc1095daeffe8e0ea51ccf9f46b9a4bef0cf33cb24e53a6bcd81b8c31ad4bfd8f951f7c00ec8fd6f8810177bba1816159f41999f
|
@@ -28,6 +28,16 @@ module Messaging
|
|
28
28
|
MessageStore::StreamName.stream_name(category, type: 'command')
|
29
29
|
end
|
30
30
|
|
31
|
+
def exclusive_command_stream_name(id, category=nil)
|
32
|
+
category ||= self.category
|
33
|
+
MessageStore::StreamName.stream_name(category, id, types: ['command', 'exclusive'])
|
34
|
+
end
|
35
|
+
|
36
|
+
def exclusive_command_category_stream_name(category=nil)
|
37
|
+
category ||= self.category
|
38
|
+
MessageStore::StreamName.stream_name(category, types: ['command', 'exclusive'])
|
39
|
+
end
|
40
|
+
|
31
41
|
def self.get_category(stream_name)
|
32
42
|
MessageStore::StreamName.get_category(stream_name)
|
33
43
|
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.21.
|
4
|
+
version: 0.21.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-
|
11
|
+
date: 2017-10-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: evt-message_store
|