inspec/lib
Adam Leff 88581ae3dd
Raise exception if profile target URL cannot be parsed
When attempting to parse the profile out of the target URL, we
were not raising an exception if we failed to do so. Such a situation
could arise if a user's inspec config.json is incorrect either due to
manual editing or failure to re-login after an upgrade past Automate
0.8.0.

This change provides a clear exception if this occurs and also adds
tests for the compliance_profile_name method.

Signed-off-by: Adam Leff <adam@leff.co>
2017-05-26 14:30:37 -05:00
..
bundles Raise exception if profile target URL cannot be parsed 2017-05-26 14:30:37 -05:00
fetchers Break out profile vendor activities into separate class 2017-03-29 10:22:20 +02:00
inspec Release 1.25.1 2017-05-19 21:22:30 -04:00
matchers rename old deprecations that were meant for 1.0 2017-04-28 12:09:24 +02:00
resources Merge pull request #1727 from elliott-davis/fix_postgres_resource 2017-05-15 22:03:23 -04:00
source_readers add inspec.profile.file(...) for profile files 2017-05-03 20:39:27 +02:00
utils rename SimpleConfig / parse_config / parse_config_file options 2017-04-26 23:18:40 +02:00
inspec.rb Handle parse errors for attrs/secrets 2017-05-09 13:44:33 +02:00