* Attempt to fix the dependency_loader random unit test failure in verify pipeline
Signed-off-by: Vasu1105 <vjagdale@progress.com>
* Revert "Attempt to fix the dependency_loader random unit test failure in verify pipeline"
This reverts commit 890e71b667.
* Attempt to fix randomly failing dependency_loader unit test
Signed-off-by: Vasu1105 <vjagdale@progress.com>
---------
Signed-off-by: Vasu1105 <vjagdale@progress.com>
* Added ability to merge cli and config reporter options
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Test cases to validate working of reporter configuration using cli and config
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Documentation change to add information on reporter configurations usage with both
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Added Doc review changes and text fixture for config json
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Verify fix
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Verify pipeline test fixes for reporter options to be read successfully
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Test changes in both cli and config reporter usage scenarios to fix verify pipeline
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Review comments to improvise
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* Renamed testing fixture file for reporter cli config file
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
---------
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
* This fixes the undefined method 'summary' for #<Gem::SourceFetchProblem:0x000000000139dc70> (NoMethodError) while invoking any inspec command if the custom plugin is installed and if inspec commands are run in an air gap environment.
This fix removes an earlier call for getting gem specification from rubygems.org which is the cause for above error and replaces it with fetching the summary from a locally saved gemspec file. This will work in both airgap and non-airgap environments.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
* Adds test for reading description from local gemspec file.
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
* add ruby test 3.1 in verify pipeline
Signed-off-by: jayashri garud <jgarud@msystechnologies.com>
* updating rubygem to 3.3.3
Signed-off-by: jayashri garud <jgarud@msystechnologies.com>
* Test fixture plugin files for ABI 3.1.0
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
* Use kwargs to match new calling style for ERB in ruby 2.7 and 3.0
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
* Allow Date and Time data types, needed for waivers, since safe load is now the default for YAML
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
* Use Time.parse, not Time.new since the rules tightened for what you can pass the constructor for waiver dates
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
* Add ruby platform debug message to test parallel output
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
* Conditionalize permitted_classes in inputs yaml_load for <= 3.1.x only
Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
* In ruby 3.1.0 net/pop3 is no more a default gem and that will require us to add it in Gemfile so trying with the byebug gem which we are bundling already
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
* CFINSPEC-166 Updated url fetcher to handle Net::OpenTimeout Exception on Windows
Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
Co-authored-by: Clinton Wolfe <clintoncwolfe@gmail.com>
Co-authored-by: Vasu1105 <vasundhara.jagdale@chef.io>