inspec/lib
James Stocks ca833afacf Generate describe code for an array of strings (#3227)
Context:
When testing a Windows registry key with a period character in it e.g. `explorer.exe` it is not possible to use `its("explorer.exe")` because the period would be interpreted as method chaining.
In this case, you must instead use `its(["explorer", "exe"])`
See https://github.com/inspec/inspec/issues/1281

This commit fixes `to_ruby`in `Inspec::Describe` so that it produces an array in the generated Inspec code instead of a string.

Signed-off-by: James Stocks <jstocks@chef.io>
2018-07-19 15:00:21 -04:00
..
bundles Refactor 'inspec init profile' into a reusable component. (#3214) 2018-07-17 11:42:36 -04:00
fetchers Fix the git fetcher to vendor correctly (#3097) 2018-05-31 13:53:14 -04:00
inspec Generate describe code for an array of strings (#3227) 2018-07-19 15:00:21 -04:00
matchers cmp should recognise a string being a negative int (#3007) 2018-05-02 10:19:57 -04:00
resource_support Add aws_elb and aws_elbs resources (#3079) 2018-06-07 15:06:05 -04:00
resources command resource: Allow redacting #to_s (#3207) 2018-07-16 08:20:57 -04:00
source_readers Bump Rubocop to 0.49.1 (#2323) 2017-11-21 08:49:41 +01:00
utils A number of bug fixes and new features for oracledb_session resource (#3170) 2018-07-09 13:57:45 -04:00
inspec.rb Add new "reporter" system (replacement for "formatters"), support multiple reporters per run (#2464) 2018-02-08 10:06:58 +01:00