inspec/lib
Clinton Wolfe 02cb93ec23 Refactor 'inspec init profile' into a reusable component. (#3214)
* Refactor 'inspec init profile' into a reusable component.

base_cli.rb had several methods used internally, these are exposed so
lib/bundles/inspec-init/profile.rb can act as a library for anything
that needs to create new Inspec profiles programatically

* Move output methods to be public instance methods; and make Init::Profile into a working renderer.  Functional tests pass but could use some refactoring to be easier to use.
* Refactor, renaming vars to be clearer
* Move puts and exit calls into basecli
* Add comment about simplified ERB rendering in ruby 2.5.0+

Signed-off-by: Clinton Wolfe <clintoncwolfe@gmail.com>
2018-07-17 11:42:36 -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 Refactor 'inspec init profile' into a reusable component. (#3214) 2018-07-17 11:42:36 -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