From 8278d3ba903313cb8ab134f16822e31d3081678c Mon Sep 17 00:00:00 2001 From: Xorima Bot Date: Thu, 12 Aug 2021 17:02:37 +0000 Subject: [PATCH] Cookstyle 7.17.0 Fixes Issues found and resolved with: tasks/changelog.rake - 48:25 convention: Style/WordArray - Use [] for an array of words. https://rubystyle.guidepercent-w - 49:33 convention: Style/WordArray - Use [] for an array of words. https://rubystyle.guidepercent-w Signed-off-by: Xorima Bot --- CHANGELOG.md | 2 ++ tasks/changelog.rake | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f195c7e2..9a052d81 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Unreleased +- resolved cookstyle error: tasks/changelog.rake:48:25 convention: `Style/WordArray` +- resolved cookstyle error: tasks/changelog.rake:49:33 convention: `Style/WordArray` - resolved cookstyle error: resources/inspec_gem.rb:1:1 refactor: `Chef/Deprecations/ResourceWithoutUnifiedTrue` - resolved cookstyle error: spec/unit/recipes/default_spec.rb:40:7 warning: `ChefDeprecations/DeprecatedChefSpecPlatform` - resolved cookstyle error: spec/unit/recipes/default_spec.rb:56:7 warning: `ChefDeprecations/DeprecatedChefSpecPlatform` diff --git a/tasks/changelog.rake b/tasks/changelog.rake index ec4db46e..7d9ffb00 100644 --- a/tasks/changelog.rake +++ b/tasks/changelog.rake @@ -45,8 +45,8 @@ begin config.future_release = "v#{metadata.version}" config.user = 'chef-cookbooks' config.project = 'audit' - config.bug_labels = %w(bug Bug Type:\ Bug ) - config.enhancement_labels = %w(enhancement Enhancement Type:\ Enhancement ) + config.bug_labels = ['bug', 'Bug', 'Type: Bug'] + config.enhancement_labels = ['enhancement', 'Enhancement', 'Type: Enhancement'] end rescue LoadError puts 'Problem loading gems please install chef and github_changelog_generator'