From bbd269cbf0c3e3cb4ea98aefeba4997dd6f0f274 Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Wed, 27 Oct 2021 07:27:12 -0700 Subject: [PATCH 1/2] Vendor rubocop-1.22.3 upstream configuration. Obvious fix; these changes are the result of automation not creative thinking. --- config/upstream.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/upstream.yml b/config/upstream.yml index 84b6c85..0828cb9 100644 --- a/config/upstream.yml +++ b/config/upstream.yml @@ -1568,6 +1568,7 @@ Lint/DeprecatedConstants: Description: 'Checks for deprecated constants.' Enabled: pending VersionAdded: '1.8' + VersionChanged: '1.22' # You can configure deprecated constants. # If there is an alternative method, you can set alternative value as `Alternative`. # And you can set the deprecated version as `DeprecatedVersion`. @@ -1588,6 +1589,9 @@ Lint/DeprecatedConstants: 'FALSE': Alternative: 'false' DeprecatedVersion: '2.4' + 'Net::HTTPServerException': + Alternative: 'Net::HTTPClientException' + DeprecatedVersion: '2.6' 'Random::DEFAULT': Alternative: 'Random.new' DeprecatedVersion: '3.0' From 3a96923037290376496ad4ad7bc69d3ed58d55b1 Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Wed, 27 Oct 2021 07:27:13 -0700 Subject: [PATCH 2/2] Update RuboCop to 1.22.3 Signed-off-by: Tim Smith --- lib/chefstyle/version.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/chefstyle/version.rb b/lib/chefstyle/version.rb index 6ecff22..98bef3c 100644 --- a/lib/chefstyle/version.rb +++ b/lib/chefstyle/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Chefstyle VERSION = "2.1.1" - RUBOCOP_VERSION = "1.22.2" + RUBOCOP_VERSION = "1.22.3" end