From 87c9dcebd5bbb1e45074fafa60245a37fd4b90da Mon Sep 17 00:00:00 2001 From: Lance Albertson Date: Mon, 31 Aug 2020 12:42:43 -0700 Subject: [PATCH] Add cop for chef-utils/dist requires This is related to https://github.com/chef/chef/pull/9834. Signed-off-by: Lance Albertson --- lib/rubocop/cop/chef/ruby/unless_defined_require.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/rubocop/cop/chef/ruby/unless_defined_require.rb b/lib/rubocop/cop/chef/ruby/unless_defined_require.rb index 426afa2..bd23b3f 100644 --- a/lib/rubocop/cop/chef/ruby/unless_defined_require.rb +++ b/lib/rubocop/cop/chef/ruby/unless_defined_require.rb @@ -35,6 +35,7 @@ class UnlessDefinedRequire < Base "benchmark" => "Benchmark", "cgi" => "CGI", "chef-utils" => "ChefUtils", + "chef-utils/dist" => "ChefUtils::Dist", "csv" => "CSV", "digest" => "Digest", "digest/md5" => "Digest::MD5",