cookstyle 8.5.2 → 8.6.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (253) hide show
  1. checksums.yaml +4 -4
  2. data/config/chefstyle.yml +11 -3
  3. data/config/cookstyle.yml +159 -151
  4. data/cookstyle.gemspec +1 -1
  5. data/lib/cookstyle/version.rb +2 -2
  6. data/lib/rubocop/cop/chef/correctness/block_guard_clause_string_only.rb +2 -2
  7. data/lib/rubocop/cop/chef/correctness/chef_application_fatal.rb +2 -2
  8. data/lib/rubocop/cop/chef/correctness/conditional_ruby_shellout.rb +3 -3
  9. data/lib/rubocop/cop/chef/correctness/dnf_package_allow_downgrades.rb +2 -2
  10. data/lib/rubocop/cop/chef/correctness/empty_resource_guard.rb +2 -2
  11. data/lib/rubocop/cop/chef/correctness/incorrect_library_injection.rb +2 -2
  12. data/lib/rubocop/cop/chef/correctness/invalid_cookbook_name.rb +2 -2
  13. data/lib/rubocop/cop/chef/correctness/invalid_default_action.rb +2 -2
  14. data/lib/rubocop/cop/chef/correctness/invalid_notification_resource.rb +2 -2
  15. data/lib/rubocop/cop/chef/correctness/invalid_notification_timing.rb +2 -2
  16. data/lib/rubocop/cop/chef/correctness/invalid_platform_family_helper.rb +2 -2
  17. data/lib/rubocop/cop/chef/correctness/invalid_platform_family_values_in_case.rb +1 -1
  18. data/lib/rubocop/cop/chef/correctness/invalid_platform_helper.rb +2 -2
  19. data/lib/rubocop/cop/chef/correctness/invalid_platform_metadata.rb +2 -2
  20. data/lib/rubocop/cop/chef/correctness/invalid_platform_values_in_case.rb +2 -2
  21. data/lib/rubocop/cop/chef/correctness/invalid_value_for_platform_family_helper.rb +2 -2
  22. data/lib/rubocop/cop/chef/correctness/invalid_value_for_platform_helper.rb +2 -2
  23. data/lib/rubocop/cop/chef/correctness/invalid_version_metadata.rb +2 -2
  24. data/lib/rubocop/cop/chef/correctness/lazy_eval_node_attribute_defaults.rb +2 -2
  25. data/lib/rubocop/cop/chef/correctness/lazy_in_resource_guard.rb +2 -2
  26. data/lib/rubocop/cop/chef/correctness/macos_userdefaults_invalid_type.rb +2 -2
  27. data/lib/rubocop/cop/chef/correctness/malformed_value_for_platform.rb +3 -3
  28. data/lib/rubocop/cop/chef/correctness/metadata_malformed_version.rb +2 -2
  29. data/lib/rubocop/cop/chef/correctness/metadata_missing_name.rb +2 -2
  30. data/lib/rubocop/cop/chef/correctness/metadata_missing_version.rb +2 -2
  31. data/lib/rubocop/cop/chef/correctness/node_normal.rb +2 -2
  32. data/lib/rubocop/cop/chef/correctness/node_normal_unless.rb +2 -2
  33. data/lib/rubocop/cop/chef/correctness/node_save.rb +2 -2
  34. data/lib/rubocop/cop/chef/correctness/notifies_action_not_symbol.rb +2 -2
  35. data/lib/rubocop/cop/chef/correctness/octal_mode_as_string.rb +2 -2
  36. data/lib/rubocop/cop/chef/correctness/openssl_password_helpers.rb +2 -2
  37. data/lib/rubocop/cop/chef/correctness/powershell_delete_file.rb +1 -1
  38. data/lib/rubocop/cop/chef/correctness/powershell_file_exists.rb +4 -4
  39. data/lib/rubocop/cop/chef/correctness/property_without_type.rb +2 -2
  40. data/lib/rubocop/cop/chef/correctness/resource_sets_internal_properties.rb +2 -2
  41. data/lib/rubocop/cop/chef/correctness/resource_sets_name_property.rb +2 -2
  42. data/lib/rubocop/cop/chef/correctness/resource_with_none_action.rb +2 -2
  43. data/lib/rubocop/cop/chef/correctness/scoped_file_exist.rb +2 -2
  44. data/lib/rubocop/cop/chef/correctness/service_resource.rb +1 -1
  45. data/lib/rubocop/cop/chef/correctness/supports_must_be_float.rb +2 -2
  46. data/lib/rubocop/cop/chef/correctness/tmp_path.rb +2 -2
  47. data/lib/rubocop/cop/chef/deprecation/cb_depends_on_self.rb +2 -2
  48. data/lib/rubocop/cop/chef/deprecation/chef_handler_recipe.rb +1 -1
  49. data/lib/rubocop/cop/chef/deprecation/chef_handler_supports.rb +4 -4
  50. data/lib/rubocop/cop/chef/deprecation/chef_rest.rb +1 -1
  51. data/lib/rubocop/cop/chef/deprecation/chef_shellout.rb +2 -2
  52. data/lib/rubocop/cop/chef/deprecation/chef_sugar_helpers.rb +1 -1
  53. data/lib/rubocop/cop/chef/deprecation/chef_windows_platform_helper.rb +2 -2
  54. data/lib/rubocop/cop/chef/deprecation/chefdk_generators.rb +3 -3
  55. data/lib/rubocop/cop/chef/deprecation/chefspec_coverage_report.rb +1 -1
  56. data/lib/rubocop/cop/chef/deprecation/chefspec_legacy_runner.rb +2 -2
  57. data/lib/rubocop/cop/chef/deprecation/chocolatey_package_uninstall_action.rb +2 -2
  58. data/lib/rubocop/cop/chef/deprecation/depends_chef_nginx_cookbook.rb +4 -4
  59. data/lib/rubocop/cop/chef/deprecation/depends_chef_reporting_cookbook.rb +1 -1
  60. data/lib/rubocop/cop/chef/deprecation/depends_compat_resource.rb +1 -1
  61. data/lib/rubocop/cop/chef/deprecation/depends_omnibus_updater_cookbook.rb +2 -2
  62. data/lib/rubocop/cop/chef/deprecation/depends_partial_search.rb +1 -1
  63. data/lib/rubocop/cop/chef/deprecation/depends_poise.rb +1 -1
  64. data/lib/rubocop/cop/chef/deprecation/deprecated_chefspec_platform.rb +3 -3
  65. data/lib/rubocop/cop/chef/deprecation/deprecated_mixins.rb +1 -1
  66. data/lib/rubocop/cop/chef/deprecation/deprecated_platform_methods.rb +2 -2
  67. data/lib/rubocop/cop/chef/deprecation/deprecated_shellout_methods.rb +2 -2
  68. data/lib/rubocop/cop/chef/deprecation/deprecated_sudo_actions.rb +2 -2
  69. data/lib/rubocop/cop/chef/deprecation/deprecated_windows_version_check.rb +1 -1
  70. data/lib/rubocop/cop/chef/deprecation/deprecated_yum_repository_actions.rb +4 -4
  71. data/lib/rubocop/cop/chef/deprecation/deprecated_yum_repository_properties.rb +2 -2
  72. data/lib/rubocop/cop/chef/deprecation/easy_install.rb +1 -1
  73. data/lib/rubocop/cop/chef/deprecation/eol_audit_mode.rb +1 -1
  74. data/lib/rubocop/cop/chef/deprecation/epic_fail.rb +2 -2
  75. data/lib/rubocop/cop/chef/deprecation/erl_call.rb +2 -2
  76. data/lib/rubocop/cop/chef/deprecation/execute_path_property.rb +2 -2
  77. data/lib/rubocop/cop/chef/deprecation/execute_relative_creates_without_cwd.rb +4 -4
  78. data/lib/rubocop/cop/chef/deprecation/foodcritic_testing.rb +1 -1
  79. data/lib/rubocop/cop/chef/deprecation/hwrp_without_provides.rb +4 -4
  80. data/lib/rubocop/cop/chef/deprecation/hwrp_without_unified_mode_true.rb +3 -3
  81. data/lib/rubocop/cop/chef/deprecation/inherits_compat_resource.rb +8 -8
  82. data/lib/rubocop/cop/chef/deprecation/launchd_deprecated_hash_property.rb +2 -2
  83. data/lib/rubocop/cop/chef/deprecation/legacy_notify_syntax.rb +2 -2
  84. data/lib/rubocop/cop/chef/deprecation/legacy_yum_cookbook_recipes.rb +1 -1
  85. data/lib/rubocop/cop/chef/deprecation/librarian_chefspec.rb +1 -1
  86. data/lib/rubocop/cop/chef/deprecation/locale_lc_all_property.rb +3 -3
  87. data/lib/rubocop/cop/chef/deprecation/log_resource_notifications.rb +2 -2
  88. data/lib/rubocop/cop/chef/deprecation/macos_userdefaults_global_property.rb +2 -2
  89. data/lib/rubocop/cop/chef/deprecation/name_property_and_default.rb +2 -2
  90. data/lib/rubocop/cop/chef/deprecation/node_deep_fetch.rb +4 -4
  91. data/lib/rubocop/cop/chef/deprecation/node_methods_not_attributes.rb +2 -2
  92. data/lib/rubocop/cop/chef/deprecation/node_set.rb +2 -2
  93. data/lib/rubocop/cop/chef/deprecation/node_set_unless.rb +2 -2
  94. data/lib/rubocop/cop/chef/deprecation/node_set_without_level.rb +2 -2
  95. data/lib/rubocop/cop/chef/deprecation/partial_search_class_usage.rb +3 -3
  96. data/lib/rubocop/cop/chef/deprecation/partial_search_helper_usage.rb +2 -2
  97. data/lib/rubocop/cop/chef/deprecation/poise_archive.rb +2 -2
  98. data/lib/rubocop/cop/chef/deprecation/policyfile_community_source.rb +2 -2
  99. data/lib/rubocop/cop/chef/deprecation/powershell_cookbook_helpers.rb +2 -2
  100. data/lib/rubocop/cop/chef/deprecation/require_recipe.rb +2 -2
  101. data/lib/rubocop/cop/chef/deprecation/resource_overrides_provides_method.rb +2 -2
  102. data/lib/rubocop/cop/chef/deprecation/resource_uses_dsl_name_method.rb +4 -4
  103. data/lib/rubocop/cop/chef/deprecation/resource_uses_only_resource_name.rb +1 -1
  104. data/lib/rubocop/cop/chef/deprecation/resource_uses_provider_base_method.rb +1 -1
  105. data/lib/rubocop/cop/chef/deprecation/resource_uses_updated_method.rb +3 -2
  106. data/lib/rubocop/cop/chef/deprecation/resource_without_unified_mode_true.rb +3 -3
  107. data/lib/rubocop/cop/chef/deprecation/ruby_27_keyword_argument_warnings.rb +2 -2
  108. data/lib/rubocop/cop/chef/deprecation/ruby_block_create_action.rb +2 -2
  109. data/lib/rubocop/cop/chef/deprecation/run_command_helper.rb +2 -2
  110. data/lib/rubocop/cop/chef/deprecation/search_uses_positional_parameters.rb +8 -10
  111. data/lib/rubocop/cop/chef/deprecation/use_automatic_resource_name.rb +1 -1
  112. data/lib/rubocop/cop/chef/deprecation/use_inline_resources.rb +1 -1
  113. data/lib/rubocop/cop/chef/deprecation/use_yaml_dump.rb +2 -2
  114. data/lib/rubocop/cop/chef/deprecation/user_supports_property.rb +2 -2
  115. data/lib/rubocop/cop/chef/deprecation/verify_property_file_expansion.rb +2 -2
  116. data/lib/rubocop/cop/chef/deprecation/windows_feature_servermanagercmd.rb +2 -2
  117. data/lib/rubocop/cop/chef/deprecation/windows_package_installer_type_string.rb +2 -2
  118. data/lib/rubocop/cop/chef/deprecation/windows_task_change_action.rb +4 -4
  119. data/lib/rubocop/cop/chef/deprecation/windows_version_helpers.rb +2 -2
  120. data/lib/rubocop/cop/chef/deprecation/xml_ruby_recipe.rb +1 -1
  121. data/lib/rubocop/cop/chef/deprecation/yum_dnf_compat_recipe.rb +1 -1
  122. data/lib/rubocop/cop/chef/effortless/chef_vault_used.rb +6 -6
  123. data/lib/rubocop/cop/chef/effortless/data_bags.rb +1 -1
  124. data/lib/rubocop/cop/chef/effortless/depends_chef_vault.rb +1 -1
  125. data/lib/rubocop/cop/chef/effortless/node_environment.rb +2 -2
  126. data/lib/rubocop/cop/chef/effortless/node_policygroup.rb +1 -1
  127. data/lib/rubocop/cop/chef/effortless/node_roles.rb +2 -2
  128. data/lib/rubocop/cop/chef/effortless/search_for_environments_or_roles.rb +1 -1
  129. data/lib/rubocop/cop/chef/effortless/search_used.rb +1 -1
  130. data/lib/rubocop/cop/chef/modernize/action_method_in_resource.rb +2 -2
  131. data/lib/rubocop/cop/chef/modernize/allowed_actions_initializer.rb +2 -2
  132. data/lib/rubocop/cop/chef/modernize/apt_default_recipe.rb +2 -2
  133. data/lib/rubocop/cop/chef/modernize/berksfile_source.rb +2 -2
  134. data/lib/rubocop/cop/chef/modernize/build_essential.rb +2 -2
  135. data/lib/rubocop/cop/chef/modernize/chef_14_resources.rb +2 -2
  136. data/lib/rubocop/cop/chef/modernize/chef_15_resources.rb +1 -1
  137. data/lib/rubocop/cop/chef/modernize/chef_gem_nokogiri.rb +1 -1
  138. data/lib/rubocop/cop/chef/modernize/class_eval_action_class.rb +2 -2
  139. data/lib/rubocop/cop/chef/modernize/compile_time_resources.rb +2 -2
  140. data/lib/rubocop/cop/chef/modernize/conditional_using_test.rb +3 -3
  141. data/lib/rubocop/cop/chef/modernize/cron_d_file_or_template.rb +2 -2
  142. data/lib/rubocop/cop/chef/modernize/cron_manage_resource.rb +2 -2
  143. data/lib/rubocop/cop/chef/modernize/databag_helpers.rb +2 -2
  144. data/lib/rubocop/cop/chef/modernize/declare_action_class.rb +2 -2
  145. data/lib/rubocop/cop/chef/modernize/default_action_initializer.rb +5 -5
  146. data/lib/rubocop/cop/chef/modernize/defines_chefspec_matchers.rb +1 -1
  147. data/lib/rubocop/cop/chef/modernize/depends_chef_vault_cookbook.rb +1 -1
  148. data/lib/rubocop/cop/chef/modernize/depends_chocolatey_cookbooks.rb +1 -1
  149. data/lib/rubocop/cop/chef/modernize/depends_kernel_module_cookbook.rb +1 -1
  150. data/lib/rubocop/cop/chef/modernize/depends_locale_cookbook.rb +1 -1
  151. data/lib/rubocop/cop/chef/modernize/depends_openssl_cookbook.rb +1 -1
  152. data/lib/rubocop/cop/chef/modernize/depends_timezone_lwrp_cookbook.rb +1 -1
  153. data/lib/rubocop/cop/chef/modernize/depends_windows_firewall_cookbook.rb +1 -1
  154. data/lib/rubocop/cop/chef/modernize/depends_zypper_cookbook.rb +1 -1
  155. data/lib/rubocop/cop/chef/modernize/dsl_include_in_resource.rb +3 -3
  156. data/lib/rubocop/cop/chef/modernize/empty_resource_initialize.rb +1 -1
  157. data/lib/rubocop/cop/chef/modernize/execute_apt_update.rb +3 -3
  158. data/lib/rubocop/cop/chef/modernize/execute_sc_exe.rb +2 -2
  159. data/lib/rubocop/cop/chef/modernize/execute_sleep.rb +2 -2
  160. data/lib/rubocop/cop/chef/modernize/execute_sysctl.rb +2 -2
  161. data/lib/rubocop/cop/chef/modernize/execute_tzutil.rb +2 -2
  162. data/lib/rubocop/cop/chef/modernize/foodcritic_comments.rb +1 -1
  163. data/lib/rubocop/cop/chef/modernize/if_provides_default_action.rb +2 -2
  164. data/lib/rubocop/cop/chef/modernize/includes_mixin_shellout.rb +1 -1
  165. data/lib/rubocop/cop/chef/modernize/libarchive_file.rb +3 -3
  166. data/lib/rubocop/cop/chef/modernize/macos_user_defaults.rb +2 -2
  167. data/lib/rubocop/cop/chef/modernize/minitest_handler_usage.rb +1 -1
  168. data/lib/rubocop/cop/chef/modernize/node_init_package.rb +2 -2
  169. data/lib/rubocop/cop/chef/modernize/node_roles_include.rb +2 -2
  170. data/lib/rubocop/cop/chef/modernize/ohai_default_recipe.rb +1 -1
  171. data/lib/rubocop/cop/chef/modernize/openssl_rsa_key_resource.rb +2 -2
  172. data/lib/rubocop/cop/chef/modernize/openssl_x509_resource.rb +2 -2
  173. data/lib/rubocop/cop/chef/modernize/osx_config_profile_resource.rb +2 -2
  174. data/lib/rubocop/cop/chef/modernize/powershell_expand_archive.rb +1 -1
  175. data/lib/rubocop/cop/chef/modernize/powershell_guard_interpreter.rb +2 -2
  176. data/lib/rubocop/cop/chef/modernize/powershell_install_package.rb +3 -3
  177. data/lib/rubocop/cop/chef/modernize/powershell_install_windowsfeature.rb +6 -6
  178. data/lib/rubocop/cop/chef/modernize/property_with_name_attribute.rb +2 -2
  179. data/lib/rubocop/cop/chef/modernize/provides_initializer.rb +4 -4
  180. data/lib/rubocop/cop/chef/modernize/resource_name_initializer.rb +3 -3
  181. data/lib/rubocop/cop/chef/modernize/resource_set_or_return.rb +3 -3
  182. data/lib/rubocop/cop/chef/modernize/resource_with_attributes.rb +2 -2
  183. data/lib/rubocop/cop/chef/modernize/respond_to_compile_time.rb +2 -2
  184. data/lib/rubocop/cop/chef/modernize/respond_to_metadata.rb +3 -3
  185. data/lib/rubocop/cop/chef/modernize/respond_to_provides.rb +3 -3
  186. data/lib/rubocop/cop/chef/modernize/respond_to_resource_name.rb +2 -2
  187. data/lib/rubocop/cop/chef/modernize/sc_windows_resource.rb +2 -2
  188. data/lib/rubocop/cop/chef/modernize/seven_zip_archive.rb +1 -1
  189. data/lib/rubocop/cop/chef/modernize/shell_out_helper.rb +2 -2
  190. data/lib/rubocop/cop/chef/modernize/shellouts_to_chocolatey.rb +2 -2
  191. data/lib/rubocop/cop/chef/modernize/simplify_apt_ppa_setup.rb +14 -14
  192. data/lib/rubocop/cop/chef/modernize/sysctl_param_resource.rb +2 -2
  193. data/lib/rubocop/cop/chef/modernize/unnecessary_mixlib_shellout_require.rb +1 -1
  194. data/lib/rubocop/cop/chef/modernize/use_chef_language_cloud_helpers.rb +2 -2
  195. data/lib/rubocop/cop/chef/modernize/use_chef_language_env_helpers.rb +2 -2
  196. data/lib/rubocop/cop/chef/modernize/use_chef_language_systemd_helper.rb +2 -2
  197. data/lib/rubocop/cop/chef/modernize/use_multipackage_installs.rb +3 -3
  198. data/lib/rubocop/cop/chef/modernize/use_require_relative.rb +2 -2
  199. data/lib/rubocop/cop/chef/modernize/whyrun_supported_true.rb +1 -1
  200. data/lib/rubocop/cop/chef/modernize/windows_default_recipe.rb +2 -2
  201. data/lib/rubocop/cop/chef/modernize/windows_registry_uac.rb +2 -2
  202. data/lib/rubocop/cop/chef/modernize/windows_zipfile.rb +1 -1
  203. data/lib/rubocop/cop/chef/modernize/zipfile_resource.rb +1 -1
  204. data/lib/rubocop/cop/chef/modernize/zypper_repo.rb +2 -2
  205. data/lib/rubocop/cop/chef/redundant/apt_repository_distribution_default.rb +2 -2
  206. data/lib/rubocop/cop/chef/redundant/apt_repository_notifies_apt_update.rb +2 -2
  207. data/lib/rubocop/cop/chef/redundant/attribute_metadata.rb +1 -1
  208. data/lib/rubocop/cop/chef/redundant/conflicts_metadata.rb +1 -1
  209. data/lib/rubocop/cop/chef/redundant/custom_resource_with_allowed_actions.rb +1 -1
  210. data/lib/rubocop/cop/chef/redundant/double_compile_time.rb +2 -2
  211. data/lib/rubocop/cop/chef/redundant/grouping_metadata.rb +1 -1
  212. data/lib/rubocop/cop/chef/redundant/long_description_metadata.rb +1 -1
  213. data/lib/rubocop/cop/chef/redundant/multiple_platform_checks.rb +2 -2
  214. data/lib/rubocop/cop/chef/redundant/name_property_and_required.rb +4 -4
  215. data/lib/rubocop/cop/chef/redundant/ohai_attribute_to_string.rb +2 -2
  216. data/lib/rubocop/cop/chef/redundant/property_splat_regex.rb +3 -3
  217. data/lib/rubocop/cop/chef/redundant/property_with_default_and_required.rb +2 -2
  218. data/lib/rubocop/cop/chef/redundant/provides_metadata.rb +1 -1
  219. data/lib/rubocop/cop/chef/redundant/recipe_metadata.rb +1 -1
  220. data/lib/rubocop/cop/chef/redundant/replaces_metadata.rb +1 -1
  221. data/lib/rubocop/cop/chef/redundant/resource_with_nothing_action.rb +2 -2
  222. data/lib/rubocop/cop/chef/redundant/sensitive_property_in_resource.rb +2 -2
  223. data/lib/rubocop/cop/chef/redundant/string_property_with_nil_default.rb +2 -2
  224. data/lib/rubocop/cop/chef/redundant/suggests_metadata.rb +1 -1
  225. data/lib/rubocop/cop/chef/redundant/unnecessary_desired_state.rb +2 -2
  226. data/lib/rubocop/cop/chef/redundant/unnecessary_name_property.rb +1 -1
  227. data/lib/rubocop/cop/chef/redundant/use_create_if_missing.rb +2 -2
  228. data/lib/rubocop/cop/chef/security/ssh_private_key.rb +1 -1
  229. data/lib/rubocop/cop/chef/sharing/default_maintainer_metadata.rb +4 -3
  230. data/lib/rubocop/cop/chef/sharing/empty_metadata_field.rb +2 -2
  231. data/lib/rubocop/cop/chef/sharing/include_property_descriptions.rb +2 -2
  232. data/lib/rubocop/cop/chef/sharing/include_resource_descriptions.rb +1 -1
  233. data/lib/rubocop/cop/chef/sharing/include_resource_examples.rb +1 -1
  234. data/lib/rubocop/cop/chef/sharing/insecure_cookbook_url.rb +4 -4
  235. data/lib/rubocop/cop/chef/sharing/invalid_license_string.rb +288 -11
  236. data/lib/rubocop/cop/chef/style/attribute_keys.rb +4 -4
  237. data/lib/rubocop/cop/chef/style/chef_whaaat.rb +2 -2
  238. data/lib/rubocop/cop/chef/style/comments_copyright_format.rb +2 -2
  239. data/lib/rubocop/cop/chef/style/comments_default_copyright.rb +2 -2
  240. data/lib/rubocop/cop/chef/style/comments_format.rb +2 -2
  241. data/lib/rubocop/cop/chef/style/file_mode.rb +2 -2
  242. data/lib/rubocop/cop/chef/style/immediate_notification_timing.rb +2 -2
  243. data/lib/rubocop/cop/chef/style/include_recipe_with_parentheses.rb +2 -2
  244. data/lib/rubocop/cop/chef/style/negating_only_if.rb +2 -2
  245. data/lib/rubocop/cop/chef/style/overly_complex_supports_depends_metadata.rb +2 -2
  246. data/lib/rubocop/cop/chef/style/simplify_platform_major_version_check.rb +4 -4
  247. data/lib/rubocop/cop/chef/style/true_false_resource_properties.rb +2 -2
  248. data/lib/rubocop/cop/chef/style/unnecessary_os_check.rb +5 -5
  249. data/lib/rubocop/cop/chef/style/unnecessary_platform_case_statement.rb +2 -2
  250. data/lib/rubocop/cop/chef/style/use_platform_helpers.rb +3 -3
  251. data/lib/rubocop/cop/inspec/deprecation/attribute_default.rb +2 -2
  252. data/lib/rubocop/cop/inspec/deprecation/attribute_helper.rb +2 -2
  253. metadata +6 -10
@@ -19,30 +19,31 @@ module RuboCop
19
19
  module Cop
20
20
  module Chef
21
21
  module Sharing
22
- # metadata.rb license field should include a SPDX compliant string or "all right reserved" (not case sensitive)
22
+ # metadata.rb license field should include a SPDX compliant string or "all rights reserved" (not case sensitive)
23
23
  #
24
24
  # @example
25
25
  #
26
- # ### incorrect
26
+ # # bad
27
27
  # license 'Apache 2.0'
28
28
  #
29
- # ### correct
29
+ # # good
30
30
  # license 'Apache-2.0'
31
31
  # license 'all rights reserved'
32
32
  #
33
- # list of valid SPDX.org license strings. To build an array run this ruby:
34
- # ```ruby
35
- # require 'json'
36
- # require 'net/http'
37
- # json_data = JSON.parse(Net::HTTP.get(URI('https://raw.githubusercontent.com/spdx/license-list-data/master/json/licenses.json')))
38
- # licenses = json_data['licenses'].map {|l| l['licenseId'] }.sort
39
- # ```
40
- #
41
33
  class InvalidLicenseString < Base
42
34
  extend AutoCorrector
43
35
 
36
+ # list of valid SPDX.org license strings. To build an array run this ruby:
37
+ # ```ruby
38
+ # require 'net/http'
39
+ # json_data = JSON.parse(Net::HTTP.get(URI('https://raw.githubusercontent.com/spdx/license-list-data/master/json/licenses.json')))
40
+ # licenses = json_data['licenses'].map {|l| l['licenseId'] }.sort
41
+ # puts licenses
42
+ # ```
43
+ #
44
44
  VALID_LICENSE_STRING = %w(
45
45
  0BSD
46
+ 3D-Slicer-1.0
46
47
  AAL
47
48
  ADSL
48
49
  AFL-1.1
@@ -56,8 +57,11 @@ module RuboCop
56
57
  AGPL-3.0
57
58
  AGPL-3.0-only
58
59
  AGPL-3.0-or-later
60
+ ALGLIB-Documentation
61
+ AMD-newlib
59
62
  AMDPLPA
60
63
  AML
64
+ AML-glslang
61
65
  AMPAS
62
66
  ANTLR-PD
63
67
  ANTLR-PD-fallback
@@ -67,88 +71,148 @@ module RuboCop
67
71
  APSL-1.1
68
72
  APSL-1.2
69
73
  APSL-2.0
74
+ ASWF-Digital-Assets-1.0
75
+ ASWF-Digital-Assets-1.1
70
76
  Abstyles
77
+ AdaCore-doc
71
78
  Adobe-2006
79
+ Adobe-Display-PostScript
72
80
  Adobe-Glyph
81
+ Adobe-Utopia
82
+ Advanced-Cryptics-Dictionary
73
83
  Afmparse
74
84
  Aladdin
75
85
  Apache-1.0
76
86
  Apache-1.1
77
87
  Apache-2.0
88
+ App-s2p
89
+ Arphic-1999
78
90
  Artistic-1.0
79
91
  Artistic-1.0-Perl
80
92
  Artistic-1.0-cl8
81
93
  Artistic-2.0
94
+ Artistic-dist
95
+ Aspell-RU
82
96
  BSD-1-Clause
83
97
  BSD-2-Clause
98
+ BSD-2-Clause-Darwin
84
99
  BSD-2-Clause-FreeBSD
85
100
  BSD-2-Clause-NetBSD
86
101
  BSD-2-Clause-Patent
87
102
  BSD-2-Clause-Views
103
+ BSD-2-Clause-first-lines
104
+ BSD-2-Clause-pkgconf-disclaimer
88
105
  BSD-3-Clause
89
106
  BSD-3-Clause-Attribution
90
107
  BSD-3-Clause-Clear
108
+ BSD-3-Clause-HP
91
109
  BSD-3-Clause-LBNL
110
+ BSD-3-Clause-Modification
111
+ BSD-3-Clause-No-Military-License
92
112
  BSD-3-Clause-No-Nuclear-License
93
113
  BSD-3-Clause-No-Nuclear-License-2014
94
114
  BSD-3-Clause-No-Nuclear-Warranty
95
115
  BSD-3-Clause-Open-MPI
116
+ BSD-3-Clause-Sun
117
+ BSD-3-Clause-Tso
118
+ BSD-3-Clause-acpica
119
+ BSD-3-Clause-flex
96
120
  BSD-4-Clause
121
+ BSD-4-Clause-Shortened
97
122
  BSD-4-Clause-UC
123
+ BSD-4.3RENO
124
+ BSD-4.3TAHOE
125
+ BSD-Advertising-Acknowledgement
126
+ BSD-Attribution-HPND-disclaimer
127
+ BSD-Inferno-Nettverk
128
+ BSD-Mark-Modifications
98
129
  BSD-Protection
99
130
  BSD-Source-Code
131
+ BSD-Source-beginning-file
132
+ BSD-Systemics
133
+ BSD-Systemics-W3Works
100
134
  BSL-1.0
101
135
  BUSL-1.1
136
+ Baekmuk
102
137
  Bahyph
103
138
  Barr
104
139
  Beerware
105
140
  BitTorrent-1.0
106
141
  BitTorrent-1.1
142
+ Bitstream-Charter
143
+ Bitstream-Vera
107
144
  BlueOak-1.0.0
145
+ Boehm-GC
146
+ Boehm-GC-without-fee
108
147
  Borceux
148
+ Brian-Gladman-2-Clause
149
+ Brian-Gladman-3-Clause
150
+ Buddy
151
+ C-UDA-1.0
109
152
  CAL-1.0
110
153
  CAL-1.0-Combined-Work-Exception
154
+ CAPEC-tou
111
155
  CATOSL-1.1
112
156
  CC-BY-1.0
113
157
  CC-BY-2.0
114
158
  CC-BY-2.5
159
+ CC-BY-2.5-AU
115
160
  CC-BY-3.0
116
161
  CC-BY-3.0-AT
162
+ CC-BY-3.0-AU
163
+ CC-BY-3.0-DE
164
+ CC-BY-3.0-IGO
165
+ CC-BY-3.0-NL
117
166
  CC-BY-3.0-US
118
167
  CC-BY-4.0
119
168
  CC-BY-NC-1.0
120
169
  CC-BY-NC-2.0
121
170
  CC-BY-NC-2.5
122
171
  CC-BY-NC-3.0
172
+ CC-BY-NC-3.0-DE
123
173
  CC-BY-NC-4.0
124
174
  CC-BY-NC-ND-1.0
125
175
  CC-BY-NC-ND-2.0
126
176
  CC-BY-NC-ND-2.5
127
177
  CC-BY-NC-ND-3.0
178
+ CC-BY-NC-ND-3.0-DE
128
179
  CC-BY-NC-ND-3.0-IGO
129
180
  CC-BY-NC-ND-4.0
130
181
  CC-BY-NC-SA-1.0
131
182
  CC-BY-NC-SA-2.0
183
+ CC-BY-NC-SA-2.0-DE
184
+ CC-BY-NC-SA-2.0-FR
185
+ CC-BY-NC-SA-2.0-UK
132
186
  CC-BY-NC-SA-2.5
133
187
  CC-BY-NC-SA-3.0
188
+ CC-BY-NC-SA-3.0-DE
189
+ CC-BY-NC-SA-3.0-IGO
134
190
  CC-BY-NC-SA-4.0
135
191
  CC-BY-ND-1.0
136
192
  CC-BY-ND-2.0
137
193
  CC-BY-ND-2.5
138
194
  CC-BY-ND-3.0
195
+ CC-BY-ND-3.0-DE
139
196
  CC-BY-ND-4.0
140
197
  CC-BY-SA-1.0
141
198
  CC-BY-SA-2.0
142
199
  CC-BY-SA-2.0-UK
200
+ CC-BY-SA-2.1-JP
143
201
  CC-BY-SA-2.5
144
202
  CC-BY-SA-3.0
145
203
  CC-BY-SA-3.0-AT
204
+ CC-BY-SA-3.0-DE
205
+ CC-BY-SA-3.0-IGO
146
206
  CC-BY-SA-4.0
147
207
  CC-PDDC
208
+ CC-PDM-1.0
209
+ CC-SA-1.0
148
210
  CC0-1.0
149
211
  CDDL-1.0
150
212
  CDDL-1.1
213
+ CDL-1.0
151
214
  CDLA-Permissive-1.0
215
+ CDLA-Permissive-2.0
152
216
  CDLA-Sharing-1.0
153
217
  CECILL-1.0
154
218
  CECILL-1.1
@@ -161,22 +225,42 @@ module RuboCop
161
225
  CERN-OHL-P-2.0
162
226
  CERN-OHL-S-2.0
163
227
  CERN-OHL-W-2.0
228
+ CFITSIO
229
+ CMU-Mach
230
+ CMU-Mach-nodoc
164
231
  CNRI-Jython
165
232
  CNRI-Python
166
233
  CNRI-Python-GPL-Compatible
234
+ COIL-1.0
167
235
  CPAL-1.0
168
236
  CPL-1.0
169
237
  CPOL-1.02
170
238
  CUA-OPL-1.0
171
239
  Caldera
240
+ Caldera-no-preamble
241
+ Catharon
172
242
  ClArtistic
243
+ Clips
244
+ Community-Spec-1.0
173
245
  Condor-1.1
246
+ Cornell-Lossless-JPEG
247
+ Cronyx
174
248
  Crossword
249
+ CryptoSwift
175
250
  CrystalStacker
176
251
  Cube
177
252
  D-FSL-1.0
253
+ DEC-3-Clause
254
+ DL-DE-BY-2.0
255
+ DL-DE-ZERO-2.0
178
256
  DOC
257
+ DRL-1.0
258
+ DRL-1.1
179
259
  DSDP
260
+ DocBook-DTD
261
+ DocBook-Schema
262
+ DocBook-Stylesheet
263
+ DocBook-XML
180
264
  Dotseqn
181
265
  ECL-1.0
182
266
  ECL-2.0
@@ -185,20 +269,36 @@ module RuboCop
185
269
  EPICS
186
270
  EPL-1.0
187
271
  EPL-2.0
272
+ ESA-PL-permissive-2.4
273
+ ESA-PL-strong-copyleft-2.4
274
+ ESA-PL-weak-copyleft-2.4
188
275
  EUDatagrid
189
276
  EUPL-1.0
190
277
  EUPL-1.1
191
278
  EUPL-1.2
279
+ Elastic-2.0
192
280
  Entessa
193
281
  ErlPL-1.1
194
282
  Eurosym
283
+ FBM
284
+ FDK-AAC
195
285
  FSFAP
286
+ FSFAP-no-warranty-disclaimer
196
287
  FSFUL
197
288
  FSFULLR
289
+ FSFULLRSD
290
+ FSFULLRWD
291
+ FSL-1.1-ALv2
292
+ FSL-1.1-MIT
198
293
  FTL
199
294
  Fair
295
+ Ferguson-Twofish
200
296
  Frameworx-1.0
297
+ FreeBSD-DOC
201
298
  FreeImage
299
+ Furuseth
300
+ GCR-docs
301
+ GD
202
302
  GFDL-1.1
203
303
  GFDL-1.1-invariants-only
204
304
  GFDL-1.1-invariants-or-later
@@ -241,29 +341,71 @@ module RuboCop
241
341
  GPL-3.0-or-later
242
342
  GPL-3.0-with-GCC-exception
243
343
  GPL-3.0-with-autoconf-exception
344
+ Game-Programming-Gems
244
345
  Giftware
245
346
  Glide
246
347
  Glulxe
348
+ Graphics-Gems
349
+ Gutmann
350
+ HDF5
351
+ HIDAPI
352
+ HP-1986
353
+ HP-1989
247
354
  HPND
355
+ HPND-DEC
356
+ HPND-Fenneberg-Livingston
357
+ HPND-INRIA-IMAG
358
+ HPND-Intel
359
+ HPND-Kevlin-Henney
360
+ HPND-MIT-disclaimer
361
+ HPND-Markus-Kuhn
362
+ HPND-Netrek
363
+ HPND-Pbmplus
364
+ HPND-SMC
365
+ HPND-UC
366
+ HPND-UC-export-US
367
+ HPND-doc
368
+ HPND-doc-sell
369
+ HPND-export-US
370
+ HPND-export-US-acknowledgement
371
+ HPND-export-US-modify
372
+ HPND-export2-US
373
+ HPND-merchantability-variant
374
+ HPND-sell-MIT-disclaimer-xserver
375
+ HPND-sell-regexpr
248
376
  HPND-sell-variant
377
+ HPND-sell-variant-MIT-disclaimer
378
+ HPND-sell-variant-MIT-disclaimer-rev
379
+ HPND-sell-variant-critical-systems
249
380
  HTMLTIDY
250
381
  HaskellReport
251
382
  Hippocratic-2.1
252
383
  IBM-pibs
253
384
  ICU
385
+ IEC-Code-Components-EULA
254
386
  IJG
387
+ IJG-short
255
388
  IPA
256
389
  IPL-1.0
257
390
  ISC
391
+ ISC-Veillard
392
+ ISO-permission
258
393
  ImageMagick
259
394
  Imlib2
260
395
  Info-ZIP
396
+ Inner-Net-2.0
397
+ InnoSetup
261
398
  Intel
262
399
  Intel-ACPI
263
400
  Interbase-1.0
401
+ JPL-image
264
402
  JPNIC
265
403
  JSON
404
+ Jam
266
405
  JasPer-2.0
406
+ Kastrup
407
+ Kazlib
408
+ Knuth-CTAN
267
409
  LAL-1.2
268
410
  LAL-1.3
269
411
  LGPL-2.0
@@ -279,6 +421,8 @@ module RuboCop
279
421
  LGPL-3.0-only
280
422
  LGPL-3.0-or-later
281
423
  LGPLLR
424
+ LOOP
425
+ LPD-document
282
426
  LPL-1.0
283
427
  LPL-1.02
284
428
  LPPL-1.0
@@ -286,49 +430,82 @@ module RuboCop
286
430
  LPPL-1.2
287
431
  LPPL-1.3a
288
432
  LPPL-1.3c
433
+ LZMA-SDK-9.11-to-9.20
434
+ LZMA-SDK-9.22
289
435
  Latex2e
436
+ Latex2e-translated-notice
290
437
  Leptonica
291
438
  LiLiQ-P-1.1
292
439
  LiLiQ-R-1.1
293
440
  LiLiQ-Rplus-1.1
294
441
  Libpng
295
442
  Linux-OpenIB
443
+ Linux-man-pages-1-para
444
+ Linux-man-pages-copyleft
445
+ Linux-man-pages-copyleft-2-para
446
+ Linux-man-pages-copyleft-var
447
+ Lucida-Bitmap-Fonts
448
+ MIPS
296
449
  MIT
297
450
  MIT-0
298
451
  MIT-CMU
452
+ MIT-Click
453
+ MIT-Festival
454
+ MIT-Khronos-old
455
+ MIT-Modern-Variant
456
+ MIT-STK
457
+ MIT-Wu
299
458
  MIT-advertising
300
459
  MIT-enna
301
460
  MIT-feh
302
461
  MIT-open-group
462
+ MIT-testregex
303
463
  MITNFA
464
+ MMIXware
465
+ MMPL-1.0.1
466
+ MPEG-SSG
304
467
  MPL-1.0
305
468
  MPL-1.1
306
469
  MPL-2.0
307
470
  MPL-2.0-no-copyleft-exception
471
+ MS-LPL
308
472
  MS-PL
309
473
  MS-RL
310
474
  MTLL
475
+ Mackerras-3-Clause
476
+ Mackerras-3-Clause-acknowledgment
311
477
  MakeIndex
478
+ Martin-Birgmeier
479
+ McPhee-slideshow
480
+ Minpack
312
481
  MirOS
313
482
  Motosoto
314
483
  MulanPSL-1.0
315
484
  MulanPSL-2.0
316
485
  Multics
317
486
  Mup
487
+ NAIST-2003
318
488
  NASA-1.3
319
489
  NBPL-1.0
490
+ NCBI-PD
320
491
  NCGL-UK-2.0
492
+ NCL
321
493
  NCSA
322
494
  NGPL
495
+ NICTA-1.0
323
496
  NIST-PD
497
+ NIST-PD-TNT
324
498
  NIST-PD-fallback
499
+ NIST-Software
325
500
  NLOD-1.0
501
+ NLOD-2.0
326
502
  NLPL
327
503
  NOSL
328
504
  NPL-1.0
329
505
  NPL-1.1
330
506
  NPOSL-3.0
331
507
  NRL
508
+ NTIA-PD
332
509
  NTP
333
510
  NTP-0
334
511
  Naumen
@@ -339,10 +516,12 @@ module RuboCop
339
516
  Noweb
340
517
  Nunit
341
518
  O-UDA-1.0
519
+ OAR
342
520
  OCCT-PL
343
521
  OCLC-2.0
344
522
  ODC-By-1.0
345
523
  ODbL-1.0
524
+ OFFIS
346
525
  OFL-1.0
347
526
  OFL-1.0-RFN
348
527
  OFL-1.0-no-RFN
@@ -350,6 +529,7 @@ module RuboCop
350
529
  OFL-1.1-RFN
351
530
  OFL-1.1-no-RFN
352
531
  OGC-1.0
532
+ OGDL-Taiwan-1.0
353
533
  OGL-Canada-2.0
354
534
  OGL-UK-1.0
355
535
  OGL-UK-2.0
@@ -371,27 +551,41 @@ module RuboCop
371
551
  OLDAP-2.6
372
552
  OLDAP-2.7
373
553
  OLDAP-2.8
554
+ OLFL-1.3
374
555
  OML
375
556
  OPL-1.0
557
+ OPL-UK-3.0
558
+ OPUBL-1.0
376
559
  OSET-PL-2.1
377
560
  OSL-1.0
378
561
  OSL-1.1
379
562
  OSL-2.0
380
563
  OSL-2.1
381
564
  OSL-3.0
565
+ OSSP
566
+ OpenMDW-1.0
567
+ OpenPBS-2.3
382
568
  OpenSSL
569
+ OpenSSL-standalone
570
+ OpenVision
571
+ PADL
383
572
  PDDL-1.0
384
573
  PHP-3.0
385
574
  PHP-3.01
575
+ PPL
386
576
  PSF-2.0
577
+ ParaType-Free-Font-1.3
387
578
  Parity-6.0.0
388
579
  Parity-7.0.0
580
+ Pixar
389
581
  Plexus
390
582
  PolyForm-Noncommercial-1.0.0
391
583
  PolyForm-Small-Business-1.0.0
392
584
  PostgreSQL
393
585
  Python-2.0
586
+ Python-2.0.1
394
587
  QPL-1.0
588
+ QPL-1.0-INRIA-2004
395
589
  Qhull
396
590
  RHeCos-1.1
397
591
  RPL-1.1
@@ -401,60 +595,104 @@ module RuboCop
401
595
  RSCPL
402
596
  Rdisc
403
597
  Ruby
598
+ Ruby-pty
404
599
  SAX-PD
600
+ SAX-PD-2.0
405
601
  SCEA
406
602
  SGI-B-1.0
407
603
  SGI-B-1.1
408
604
  SGI-B-2.0
605
+ SGI-OpenGL
606
+ SGMLUG-PM
607
+ SGP4
409
608
  SHL-0.5
410
609
  SHL-0.51
411
610
  SISSL
412
611
  SISSL-1.2
612
+ SL
613
+ SMAIL-GPL
413
614
  SMLNJ
414
615
  SMPPL
415
616
  SNIA
617
+ SOFA
416
618
  SPL-1.0
417
619
  SSH-OpenSSH
418
620
  SSH-short
621
+ SSLeay-standalone
419
622
  SSPL-1.0
623
+ SUL-1.0
420
624
  SWL
421
625
  Saxpath
626
+ SchemeReport
422
627
  Sendmail
423
628
  Sendmail-8.23
629
+ Sendmail-Open-Source-1.1
424
630
  SimPL-2.0
425
631
  Sleepycat
632
+ Soundex
426
633
  Spencer-86
427
634
  Spencer-94
428
635
  Spencer-99
429
636
  StandardML-NJ
430
637
  SugarCRM-1.1.3
638
+ Sun-PPP
639
+ Sun-PPP-2000
640
+ SunPro
641
+ Symlinks
431
642
  TAPR-OHL-1.0
432
643
  TCL
433
644
  TCP-wrappers
645
+ TGPPL-1.0
434
646
  TMate
435
647
  TORQUE-1.1
436
648
  TOSL
649
+ TPDL
650
+ TPL-1.0
651
+ TTWL
652
+ TTYP0
437
653
  TU-Berlin-1.0
438
654
  TU-Berlin-2.0
655
+ TekHVC
656
+ TermReadKey
657
+ ThirdEye
658
+ TrustedQSL
659
+ UCAR
439
660
  UCL-1.0
661
+ UMich-Merit
440
662
  UPL-1.0
663
+ URT-RLE
664
+ Ubuntu-font-1.0
665
+ UnRAR
666
+ Unicode-3.0
441
667
  Unicode-DFS-2015
442
668
  Unicode-DFS-2016
443
669
  Unicode-TOU
670
+ UnixCrypt
444
671
  Unlicense
672
+ Unlicense-libtelnet
673
+ Unlicense-libwhirlpool
445
674
  VOSTROM
446
675
  VSL-1.0
447
676
  Vim
677
+ Vixie-Cron
448
678
  W3C
449
679
  W3C-19980720
450
680
  W3C-20150513
681
+ WTFNMFPL
451
682
  WTFPL
452
683
  Watcom-1.0
684
+ Widget-Workshop
685
+ WordNet
453
686
  Wsuipa
454
687
  X11
688
+ X11-distribute-modifications-variant
689
+ X11-no-permit-persons
690
+ X11-swapped
455
691
  XFree86-1.1
456
692
  XSkat
693
+ Xdebug-1.03
457
694
  Xerox
695
+ Xfig
458
696
  Xnet
459
697
  YPL-1.0
460
698
  YPL-1.1
@@ -462,33 +700,72 @@ module RuboCop
462
700
  ZPL-2.0
463
701
  ZPL-2.1
464
702
  Zed
703
+ Zeeff
465
704
  Zend-2.0
466
705
  Zimbra-1.3
467
706
  Zimbra-1.4
468
707
  Zlib
708
+ any-OSI
709
+ any-OSI-perl-modules
710
+ bcrypt-Solar-Designer
469
711
  blessing
470
712
  bzip2-1.0.5
471
713
  bzip2-1.0.6
714
+ check-cvs
715
+ checkmk
472
716
  copyleft-next-0.3.0
473
717
  copyleft-next-0.3.1
474
718
  curl
719
+ cve-tou
475
720
  diffmark
721
+ dtoa
476
722
  dvipdfm
477
723
  eCos-2.0
478
724
  eGenix
479
725
  etalab-2.0
726
+ fwlw
480
727
  gSOAP-1.3b
728
+ generic-xts
481
729
  gnuplot
730
+ gtkbook
731
+ hdparm
732
+ hyphen-bulgarian
482
733
  iMatix
734
+ jove
735
+ libpng-1.6.35
483
736
  libpng-2.0
484
737
  libselinux-1.0
485
738
  libtiff
739
+ libutil-David-Nugent
740
+ lsof
741
+ magaz
742
+ mailprio
743
+ man2html
744
+ metamail
745
+ mpi-permissive
486
746
  mpich2
747
+ mplus
748
+ ngrep
749
+ pkgconf
750
+ pnmstitch
487
751
  psfrag
488
752
  psutils
753
+ python-ldap
754
+ radvd
755
+ snprintf
756
+ softSurfer
757
+ ssh-keyscan
758
+ swrule
759
+ threeparttable
760
+ ulem
761
+ w3m
762
+ wwl
489
763
  wxWindows
490
764
  xinetd
765
+ xkeyboard-config-Zinoviev
766
+ xlock
491
767
  xpp
768
+ xzoom
492
769
  zlib-acknowledgement
493
770
  ).freeze
494
771
 
@@ -24,19 +24,19 @@ module RuboCop
24
24
  #
25
25
  # @example when configuration is `EnforcedStyle: symbols`
26
26
  #
27
- # ### incorrect
27
+ # # bad
28
28
  # node['foo']
29
29
  # node["foo"]
30
30
  #
31
- # ### correct
31
+ # # good
32
32
  # node[:foo]
33
33
  #
34
34
  # @example when configuration is `EnforcedStyle: strings`
35
35
  #
36
- # ### incorrect
36
+ # # bad
37
37
  # node[:foo]
38
38
  #
39
- # ### correct
39
+ # # good
40
40
  # node['foo']
41
41
  # node["foo"]
42
42
  #
@@ -23,11 +23,11 @@ module RuboCop
23
23
  #
24
24
  # @example
25
25
  #
26
- # ### incorrect
26
+ # # bad
27
27
  # Chef makes software
28
28
  # Chef configures your systems
29
29
  #
30
- # ### correct
30
+ # # good
31
31
  # Chef Software makes software
32
32
  # Chef Infra configures your systems
33
33
  #