inspec/test/fixtures
Vasundhara Jagdale 35f8c4829f
CFINSPEC-533: Fix undefined method 'summary' for Gem::SourceFetchProblem (NoMethodError) when airgapped (#6337) (#6434)
* 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.



* Adds test for reading description from local gemspec file.

Signed-off-by: Vasu1105 <vasundhara.jagdale@chef.io>
2023-02-24 17:47:19 +05:30
..
cmd Prevent negative status from crashing launchd service resource (#6262) (#6433) 2023-02-24 15:12:38 +05:30
config_dirs CFINSPEC-533: Fix undefined method 'summary' for Gem::SourceFetchProblem (NoMethodError) when airgapped (#6337) (#6434) 2023-02-24 17:47:19 +05:30
files CFINSPEC-84: Add unit test for x509_private_key 2022-04-27 15:59:40 +05:30
plugins Basic test case added for streaming reporter plugin type 2022-02-04 17:28:09 +05:30
profiles Foreport 6229 to inspec 6 (#6277) 2022-10-20 14:07:10 -04:00
reporters UNIT_TESTS: update yaml reporter test for Ruby 3+ 2022-05-09 10:15:15 +03:00
contains-empty-file-0.1.0.tar.gz Fix TarProvider when the tarball has empty files in it. 2019-10-18 14:30:00 -07:00
features-01.sig Feature Config File and Logger Support (#6260) 2022-10-19 19:17:56 +05:30
features-01.yaml Feature Config File and Logger Support (#6260) 2022-10-19 19:17:56 +05:30
features-tampered.sig Feature Config File and Logger Support (#6260) 2022-10-19 19:17:56 +05:30
features-tampered.yaml Feature Config File and Logger Support (#6260) 2022-10-19 19:17:56 +05:30