diff --git a/CHANGELOG.md b/CHANGELOG.md index 73287a3d..9a052d81 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ ## 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` - resolved cookstyle error: spec/unit/recipes/default_spec.rb:72:7 warning: `ChefDeprecations/DeprecatedChefSpecPlatform` diff --git a/resources/inspec_gem.rb b/resources/inspec_gem.rb index 51c05fb3..9ab540b4 100644 --- a/resources/inspec_gem.rb +++ b/resources/inspec_gem.rb @@ -1,4 +1,5 @@ provides :inspec_gem +unified_mode true resource_name :inspec_gem property :gem_name, String, name_property: true 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'