Skip to content

Commit

Permalink
Bump version to 7.25.7 by Chef Expeditor
Browse files Browse the repository at this point in the history
Obvious fix; these changes are the result of automation not creative thinking.
  • Loading branch information
chef-ci committed Oct 11, 2021
1 parent 6445a4f commit cd84217
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 5 deletions.
12 changes: 10 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
# Cookstyle Changelog

<!-- latest_release -->
<!-- latest_release 7.25.7 -->
## [v7.25.7](https://github.com/chef/cookstyle/tree/v7.25.7) (2021-10-11)

#### Merged Pull Requests
- Update to RuboCop 1.22.1 [#914](https://github.com/chef/cookstyle/pull/914) ([tas50](https://github.com/tas50))
<!-- latest_release -->

<!-- release_rollup -->
<!-- release_rollup since=7.25.6 -->
### Changes not yet released to rubygems.org

#### Merged Pull Requests
- Update to RuboCop 1.22.1 [#914](https://github.com/chef/cookstyle/pull/914) ([tas50](https://github.com/tas50)) <!-- 7.25.7 -->
<!-- release_rollup -->

<!-- latest_stable_release -->
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

Cookstyle is a [code linting](https://en.wikipedia.org/wiki/Lint_%28software%29) tool that helps you to write better Chef Infra cookbooks by detecting and automatically correcting style, syntax, and logic mistakes in your code.

Cookstyle is powered by the [RuboCop](http://www.rubocop.org) linting engine. RuboCop ships with over three-hundred rules, or cops, designed to detect common Ruby coding mistakes and enforce a common coding style. We've customized Cookstyle with a subset of those cops that we believe are perfectly tailored for cookbook development. We also ship **248 Chef Infra specific cops** that catch common cookbook coding mistakes, cleanup portions of code that are no longer necessary, and detect deprecations that prevent cookbooks from running on the latest releases of Chef Infra Client.
Cookstyle is powered by the [RuboCop](http://www.rubocop.org) linting engine. RuboCop ships with over three-hundred rules, or cops, designed to detect common Ruby coding mistakes and enforce a common coding style. We've customized Cookstyle with a subset of those cops that we believe are perfectly tailored for cookbook development. We also ship **249 Chef Infra specific cops** that catch common cookbook coding mistakes, cleanup portions of code that are no longer necessary, and detect deprecations that prevent cookbooks from running on the latest releases of Chef Infra Client.

For complete usage documentation along with documentation for all the included cops see https://docs.chef.io/workstation/cookstyle/

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.25.6
7.25.7
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
short_name: DeclareActionClass
full_name: Chef/Modernize/DeclareActionClass
department: Chef/Modernize
description: In Chef Infra Client 12.9 and later `action_class` can be used instead
of `declare_action_class`.
autocorrection: true
target_chef_version: 12.9+
examples: |2-
#### incorrect
```ruby
declare_action_class do
foo
end
```
#### correct
```ruby
action_class do
foo
end
```
version_added: 7.26.0
enabled: true
included_file_paths:
- "**/resources/*.rb"
- "**/libraries/*.rb"
2 changes: 1 addition & 1 deletion lib/cookstyle/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true
module Cookstyle
VERSION = "7.25.6" # rubocop: disable Style/StringLiterals
VERSION = "7.25.7" # rubocop: disable Style/StringLiterals
RUBOCOP_VERSION = '1.22.1'
end

0 comments on commit cd84217

Please sign in to comment.