onc_certification_g10_test_kit 3.8.0 → 3.8.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 684b1d3bb5e7e1b863449d65f09aab2f87050dbc3145e700b735e983ff1c363f
|
4
|
+
data.tar.gz: 808259cb62b506e6c432ae2ef0d1878920131fff49e31cd70b43e8c05dce6fb8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 430f9a8267a7fc1aaead33250a258fe7b6c99d6459dee03ecefb60af440668b7390ba2f09ee9a3d6953034d0da0094a09de4cc718602bdeb5466adac391f292e
|
7
|
+
data.tar.gz: 523348bc9d83e1e12e72e4359607d38c4380c7b1fcb87101a83ff38299e625c907cad4cd62af1cd0a90fe0a04d24e56f5f1cef278bf40067065fc89185ede8b5
|
@@ -188,6 +188,14 @@ module ONCCertificationG10TestKit
|
|
188
188
|
end
|
189
189
|
end
|
190
190
|
|
191
|
+
# returns an array of options that apply to this test or group
|
192
|
+
def applicable_options(runnable)
|
193
|
+
runnable_and_parents = [runnable].tap do |parents|
|
194
|
+
parents << parents.last.parent while parents.last.parent.present?
|
195
|
+
end
|
196
|
+
runnable_and_parents.map(&:suite_option_requirements).compact.flatten
|
197
|
+
end
|
198
|
+
|
191
199
|
def generate_inferno_test_worksheet # rubocop:disable Metrics/CyclomaticComplexity
|
192
200
|
workbook.add_worksheet('Inferno Tests')
|
193
201
|
inferno_worksheet = workbook.worksheets[2]
|
@@ -207,7 +215,11 @@ module ONCCertificationG10TestKit
|
|
207
215
|
.min || 0
|
208
216
|
description.lines.map { |l| l[natural_indent..] || "\n" }.join.strip
|
209
217
|
end],
|
210
|
-
['Test Procedure Steps', 30, ->(test) { inferno_to_procedure_map[test.short_id].join(', ') }]
|
218
|
+
['Test Procedure Steps', 30, ->(test) { inferno_to_procedure_map[test.short_id].join(', ') }],
|
219
|
+
['Standard Version Filter', 30, lambda do |test|
|
220
|
+
applicable_options(test).map(&:value).uniq.join(', ')
|
221
|
+
end]
|
222
|
+
|
211
223
|
]
|
212
224
|
|
213
225
|
columns.each_with_index do |row_name, index|
|
@@ -218,10 +230,13 @@ module ONCCertificationG10TestKit
|
|
218
230
|
|
219
231
|
test_suite.groups.each do |group|
|
220
232
|
row += 1
|
221
|
-
inferno_worksheet.add_cell(row, 0, group.title)
|
233
|
+
inferno_worksheet.add_cell(row, 0, "#{group.short_id}: #{group.title}")
|
234
|
+
inferno_worksheet.add_cell(row, 6, applicable_options(group).map(&:value).uniq.join(', '))
|
222
235
|
row += 1
|
223
236
|
group.groups.each do |test_case|
|
224
237
|
inferno_worksheet.add_cell(row, 1, "#{test_case.short_id}: #{test_case.title}")
|
238
|
+
inferno_worksheet.add_cell(row, 6, applicable_options(test_case).map(&:value).uniq.join(', '))
|
239
|
+
|
225
240
|
row += 1
|
226
241
|
test_case.tests.each do |test|
|
227
242
|
this_row = columns.map do |column|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: onc_certification_g10_test_kit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.8.
|
4
|
+
version: 3.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen MacVicar
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-09-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bloomer
|
@@ -42,14 +42,14 @@ dependencies:
|
|
42
42
|
name: inferno_core
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - '='
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: 0.4.18
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - '='
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 0.4.18
|
55
55
|
- !ruby/object:Gem::Dependency
|
@@ -142,14 +142,14 @@ dependencies:
|
|
142
142
|
requirements:
|
143
143
|
- - '='
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: 0.
|
145
|
+
version: 0.6.0
|
146
146
|
type: :runtime
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
150
|
- - '='
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: 0.
|
152
|
+
version: 0.6.0
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: database_cleaner-sequel
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|