-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump version to 7.32.7 by Chef Expeditor
Obvious fix; these changes are the result of automation not creative thinking.
- Loading branch information
Showing
9 changed files
with
75 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
7.32.6 | ||
7.32.7 |
14 changes: 14 additions & 0 deletions
14
docs-chef-io/assets/cookstyle/cops_chef_ruby_gemspeclicense.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
short_name: GemspecLicense | ||
full_name: Chef/Ruby/GemspecLicense | ||
department: Chef/Ruby | ||
description: All gemspec files should define their license. | ||
autocorrection: false | ||
target_chef_version: All Versions | ||
examples: |2- | ||
# good | ||
spec.license = "Apache-2.0" | ||
``` | ||
version_added: | ||
enabled: false |
11 changes: 11 additions & 0 deletions
11
docs-chef-io/assets/cookstyle/cops_chef_ruby_gemspecrequirerubygems.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
short_name: GemspecRequireRubygems | ||
full_name: Chef/Ruby/GemspecRequireRubygems | ||
department: Chef/Ruby | ||
description: Rubygems does not need to be required in a Gemspec. It's already loaded | ||
out of the box in Ruby now. | ||
autocorrection: true | ||
target_chef_version: All Versions | ||
examples: | ||
version_added: | ||
enabled: false |
12 changes: 12 additions & 0 deletions
12
docs-chef-io/assets/cookstyle/cops_chef_ruby_legacypowershelloutmethods.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
short_name: LegacyPowershellOutMethods | ||
full_name: Chef/Ruby/LegacyPowershellOutMethods | ||
department: Chef/Ruby | ||
description: |- | ||
Use powershell_exec!/powershell_exec instead of powershell_out!/powershell_out. The new | ||
methods don't spawn 2 shells per shellout and instead use .NET bindings to call PS directly. | ||
autocorrection: false | ||
target_chef_version: All Versions | ||
examples: | ||
version_added: | ||
enabled: false |
19 changes: 19 additions & 0 deletions
19
docs-chef-io/assets/cookstyle/cops_chef_ruby_requirenethttps.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
short_name: RequireNetHttps | ||
full_name: Chef/Ruby/RequireNetHttps | ||
department: Chef/Ruby | ||
description: net/https is deprecated and just includes net/http and openssl. We should | ||
include those directly instead. | ||
autocorrection: true | ||
target_chef_version: All Versions | ||
examples: |2- | ||
# bad | ||
require 'net/https' | ||
# good | ||
require 'net/http' | ||
require 'openssl' | ||
``` | ||
version_added: | ||
enabled: false |
12 changes: 12 additions & 0 deletions
12
docs-chef-io/assets/cookstyle/cops_chef_ruby_unlessdefinedrequire.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
short_name: UnlessDefinedRequire | ||
full_name: Chef/Ruby/UnlessDefinedRequire | ||
department: Chef/Ruby | ||
description: |- | ||
Rubygems is VERY slow to require gems even if they've already been loaded. To work around this | ||
wrap your require statement with an `if defined?()` check. | ||
autocorrection: true | ||
target_chef_version: All Versions | ||
examples: | ||
version_added: | ||
enabled: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# frozen_string_literal: true | ||
module Cookstyle | ||
VERSION = "7.32.6" # rubocop: disable Style/StringLiterals | ||
VERSION = "7.32.7" # rubocop: disable Style/StringLiterals | ||
RUBOCOP_VERSION = '1.25.1' | ||
end |