Hello InSpec friends!
We are delighted to announce the availability of version 5.22.50 of Chef InSpec. Changes include:
Bug Fixes
- Fixed the
virtualization.virtual_system?
helper in the virtualization resource to correctly returntrue
if run against a Podman container. (#6949) - Silenced warnings about transforming the URL fetcher into the git fetcher when executing profiles from a Git repository. This message is now added to the debug log. (#6956)
- Fixed the
Uninitialized constant Parser::AST::Processor::Mixin
error with the Parser gem dependency. (#7036) - Fixed an error with the URL fetcher which failed to work when the current directory is not a Git repository. (#7023)
Improvements
-
Updated the output of the
cmp
matcher when a control fails while using a negation such as 'should_not'. (#6986)For example, if the value of
key
is3
, then this fails:its(key) { should_not cmp "3" }
and returns this output:
expected: 3 got: 3
The updated output returns:
expected it not to be == "3" got: 3
Thanks @Taknok!
Get the Build
You can download binaries directly from Chef Downloads.