inferno_core 1.0.2 → 1.0.4

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: 4b6d3addad9ac71e0079b47aa15551a3c13773227277668b48bbaad775a26ee8
4
- data.tar.gz: aa2337d181489d7b345d3c1d24b6beb895ad0e544c35a40e4346ffce8a2065be
3
+ metadata.gz: 0a0df0199faa6c0d39d74177380b72e41346f32fdea90b355868565bbfc383cb
4
+ data.tar.gz: bea0945b1fa562c08560f29c740755f100788930396b3b76c483c633f06c5c15
5
5
  SHA512:
6
- metadata.gz: 7aff18aae2e2799fd7817d01a5a6a9d3b1842efe75a509845a98f6392852b934fa0fc8db37fa63cc42d8cebf1badb487ea63ffa300ee40801d008d34b3d5a689
7
- data.tar.gz: 2854ddeac51ecbf418301243a48903a68340dfdce6aaea8333ee98f42caade8723d6d66505062df06521d8716d70457aefbc1475a67cb8da11a9470dca5ff5d7
6
+ metadata.gz: 91b05243f078e546ffee4ec255a7272b3023f06f0c69313b012581e5c96dc32e6c44bcd898617a19e8122b223853da78ac0cbd5ff158de09952f4ad771218308
7
+ data.tar.gz: 680387f4a895ba7e4bcd94a1df62160bc81c02a4c956d6a9b08a5308b0d8868cc316a7a5d97b9acc7af5f02bda3a779de6cb3f37de318e42391fd7ad81a8c7a2
@@ -79,7 +79,14 @@ module Inferno
79
79
  local_test_kit = Inferno::Repositories::TestKits.new.local_test_kit
80
80
  if local_test_kit.present?
81
81
  base = Inferno::Application['base_path'].present? ? "/#{Inferno::Application['base_path']}" : ''
82
- [301, { 'Location' => "#{base}/#{local_test_kit.url_fragment}" }, []]
82
+ [
83
+ 302,
84
+ {
85
+ 'Cache-Control' => 'no-cache',
86
+ 'Location' => "#{base}/#{local_test_kit.url_fragment}"
87
+ },
88
+ []
89
+ ]
83
90
  else
84
91
  CLIENT_PAGE_RESPONSE.call(env)
85
92
  end
@@ -23,11 +23,6 @@ module Inferno
23
23
  suite.test_count(options[:suite_options])
24
24
  end
25
25
 
26
- field :inputs do |suite, options|
27
- suite_options = options[:suite_options]
28
- Input.render_as_hash(suite.available_inputs(suite_options).values)
29
- end
30
-
31
26
  association :suite_options, blueprint: SuiteOption
32
27
  association :presets, view: :summary, blueprint: Preset
33
28
  end
@@ -41,6 +36,10 @@ module Inferno
41
36
  TestGroup.render_as_hash(suite.groups(suite_options), suite_options:, suite_requirement_ids:)
42
37
  end
43
38
  field :configuration_messages
39
+ field :inputs do |suite, options|
40
+ suite_options = options[:suite_options]
41
+ Input.render_as_hash(suite.available_inputs(suite_options).values)
42
+ end
44
43
  field :requirement_sets, if: :field_present? do |suite, options|
45
44
  selected_options = options[:suite_options] || []
46
45
  requirement_sets = suite.requirement_sets.select do |requirement_set|
@@ -1,4 +1,4 @@
1
1
  module Inferno
2
2
  # Standard patterns for gem versions: https://guides.rubygems.org/patterns/
3
- VERSION = '1.0.2'.freeze
3
+ VERSION = '1.0.4'.freeze
4
4
  end
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: 1.0.2
4
+ version: 1.0.4
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-07-21 00:00:00.000000000 Z
13
+ date: 2025-07-23 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activesupport