From 657a320e53a6b6fe0980d17185eb543b66b71828 Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Fri, 22 Oct 2021 11:54:09 -0700 Subject: [PATCH 1/2] Vendor rubocop-1.22.2 upstream configuration. Obvious fix; these changes are the result of automation not creative thinking. --- config/upstream.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/config/upstream.yml b/config/upstream.yml index b9c4e8b5..84b6c855 100644 --- a/config/upstream.yml +++ b/config/upstream.yml @@ -262,7 +262,7 @@ Gemspec/RequiredRubyVersion: Description: 'Checks that `required_ruby_version` of gemspec is specified and equal to `TargetRubyVersion` of .rubocop.yml.' Enabled: true VersionAdded: '0.52' - VersionChanged: '0.89' + VersionChanged: '1.22' Include: - '**/*.gemspec' @@ -2754,10 +2754,9 @@ Security/JSONLoad: Reference: 'https://ruby-doc.org/stdlib-2.7.0/libdoc/json/rdoc/JSON.html#method-i-load' Enabled: true VersionAdded: '0.43' - VersionChanged: '0.44' + VersionChanged: '1.22' # Autocorrect here will change to a method that may cause crashes depending # on the value of the argument. - AutoCorrect: false SafeAutoCorrect: false Security/MarshalLoad: From 6609c19b58d3a912bd7c4e06b8978fe54e808350 Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Fri, 22 Oct 2021 11:54:11 -0700 Subject: [PATCH 2/2] Update RuboCop to 1.22.2 Signed-off-by: Tim Smith --- lib/cookstyle/version.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cookstyle/version.rb b/lib/cookstyle/version.rb index 3272c19f..00022ef9 100644 --- a/lib/cookstyle/version.rb +++ b/lib/cookstyle/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Cookstyle VERSION = "7.25.7" # rubocop: disable Style/StringLiterals - RUBOCOP_VERSION = '1.22.1' + RUBOCOP_VERSION = '1.22.2' end