inferno_core 0.3.8 → 0.3.11

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: 669dde4b0ad34993f363e538ed2d7eae59d4211f0b988a7e6306231fd54d74c0
4
- data.tar.gz: 5149b96b6931d27a41cd0c3b0a5665024b297c6d8e612e574582cb630ef29867
3
+ metadata.gz: 7e278b200d33582c51a4dcfcee3c7ef321162ecbc0c1c12225601b8b03627747
4
+ data.tar.gz: 80a3cac6f4de4e9c191733bedc22e31182acc2ef135f1473a52ff971fd2ab0b2
5
5
  SHA512:
6
- metadata.gz: d5a839c224c59795ab5f79fdd18de124ba6eae8d2cdf60c1afeae4f7bf091ac1a0321ff97e7939753de1d05441df1152929e3d3ba2e743d9777ea39fc0603806
7
- data.tar.gz: 602ac59a4417b6751d3e661d15ac55f4d7ac2f2ee171b9ac284637b3d4693f36ae85f09fbd63011fa570609dd1c8f54c7ee5c35fa28f1c909185bec2b28f0234
6
+ metadata.gz: 5834a48e2c99300e08a1acacc040fa7a96fc85b74c6b5de4d64a3f0265e9c79dad017d7becc927c6bfd3be9ab690008c48223c29e129e8d28bc70edfe3e75e59
7
+ data.tar.gz: 7cfaa5b8d64596e7d245026cf35f93b2093c0517bcdcae7b14ed4778e369c3244ea1cf8ce8179153001ed82275293edea25379a9a0a5cf90aecd027ddb728b1f
@@ -19,9 +19,10 @@ module Inferno
19
19
  end
20
20
 
21
21
  def persist_inputs(params, test_run)
22
+ available_inputs = test_run.runnable.available_inputs
22
23
  params[:inputs]&.each do |input_params|
23
24
  input =
24
- test_run.runnable.available_inputs
25
+ available_inputs
25
26
  .find { |_, runnable_input| runnable_input.name == input_params[:name] }
26
27
  &.last
27
28
 
@@ -11,6 +11,7 @@ module Inferno
11
11
  field :input_instructions
12
12
  field :version
13
13
  field :links
14
+ field :suite_summary
14
15
 
15
16
  field :test_count do |suite, options|
16
17
  suite.test_count(options[:suite_options])
@@ -99,6 +99,12 @@ module Inferno
99
99
 
100
100
  @links = links
101
101
  end
102
+
103
+ def suite_summary(suite_summary = nil)
104
+ return @suite_summary if suite_summary.nil?
105
+
106
+ @suite_summary = format_markdown(suite_summary)
107
+ end
102
108
  end
103
109
  end
104
110
  end