diff options
-rw-r--r-- | .rubocop.yml | 10 | ||||
-rw-r--r-- | Gemfile.lock | 12 |
2 files changed, 16 insertions, 6 deletions
diff --git a/.rubocop.yml b/.rubocop.yml index b4fac0c953..26d10359c5 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -32,6 +32,16 @@ Lint/DeprecatedConstants: Exclude: - chef/lib/chef/node/attribute.rb # false alarms + +# This cop shouldn't alert on the helper / specs itself +Chef/Ruby/LegacyPowershellOutMethods: + Exclude: + - 'lib/chef/mixin/powershell_out.rb' + - 'spec/functional/mixin/powershell_out_spec.rb' + - 'spec/unit/mixin/powershell_out_spec.rb' + - 'lib/chef/resource/windows_feature_powershell.rb' # https://github.com/chef/chef/issues/10927 + - 'lib/chef/provider/package/powershell.rb' # https://github.com/chef/chef/issues/10926 + # set additional paths Chef/Ruby/UnlessDefinedRequire: Include: diff --git a/Gemfile.lock b/Gemfile.lock index 47ddea258b..11db0e5240 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,10 +1,10 @@ GIT remote: https://github.com/chef/chefstyle.git - revision: a226b7d33c2119003dc47839e8c5559a22bf5ab9 + revision: b5cb2d3e4bbcb77fb5c6ed3357e89c670d64682f branch: master specs: - chefstyle (1.5.9) - rubocop (= 1.7.0) + chefstyle (1.6.0) + rubocop (= 1.8.1) GIT remote: https://github.com/chef/ohai.git @@ -307,15 +307,15 @@ GEM diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.9.0) rspec-support (3.9.4) - rubocop (1.7.0) + rubocop (1.8.1) parallel (~> 1.10) - parser (>= 2.7.1.5) + parser (>= 3.0.0.0) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 1.8, < 3.0) rexml rubocop-ast (>= 1.2.0, < 2.0) ruby-progressbar (~> 1.7) - unicode-display_width (>= 1.4.0, < 2.0) + unicode-display_width (>= 1.4.0, < 3.0) rubocop-ast (1.4.1) parser (>= 2.7.1.5) ruby-prof (1.2.0) |