Skip to content

Commit

Permalink
Merge pull request #454 from chef-cookbooks/automated/cookstyle
Browse files Browse the repository at this point in the history
Automated PR: Cookstyle Changes
  • Loading branch information
tas50 authored Aug 12, 2021
2 parents e37430d + 8278d3b commit 8d422c0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
1 change: 1 addition & 0 deletions resources/inspec_gem.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
provides :inspec_gem
unified_mode true
resource_name :inspec_gem

property :gem_name, String, name_property: true
Expand Down
4 changes: 2 additions & 2 deletions tasks/changelog.rake
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 8d422c0

Please sign in to comment.