From 68c6f90e2de864eb10124dd118c23a07893fdcc7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 30 Dec 2024 21:14:34 +0000 Subject: [PATCH 1/2] Bump rubocop-govuk from 5.0.3 to 5.0.7 Bumps [rubocop-govuk](https://github.com/alphagov/rubocop-govuk) from 5.0.3 to 5.0.7. - [Changelog](https://github.com/alphagov/rubocop-govuk/blob/main/CHANGELOG.md) - [Commits](https://github.com/alphagov/rubocop-govuk/compare/v5.0.3...v5.0.7) --- updated-dependencies: - dependency-name: rubocop-govuk dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index c82a0d6ef1b..8cbe416a2d9 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -90,7 +90,7 @@ GEM erubi (~> 1.4) parser (>= 2.4) smart_properties - bigdecimal (3.1.8) + bigdecimal (3.1.9) binding_of_caller (1.0.1) debug_inspector (>= 1.2.0) bootsnap (1.18.4) @@ -563,7 +563,7 @@ GEM redis-client (>= 0.22.0) redis-client (0.23.0) connection_pool - regexp_parser (2.9.2) + regexp_parser (2.10.0) reline (0.6.0) io-console (~> 0.5) request_store (1.7.0) @@ -576,35 +576,35 @@ GEM rexml (3.4.0) rinku (2.0.6) rouge (4.5.1) - rubocop (1.68.0) + rubocop (1.69.2) json (~> 2.3) language_server-protocol (>= 3.17.0) parallel (~> 1.10) parser (>= 3.3.0.2) rainbow (>= 2.2.2, < 4.0) - regexp_parser (>= 2.4, < 3.0) - rubocop-ast (>= 1.32.2, < 2.0) + regexp_parser (>= 2.9.3, < 3.0) + rubocop-ast (>= 1.36.2, < 2.0) ruby-progressbar (~> 1.7) - unicode-display_width (>= 2.4.0, < 3.0) - rubocop-ast (1.36.1) + unicode-display_width (>= 2.4.0, < 4.0) + rubocop-ast (1.37.0) parser (>= 3.3.1.0) rubocop-capybara (2.21.0) rubocop (~> 1.41) - rubocop-govuk (5.0.3) - rubocop (= 1.68.0) - rubocop-ast (= 1.36.1) + rubocop-govuk (5.0.7) + rubocop (= 1.69.2) + rubocop-ast (= 1.37.0) rubocop-capybara (= 2.21.0) - rubocop-rails (= 2.27.0) + rubocop-rails (= 2.28.0) rubocop-rake (= 0.6.0) - rubocop-rspec (= 3.2.0) - rubocop-rails (2.27.0) + rubocop-rspec (= 3.3.0) + rubocop-rails (2.28.0) activesupport (>= 4.2.0) rack (>= 1.1) rubocop (>= 1.52.0, < 2.0) rubocop-ast (>= 1.31.1, < 2.0) rubocop-rake (0.6.0) rubocop (~> 1.0) - rubocop-rspec (3.2.0) + rubocop-rspec (3.3.0) rubocop (~> 1.61) ruby-progressbar (1.13.0) ruby2_keywords (0.0.5) @@ -671,7 +671,9 @@ GEM tzinfo (2.0.6) concurrent-ruby (~> 1.0) uk_postcode (2.1.8) - unicode-display_width (2.6.0) + unicode-display_width (3.1.3) + unicode-emoji (~> 4.0, >= 4.0.4) + unicode-emoji (4.0.4) webmock (3.24.0) addressable (>= 2.8.0) crack (>= 0.3.2) From 4b69f0f2aa059f919ed97430ccf33c009e0b8fb8 Mon Sep 17 00:00:00 2001 From: Mark Taylor <138604938+mtaylorgds@users.noreply.github.com> Date: Thu, 2 Jan 2025 10:55:24 +0000 Subject: [PATCH 2/2] Fix linting error after rubocop update For some reason running rubocop locally does not pick up this error. --- lib/smart_answer/calculators/child_benefit_tax_calculator.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/smart_answer/calculators/child_benefit_tax_calculator.rb b/lib/smart_answer/calculators/child_benefit_tax_calculator.rb index f6071375dd4..02cd3d1f02c 100644 --- a/lib/smart_answer/calculators/child_benefit_tax_calculator.rb +++ b/lib/smart_answer/calculators/child_benefit_tax_calculator.rb @@ -20,7 +20,6 @@ def initialize(children_count: 0, income_details: 0, allowable_deductions: 0, other_allowable_deductions: 0) - @children_count = children_count @tax_year = tax_year @part_year_children_count = part_year_children_count