From 859ac09f60aa9398b0772234a22bbbf7e5a5886a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 23 Jul 2025 14:17:23 +0000 Subject: [PATCH 1/2] Bump rubocop from 1.75.5 to 1.78.0 Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.75.5 to 1.78.0. - [Release notes](https://github.com/rubocop/rubocop/releases) - [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop/rubocop/compare/v1.75.5...v1.78.0) --- updated-dependencies: - dependency-name: rubocop dependency-version: 1.78.0 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Gemfile.lock | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 904c75dbd4..a33cdde712 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -450,7 +450,7 @@ GEM thor (>= 0.14, < 2.0) jsbundling-rails (1.3.1) railties (>= 6.0.0) - json (2.12.2) + json (2.13.0) jwt (2.10.1) base64 kaminari (1.2.2) @@ -472,7 +472,7 @@ GEM rexml (>= 3.3.9) kramdown-parser-gfm (1.1.0) kramdown (~> 2.0) - language_server-protocol (3.17.0.4) + language_server-protocol (3.17.0.5) launchy (3.0.1) addressable (~> 2.8) childprocess (~> 5.0) @@ -713,7 +713,7 @@ GEM rspec-support (~> 3.13) rspec-support (3.13.2) rtesseract (3.1.3) - rubocop (1.75.5) + rubocop (1.78.0) json (~> 2.3) language_server-protocol (~> 3.17.0.2) lint_roller (~> 1.1.0) @@ -721,10 +721,10 @@ GEM parser (>= 3.3.0.2) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 2.9.3, < 3.0) - rubocop-ast (>= 1.44.0, < 2.0) + rubocop-ast (>= 1.45.1, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 4.0) - rubocop-ast (1.44.1) + rubocop-ast (1.46.0) parser (>= 3.3.7.2) prism (~> 1.4) rubocop-rails (2.30.1) From 5289f9d8d481f051403844724a233752bea3cacc Mon Sep 17 00:00:00 2001 From: Sam Poder <39828164+sampoder@users.noreply.github.com> Date: Fri, 25 Jul 2025 22:04:28 -0400 Subject: [PATCH 2/2] Fix Rubocop --- app/models/export/event/transactions/ledger.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/export/event/transactions/ledger.rb b/app/models/export/event/transactions/ledger.rb index e472bd583e..8660a602ae 100644 --- a/app/models/export/event/transactions/ledger.rb +++ b/app/models/export/event/transactions/ledger.rb @@ -47,7 +47,7 @@ def content if ct.amount_cents <= 0 hcb_code = ct.local_hcb_code - merchant = ct.raw_stripe_transaction ? ct.raw_stripe_transaction.stripe_transaction["merchant_data"] : nil + merchant = ct.raw_stripe_transaction&.stripe_transaction&.[]("merchant_data") category = "Transfer" metadata = {} if merchant && !public_only