summaryrefslogtreecommitdiff
path: root/lib/chef/resource_inspector.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add required properties to the resource inspector outputresource_inspectorTim Smith2018-09-071-0/+1
| | | | | | We need this to autogenerate documentation. Signed-off-by: Tim Smith <tsmith@chef.io>
* Allow resource_inspector be used outside the binaryinspector_libraryTim Smith2018-08-311-3/+4
| | | | | | | | | Prevously the inspect method wrote out to stdout which makes it impossible to use as a library. Now it returns data which the start method will write to stdout. This allowed me to use this as a library for autogenerating docs. Signed-off-by: Tim Smith <tsmith@chef.io>
* Expose the resource preview flag in the exporter for use in docs.Noah Kantrowitz2018-06-051-0/+1
| | | Signed-off-by: Noah Kantrowitz <noah@coderanger.net>
* return defaultstm/ri_defaultsThom May2018-05-301-0/+12
| | | | Signed-off-by: Thom May <thom@chef.io>
* Add default_action to the resource inspectordescribe_default_actionTim Smith2018-05-161-0/+1
| | | | | | This is a very useful thing to know about a resource. Signed-off-by: Tim Smith <tsmith@chef.io>
* add name_property to resource inspectortm/inspect_name_propertiesThom May2018-04-181-1/+4
| | | | Signed-off-by: Thom May <thom@chef.io>
* add a utility to dump info about resourcestm/resource_inspectorThom May2018-03-051-0/+89
Signed-off-by: Thom May <thom@chef.io>