From f4d17cda849328332192ca75462847491559b671 Mon Sep 17 00:00:00 2001 From: "depfu[bot]" <23717796+depfu[bot]@users.noreply.github.com> Date: Tue, 12 Mar 2024 19:30:23 +0000 Subject: [PATCH 1/2] Update rubocop to version 1.62.1 --- Gemfile.lock | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 1c445f5f..81a87bb5 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -149,7 +149,7 @@ GEM rspec-mocks (~> 3.12) rspec-support (~> 3.12) rspec-support (3.12.1) - rubocop (1.60.2) + rubocop (1.62.1) json (~> 2.3) language_server-protocol (>= 3.17.0) parallel (~> 1.10) @@ -157,11 +157,11 @@ GEM rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 1.8, < 3.0) rexml (>= 3.2.5, < 4.0) - rubocop-ast (>= 1.30.0, < 2.0) + rubocop-ast (>= 1.31.1, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 3.0) - rubocop-ast (1.30.0) - parser (>= 3.2.1.0) + rubocop-ast (1.31.2) + parser (>= 3.3.0.4) rubocop-capybara (2.20.0) rubocop (~> 1.41) rubocop-factory_bot (2.25.0) From e1d9f81a2909d8b82613925195a385b52797108a Mon Sep 17 00:00:00 2001 From: yoldas Date: Tue, 12 Mar 2024 21:16:31 +0000 Subject: [PATCH 2/2] Rubocop --- lib/resource_tools/json.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/resource_tools/json.rb b/lib/resource_tools/json.rb index 87d980dc..28f19040 100644 --- a/lib/resource_tools/json.rb +++ b/lib/resource_tools/json.rb @@ -146,7 +146,6 @@ def custom_value(name, &block) end end - # rubocop:disable Style/ArgumentsForwarding def initialize(*args, &block) super if self.class.custom_values.present? @@ -157,7 +156,6 @@ def initialize(*args, &block) convert_booleans delete_if { |k, _| ignoreable.include?(k) } end - # rubocop:enable Style/ArgumentsForwarding def convert_booleans self.stored_as_boolean.each do |key|