evt-message_store 1.0.0.1 → 1.0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/message_store/stream_name.rb +0 -14
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8801f83e81e91245a02981abbf45575805ef584e528b87f180efaaf8b9e2785e
|
4
|
+
data.tar.gz: e4139dd0db0fd704d0b99242ba86cb1e634217980b562eb662925f2934a4d496
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f9d53b49c873f2e64a0113d802c122f628e086dda7009fef48f35406c69f38f8bc7c474df29f78d211dcf57ecc361acafc258909a73c6d3f4463a3b91f51046
|
7
|
+
data.tar.gz: da8e1f9ced2eeb3250b15e1a41de734d4822d62ed9b35965acbc2322b0f6d6e4cd4efe46665888b751b90c93f18550b9c88de71c949e076e17ce038daa4d6d98
|
@@ -33,20 +33,6 @@ module MessageStore
|
|
33
33
|
!stream_name.include?('-')
|
34
34
|
end
|
35
35
|
|
36
|
-
# TODO consider a stream name data structw
|
37
|
-
def self.___get_type_list(stream_name)
|
38
|
-
# TODO if this is > 2, raise error that more than one colon
|
39
|
-
|
40
|
-
## If
|
41
|
-
type = stream_name.split(':').last.split('-').first
|
42
|
-
|
43
|
-
## No type list if stream name start with type
|
44
|
-
## eg:
|
45
|
-
return nil if stream_name.start_with?(type)
|
46
|
-
|
47
|
-
type
|
48
|
-
end
|
49
|
-
|
50
36
|
def self.get_type_list(stream_name)
|
51
37
|
return nil if stream_name.index(':').nil?
|
52
38
|
|