inspec/lib
Adam Leff dda24b9f98 Fix compliance uploads when version is not present
The Compliance::API.version method could potentially return
a hash containing no "version" key but would return an empty
hash upon any expected failure. Downstream callers of the
Compliance::API.version method were looking for a "version"
key to always be present when, in some cases, it would not be.

This change ensures that if a version is not available, there
is no "version" key in the hash, and downstream callers of this
method have been changed to check for nil instead of empty.

Signed-off-by: Adam Leff <adam@leff.co>
2017-06-06 14:49:25 +02:00
..
bundles Fix compliance uploads when version is not present 2017-06-06 14:49:25 +02:00
fetchers add bitbucket repo url handling (#1866) 2017-06-05 16:02:56 +02:00
inspec support FIPS 140-2 compliant digest calls 2017-06-03 02:17:24 +02:00
matchers Remove commented-out deprecation warning 2017-06-06 07:25:04 -04:00
resources Merge pull request #1850 from username-is-already-taken2/gb/fix_1839 2017-06-06 14:46:41 +02:00
source_readers add inspec.profile.file(...) for profile files 2017-05-03 20:39:27 +02:00
utils add the Nginx parser 2017-06-03 17:25:00 +02:00
inspec.rb Handle parse errors for attrs/secrets 2017-05-09 13:44:33 +02:00