inspec/test/fixtures/config_dirs
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
..
empty Moved test/unit/mock/* to test/fixtures 2019-11-08 16:29:03 -08:00
fakehome resolves inspec/inspec#6042 (#6043) (#6278) 2022-10-20 14:06:01 -04:00
fakehome-2 Moved test/unit/mock/* to test/fixtures 2019-11-08 16:29:03 -08:00
input_plugin Corresponding fixes for the move from test/unit/mock to test/fixtures. 2019-11-08 19:20:12 -08:00
json-config Moved test/unit/mock/* to test/fixtures 2019-11-08 16:29:03 -08:00
meaning_by_path Corresponding fixes for the move from test/unit/mock to test/fixtures. 2019-11-08 19:20:12 -08:00
plugin_config_files Moved test/unit/mock/* to test/fixtures 2019-11-08 16:29:03 -08:00
plugin_error_on_load Corresponding fixes for the move from test/unit/mock to test/fixtures. 2019-11-08 19:20:12 -08:00
reporter_plugin Basics of a working reporter plugin system 2020-05-01 23:48:05 -04:00
test-fixture-1-float add ruby test 3.1 in verify pipeline (#5892) 2022-06-14 16:07:08 +05:30
test-fixture-2-float add ruby test 3.1 in verify pipeline (#5892) 2022-06-14 16:07:08 +05:30
train-test-fixture CFINSPEC-533: Fix undefined method 'summary' for Gem::SourceFetchProblem (NoMethodError) when airgapped (#6337) (#6434) 2023-02-24 17:47:19 +05:30