mirror of
https://github.com/inspec/inspec
synced 2025-02-17 06:28:40 +00:00
* Enhance `package` resource error handling This does the following: - Modifies `info` to return an empty hash instead of `nil` - Adds a failure case if package name is not specified - Adds a skip case if no package manager can be found - Changes `skip_resource` to use the `ResourceSkipped` exception - Raises an error if JSON parsing fails for Windows/MacOS/Darwin Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com> * Make RuboCop happy Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com> * Change missing argument behavior Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com> * Remove unnecessary boolean check Signed-off-by: Jerry Aldrich <jerryaldrichiii@gmail.com> |
||
---|---|---|
.. | ||
bundles | ||
dependencies | ||
dsl | ||
fetchers | ||
mock | ||
objects | ||
plugins | ||
profiles | ||
resources | ||
source_readers | ||
utils | ||
base_cli_test.rb | ||
file_provider_test.rb | ||
rspec_json_formatter_test.rb | ||
runner_test.rb | ||
shell_detector_test.rb |