rsmp 0.43.0 → 0.43.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4388b553588ba4ad894f3daac620992cc351b4c2d061132a37690f77e72971ad
4
- data.tar.gz: 0dfd1b5a8a83ab75810a8a822e6507dca3728b53e99462bf69fe96f924395fac
3
+ metadata.gz: 94105d8268e5eec1efff59761859283da3cf0caa85c3c3475a9f33d773dda94f
4
+ data.tar.gz: d4861a48aff2fa24997d4e6f30414a4ac43f33ba425f6b3adfd896481e4bdcdd
5
5
  SHA512:
6
- metadata.gz: 513d73bbb2e42366fbb0c598f92ef97745379769ecc2ba7aa79fda31e94fc3c34f39e81daa707e687159c7d644034057671b14ab5941da0615b3884fa95e53ac
7
- data.tar.gz: 11cb9674aea89d3c3f693707ecce22d65632a0391ef635cb6ef0c1ea4226445c747c117e34ef0e28eb056618cd262f8f8d51f75941e9107d8fb8f17633453156
6
+ metadata.gz: c0f3fde2f58422f63d0d7404bf1078920cfaf6ad980f570b8c1a6a0e56d19fcb8b1aab48cab5a17e90a4fb5b9319e8de27056bc638d2450e5d7f440779b69409
7
+ data.tar.gz: 38f69319e00d2b287115dd31c9b512648aedf0a973c74d644a14fdebf549afa326f3cdd1942114bda311955f73fb26f70738005f663faa3284790f6e6b016fd6
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rsmp (0.43.0)
4
+ rsmp (0.43.1)
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.3.3)
17
+ aruba (2.4.1)
18
18
  bundler (>= 1.17)
19
19
  contracts (>= 0.16.0, < 0.18.0)
20
- cucumber (>= 8.0, < 11.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.1)
31
+ bigdecimal (4.1.2)
31
32
  builder (3.3.0)
32
33
  colorize (1.1.0)
33
- console (1.34.3)
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.15.1)
75
- io-stream (0.11.1)
76
- json (2.19.3)
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.1)
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.1)
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 exceptioin is raised.
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
data/lib/rsmp/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module RSMP
2
- VERSION = '0.43.0'.freeze
2
+ VERSION = '0.43.1'.freeze
3
3
  end
@@ -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",
@@ -8,6 +8,7 @@
8
8
  "rvs" : {
9
9
  "description" : "Command arguments",
10
10
  "type" : "array",
11
+ "minItems" : 1,
11
12
  "items" : {
12
13
  "type" : "object",
13
14
  "properties": {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rsmp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.43.0
4
+ version: 0.43.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emil Tin