inspec/test/unit/bundles
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
..
inspec-compliance Fix compliance uploads when version is not present 2017-06-06 14:49:25 +02:00
inspec-supermarket Feature/fix ability to pass in supermarket url (#1595) 2017-03-29 12:42:24 -04:00
inspect-habitat Break out profile vendor activities into separate class 2017-03-29 10:22:20 +02:00