puppet-strings/lib
Eric Putnam 9a1a0b4af6
(PDOC-240) add handling for :array node type in rsapi_handler
The 'features' key in the resource api expects an array of feature names. Currently, if you run strings on a resource api type that specifies features, it falls over because it doesn't know what to do with an AST node of type :array. Further, the method that throws the error is looking for an undefined variable called 'parameters'. This removes the odd conditional that calls 'parameters' and adds a method that returns an array of the array contents that may be passed to features. Features are not currently sent to the renderer, but now Strings will be able to handle any array it comes across in an rsapi type.
2018-04-20 15:06:58 +01:00
..
puppet (PDOC-224) Handle --emit-json(-stdout) again 2018-03-01 18:28:48 +01:00
puppet-strings (PDOC-240) add handling for :array node type in rsapi_handler 2018-04-20 15:06:58 +01:00
puppet-strings.rb (PDOC-228) puppet plans support 2018-03-27 09:59:20 -07:00