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' 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