inspec/test
Adam Leff 86079ca3c7 Properly compare profile version strings as SemVer (#2280)
When configuring a profile dependency, if the dependent profile had a
hyphen in it, it would not properly match the default version constraint
of `>= 0`. This is because a hyphen indicates the version is a pre-release
version and proper version matching would require the constraint to also
be listed with a pre-release version string.

The proper solution is to use the `+` character instead which indicates
a build number, which is what the hyphen was meant to convey. In the
meantime, this change properly compares version strings as SemVer and
also adds tests.

Signed-off-by: Adam Leff <adam@leff.co>
2017-11-09 12:29:41 +01:00
..
cookbooks/os_prepare Add wildcard support to Utils::FindFiles (#2159) 2017-09-23 09:17:34 +02:00
functional Add Chef Automate support to inspec compliance login (#2203) 2017-10-26 17:32:47 +02:00
integration Extend Windows ACL matchers (#1744) 2017-10-17 15:01:51 +02:00
unit Properly compare profile version strings as SemVer (#2280) 2017-11-09 12:29:41 +01:00
docker_run.rb travis experiment: lower docker concurrency 2016-08-10 12:52:21 +01:00
docker_test.rb Load all dependent libraries, even if include_context isn't called 2016-09-04 20:55:20 +02:00
helper.rb http resource: supply max-time option using read_timeout and open_timeout (#2289) 2017-11-09 11:11:19 +01:00