mirror of
https://github.com/inspec/inspec
synced 2024-11-23 21:23:29 +00:00
6668bf15ea
The is_automate_server_pre_080? and is_automate_server_080_and_later? methods needed some fixing. The Compliance configuration could have a "version" key that was not nil but was an empty hash, indicating that it came from a pre-0.8.x Automate server. What we really need to look for is config['version']['version'] being nil?. Signed-off-by: Adam Leff <adam@leff.co> |
||
---|---|---|
.. | ||
bundles | ||
dependencies | ||
dsl | ||
fetchers | ||
mock | ||
plugins | ||
profiles | ||
resources | ||
source_readers | ||
utils | ||
file_provider_test.rb | ||
runner_test.rb | ||
shell_detector_test.rb |