inferno_core 0.6.13 → 0.6.15
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/lib/inferno/apps/cli/requirements.rb +11 -1
- data/lib/inferno/apps/cli/requirements_coverage_checker.rb +1 -1
- data/lib/inferno/apps/cli/requirements_exporter.rb +76 -19
- data/lib/inferno/dsl/assertions.rb +3 -2
- data/lib/inferno/public/bundle.js +18 -18
- data/lib/inferno/repositories/requirements.rb +2 -2
- data/lib/inferno/version.rb +1 -1
- metadata +2 -2
@@ -6,7 +6,7 @@ module Inferno
|
|
6
6
|
module Repositories
|
7
7
|
# Repository that deals with persistence for the `Requirement` entity.
|
8
8
|
class Requirements < InMemoryRepository
|
9
|
-
def insert_from_file(path)
|
9
|
+
def insert_from_file(path) # rubocop:disable Metrics/CyclomaticComplexity
|
10
10
|
result = []
|
11
11
|
|
12
12
|
CSV.foreach(path, headers: true, header_converters: :symbol) do |row|
|
@@ -27,7 +27,7 @@ module Inferno
|
|
27
27
|
url: row[:url],
|
28
28
|
requirement: row[:requirement],
|
29
29
|
conformance: row[:conformance],
|
30
|
-
actors: row[:actors]
|
30
|
+
actors: row[:actors]&.split(',')&.map(&:strip) || [],
|
31
31
|
sub_requirements: sub_requirements,
|
32
32
|
conditionality: row[:conditionality]&.downcase,
|
33
33
|
not_tested_reason: row[:not_tested_reason],
|
data/lib/inferno/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: inferno_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen MacVicar
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2025-06-
|
13
|
+
date: 2025-06-25 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activesupport
|