rsmp 0.43.0 → 0.43.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +33 -10
- data/lib/rsmp/collect/collector.rb +2 -2
- data/lib/rsmp/proxy/site/modules/status.rb +2 -1
- data/lib/rsmp/version.rb +1 -1
- data/schemas/core/3.1.2/aggregated_status.json +2 -2
- data/schemas/core/3.1.3/aggregated_status.json +2 -2
- data/schemas/core/3.1.4/aggregated_status.json +2 -2
- data/schemas/core/3.1.5/aggregated_status.json +2 -2
- data/schemas/core/3.2.0/aggregated_status.json +2 -2
- data/schemas/core/3.2.1/aggregated_status.json +2 -2
- data/schemas/core/3.2.2/aggregated_status.json +2 -2
- data/schemas/core/3.2.2/command_response.json +1 -0
- 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: 7ac8dcc5eb14943b0e14c10eb9e6f4c5a42fde921d9db9d05b0a390b4019ecf6
|
|
4
|
+
data.tar.gz: 9ef754b98f86317516078a6ce1f263ae82f5f7a697e68ef5fbf50c0976016f47
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bd8ca1c5aabffa57015ff7519af57349e40044681dae5765d8e5144e49fef4305ecb688bbb9e271ee14c85b80364ba8111263cab41cf73c82fe4ef4540ad4d49
|
|
7
|
+
data.tar.gz: 3b44d60f188df7a54087c8baf3ae56592d3187d348aef3a2f01ecd156802078b59727071a6055da77680700373c0dff7364e0f2c0a0aab958c437f747a508f2e
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
rsmp (0.43.
|
|
4
|
+
rsmp (0.43.2)
|
|
5
5
|
async (~> 2.32)
|
|
6
6
|
colorize (~> 1.1)
|
|
7
7
|
io-endpoint (~> 0.15)
|
|
@@ -14,10 +14,11 @@ PATH
|
|
|
14
14
|
GEM
|
|
15
15
|
remote: https://rubygems.org/
|
|
16
16
|
specs:
|
|
17
|
-
aruba (2.
|
|
17
|
+
aruba (2.4.1)
|
|
18
18
|
bundler (>= 1.17)
|
|
19
19
|
contracts (>= 0.16.0, < 0.18.0)
|
|
20
|
-
cucumber (>= 8.0, <
|
|
20
|
+
cucumber (>= 8.0, < 12.0)
|
|
21
|
+
irb (~> 1.16)
|
|
21
22
|
rspec-expectations (>= 3.4, < 5.0)
|
|
22
23
|
thor (~> 1.0)
|
|
23
24
|
ast (2.4.3)
|
|
@@ -27,10 +28,10 @@ GEM
|
|
|
27
28
|
io-event (~> 1.11)
|
|
28
29
|
metrics (~> 0.12)
|
|
29
30
|
traces (~> 0.18)
|
|
30
|
-
bigdecimal (4.1.
|
|
31
|
+
bigdecimal (4.1.2)
|
|
31
32
|
builder (3.3.0)
|
|
32
33
|
colorize (1.1.0)
|
|
33
|
-
console (1.
|
|
34
|
+
console (1.35.1)
|
|
34
35
|
fiber-annotation
|
|
35
36
|
fiber-local (~> 1.1)
|
|
36
37
|
json
|
|
@@ -60,7 +61,9 @@ GEM
|
|
|
60
61
|
cucumber-messages (> 19, < 28)
|
|
61
62
|
cucumber-messages (22.0.0)
|
|
62
63
|
cucumber-tag-expressions (6.1.2)
|
|
64
|
+
date (3.5.1)
|
|
63
65
|
diff-lcs (1.6.2)
|
|
66
|
+
erb (6.0.4)
|
|
64
67
|
ffi (1.17.4-arm64-darwin)
|
|
65
68
|
ffi (1.17.4-x64-mingw-ucrt)
|
|
66
69
|
ffi (1.17.4-x86_64-darwin)
|
|
@@ -70,10 +73,16 @@ GEM
|
|
|
70
73
|
fiber-storage
|
|
71
74
|
fiber-storage (1.0.1)
|
|
72
75
|
hana (1.3.7)
|
|
76
|
+
io-console (0.8.2)
|
|
73
77
|
io-endpoint (0.17.2)
|
|
74
|
-
io-event (1.
|
|
75
|
-
io-stream (0.
|
|
76
|
-
|
|
78
|
+
io-event (1.16.1)
|
|
79
|
+
io-stream (0.13.0)
|
|
80
|
+
irb (1.18.0)
|
|
81
|
+
pp (>= 0.6.0)
|
|
82
|
+
prism (>= 1.3.0)
|
|
83
|
+
rdoc (>= 4.0.0)
|
|
84
|
+
reline (>= 0.4.2)
|
|
85
|
+
json (2.19.7)
|
|
77
86
|
json_schemer (2.5.0)
|
|
78
87
|
bigdecimal
|
|
79
88
|
hana (~> 1.3)
|
|
@@ -87,20 +96,32 @@ GEM
|
|
|
87
96
|
mini_mime (1.1.5)
|
|
88
97
|
multi_test (1.1.0)
|
|
89
98
|
ostruct (0.6.3)
|
|
90
|
-
parallel (2.0
|
|
99
|
+
parallel (2.1.0)
|
|
91
100
|
parser (3.3.11.1)
|
|
92
101
|
ast (~> 2.4.1)
|
|
93
102
|
racc
|
|
103
|
+
pp (0.6.3)
|
|
104
|
+
prettyprint
|
|
105
|
+
prettyprint (0.2.0)
|
|
94
106
|
prism (1.9.0)
|
|
107
|
+
psych (5.3.1)
|
|
108
|
+
date
|
|
109
|
+
stringio
|
|
95
110
|
racc (1.8.1)
|
|
96
111
|
rainbow (3.1.1)
|
|
97
112
|
rake (13.4.2)
|
|
113
|
+
rdoc (7.2.0)
|
|
114
|
+
erb
|
|
115
|
+
psych (>= 4.0.0)
|
|
116
|
+
tsort
|
|
98
117
|
regexp_parser (2.12.0)
|
|
118
|
+
reline (0.6.3)
|
|
119
|
+
io-console (~> 0.5)
|
|
99
120
|
rspec-expectations (3.13.5)
|
|
100
121
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
101
122
|
rspec-support (~> 3.13.0)
|
|
102
123
|
rspec-support (3.13.7)
|
|
103
|
-
rubocop (1.86.
|
|
124
|
+
rubocop (1.86.2)
|
|
104
125
|
json (~> 2.3)
|
|
105
126
|
language_server-protocol (~> 3.17.0.2)
|
|
106
127
|
lint_roller (~> 1.1.0)
|
|
@@ -119,6 +140,7 @@ GEM
|
|
|
119
140
|
rubocop (>= 1.72.1)
|
|
120
141
|
ruby-progressbar (1.13.0)
|
|
121
142
|
simpleidn (0.2.3)
|
|
143
|
+
stringio (3.2.0)
|
|
122
144
|
sus (0.36.0)
|
|
123
145
|
sus-fixtures-async (0.2.0)
|
|
124
146
|
async
|
|
@@ -133,6 +155,7 @@ GEM
|
|
|
133
155
|
thor (1.5.0)
|
|
134
156
|
timecop (0.9.11)
|
|
135
157
|
traces (0.18.2)
|
|
158
|
+
tsort (0.2.0)
|
|
136
159
|
unicode-display_width (3.2.0)
|
|
137
160
|
unicode-emoji (~> 4.1)
|
|
138
161
|
unicode-emoji (4.2.0)
|
|
@@ -104,10 +104,10 @@ module RSMP
|
|
|
104
104
|
|
|
105
105
|
# If collection is not active, raise an error. Otherwise wait until
|
|
106
106
|
# the desired messages have been collected.
|
|
107
|
-
# If timeout is reached, an
|
|
107
|
+
# If timeout is reached or collection was cancelled with an error, an exception is raised.
|
|
108
108
|
def wait!
|
|
109
109
|
wait
|
|
110
|
-
raise @error if timeout?
|
|
110
|
+
raise @error if timeout? || (cancelled? && @error)
|
|
111
111
|
|
|
112
112
|
@messages
|
|
113
113
|
end
|
|
@@ -125,13 +125,14 @@ module RSMP
|
|
|
125
125
|
end
|
|
126
126
|
|
|
127
127
|
def unsubscribe_to_status(status_list, component: nil, validate: nil)
|
|
128
|
-
validate_ready 'unsubscribe to status'
|
|
129
128
|
component ||= main.c_id
|
|
130
129
|
|
|
131
130
|
status_list.each do |item|
|
|
132
131
|
remove_subscription_item(component, item['sCI'], item['n'])
|
|
133
132
|
end
|
|
134
133
|
|
|
134
|
+
return unless ready? # if the connection is don't we skip sending
|
|
135
|
+
|
|
135
136
|
message = RSMP::StatusUnsubscribe.new({
|
|
136
137
|
'cId' => component,
|
|
137
138
|
'sS' => status_list
|
data/lib/rsmp/version.rb
CHANGED
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
"aSTS" : { "$ref": "definitions.json#/timestamp" },
|
|
7
7
|
"fP" : {
|
|
8
8
|
"description" : "Functional position",
|
|
9
|
-
"type" : "string, null"
|
|
9
|
+
"type" : ["string", "null"]
|
|
10
10
|
},
|
|
11
11
|
"fS" : {
|
|
12
12
|
"description" : "Functional position",
|
|
13
|
-
"type" : "string, null"
|
|
13
|
+
"type" : ["string", "null"]
|
|
14
14
|
},
|
|
15
15
|
"se" : {
|
|
16
16
|
"type" : "array",
|
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
"aSTS" : { "$ref": "definitions.json#/timestamp" },
|
|
7
7
|
"fP" : {
|
|
8
8
|
"description" : "Functional position",
|
|
9
|
-
"type" : "string, null"
|
|
9
|
+
"type" : ["string", "null"]
|
|
10
10
|
},
|
|
11
11
|
"fS" : {
|
|
12
12
|
"description" : "Functional position",
|
|
13
|
-
"type" : "string, null"
|
|
13
|
+
"type" : ["string", "null"]
|
|
14
14
|
},
|
|
15
15
|
"se" : {
|
|
16
16
|
"type" : "array",
|
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
"aSTS" : { "$ref": "definitions.json#/timestamp" },
|
|
7
7
|
"fP" : {
|
|
8
8
|
"description" : "Functional position",
|
|
9
|
-
"type" : "string, null"
|
|
9
|
+
"type" : ["string", "null"]
|
|
10
10
|
},
|
|
11
11
|
"fS" : {
|
|
12
12
|
"description" : "Functional position",
|
|
13
|
-
"type" : "string, null"
|
|
13
|
+
"type" : ["string", "null"]
|
|
14
14
|
},
|
|
15
15
|
"se" : {
|
|
16
16
|
"type" : "array",
|
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
"aSTS" : { "$ref": "definitions.json#/timestamp" },
|
|
7
7
|
"fP" : {
|
|
8
8
|
"description" : "Functional position",
|
|
9
|
-
"type" : "string, null"
|
|
9
|
+
"type" : ["string", "null"]
|
|
10
10
|
},
|
|
11
11
|
"fS" : {
|
|
12
12
|
"description" : "Functional position",
|
|
13
|
-
"type" : "string, null"
|
|
13
|
+
"type" : ["string", "null"]
|
|
14
14
|
},
|
|
15
15
|
"se" : {
|
|
16
16
|
"type" : "array",
|
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
"aSTS" : { "$ref": "definitions.json#/timestamp" },
|
|
7
7
|
"fP" : {
|
|
8
8
|
"description" : "Functional position",
|
|
9
|
-
"type" : "string, null"
|
|
9
|
+
"type" : ["string", "null"]
|
|
10
10
|
},
|
|
11
11
|
"fS" : {
|
|
12
12
|
"description" : "Functional position",
|
|
13
|
-
"type" : "string, null"
|
|
13
|
+
"type" : ["string", "null"]
|
|
14
14
|
},
|
|
15
15
|
"se" : {
|
|
16
16
|
"type" : "array",
|
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
"aSTS" : { "$ref": "definitions.json#/timestamp" },
|
|
7
7
|
"fP" : {
|
|
8
8
|
"description" : "Functional position",
|
|
9
|
-
"type" : "string, null"
|
|
9
|
+
"type" : ["string", "null"]
|
|
10
10
|
},
|
|
11
11
|
"fS" : {
|
|
12
12
|
"description" : "Functional position",
|
|
13
|
-
"type" : "string, null"
|
|
13
|
+
"type" : ["string", "null"]
|
|
14
14
|
},
|
|
15
15
|
"se" : {
|
|
16
16
|
"type" : "array",
|
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
"aSTS" : { "$ref": "definitions.json#/timestamp" },
|
|
7
7
|
"fP" : {
|
|
8
8
|
"description" : "Functional position",
|
|
9
|
-
"type" : "string, null"
|
|
9
|
+
"type" : ["string", "null"]
|
|
10
10
|
},
|
|
11
11
|
"fS" : {
|
|
12
12
|
"description" : "Functional position",
|
|
13
|
-
"type" : "string, null"
|
|
13
|
+
"type" : ["string", "null"]
|
|
14
14
|
},
|
|
15
15
|
"se" : {
|
|
16
16
|
"type" : "array",
|