lib/rubocop/cop/chef/modernize/definitions.rb in cookstyle-6.21.1 vs lib/rubocop/cop/chef/modernize/definitions.rb in cookstyle-7.0.0

- old
+ new

@@ -16,10 +16,10 @@ # limitations under the License. # module RuboCop module Cop module Chef - module ChefModernize + module Modernize # In 2016 with Chef Infra Client 12.5 Custom Resources were introduced as a way of writing reusable resource code that could be shipped in cookbooks. Custom Resources offer many advantages of legacy Definitions including unit testing with ChefSpec, input validation, actions, common properties like not_if/only_if, and resource reporting. # class Definitions < Base include RuboCop::Chef::CookbookHelpers