aboutsummaryrefslogtreecommitdiff
path: root/spec/lib
AgeCommit message (Collapse)Author
2018-11-28Account for pre-5 behaviorJosh Cooper
In Puppet4, the Report class requires a kind argument. Also the is_to_s and should_to_s methods returned an array of strings and a flattened array as a string. That behavior was changed in PUP-7616 (commit c14b28f9c427) so that both methods return a string as the name implies.
2018-06-25Remove Rubocop Performance/Caller violationJacob Helwig
Turns out that using `caller(n..n).first` is _significantly_ faster than `caller[n]`.
2018-06-21Apply automatic PDK validation cleanupJacob Helwig
2018-06-21Initial sshkey type import from Puppet repositoryJacob Helwig
Imported from dbf5a8964af9b87446542d24f46534cf90f11f59 in the Puppet repo.