inferno_core 1.4.4 → 1.4.5

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.
@@ -122,9 +122,13 @@ module Inferno
122
122
  end
123
123
 
124
124
  def check_inputs(test, _test_instance, inputs)
125
+ available_inputs = test.available_inputs(test_session.suite_options)
126
+ input_values = inputs.transform_keys { |input_identifier| test.config.input_name(input_identifier).to_s }
127
+
125
128
  inputs.each do |key, value|
126
129
  optional = test.config.input_optional?(key)
127
- if value.nil? && !optional
130
+ input = available_inputs[test.config.input_name(key).to_sym]
131
+ if value.nil? && !optional && input.enabled?(input_values, available_inputs)
128
132
  raise Exceptions::SkipException,
129
133
  "Input '#{test.config.input_name(key)}' is nil, skipping test."
130
134
  end
@@ -1,4 +1,4 @@
1
1
  module Inferno
2
2
  # Standard patterns for gem versions: https://guides.rubygems.org/patterns/
3
- VERSION = '1.4.4'.freeze
3
+ VERSION = '1.4.5'.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.4.4
4
+ version: 1.4.5
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: 2026-09-04 00:00:00.000000000 Z
13
+ date: 2026-10-05 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activesupport