From 6f0929e587150aea227107a4fc2774212af6511b Mon Sep 17 00:00:00 2001 From: Timothy Buesking Date: Thu, 29 Oct 2026 10:44:31 -0500 Subject: [PATCH 1/2] chore(ci)!: raising minimum Ruby version to 3.4 This drops support for EoL Ruby version 3.2 --- .github/workflows/ci.yml | 6 +++--- .github/workflows/publish-gem.yml | 2 +- .ruby-version | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 103212db..fc11ef4a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,7 @@ jobs: steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Set up Ruby - uses: ruby/setup-ruby@c4e5b1316158f92e3d49443a9d58b31d25ac0f8f # v1.306.0 + uses: ruby/setup-ruby@7f797815d8adceb1c412e7abefdd1ab4abc47a5f # v1.335.0 with: bundler-cache: false - run: |- @@ -63,7 +63,7 @@ jobs: steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Set up Ruby - uses: ruby/setup-ruby@c4e5b1316158f92e3d49443a9d58b31d25ac0f8f # v1.306.0 + uses: ruby/setup-ruby@7f797815d8adceb1c412e7abefdd1ab4abc47a5f # v1.335.0 with: bundler-cache: false - run: |- @@ -79,7 +79,7 @@ jobs: steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Set up Ruby - uses: ruby/setup-ruby@c4e5b1316158f92e3d49443a9d58b31d25ac0f8f # v1.306.0 + uses: ruby/setup-ruby@7f797815d8adceb1c412e7abefdd1ab4abc47a5f # v1.335.0 with: bundler-cache: false - run: |- diff --git a/.github/workflows/publish-gem.yml b/.github/workflows/publish-gem.yml index d1cdb603..41528021 100644 --- a/.github/workflows/publish-gem.yml +++ b/.github/workflows/publish-gem.yml @@ -16,7 +16,7 @@ jobs: steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Set up Ruby - uses: ruby/setup-ruby@c4e5b1316158f92e3d49443a9d58b31d25ac0f8f # v1.306.0 + uses: ruby/setup-ruby@7f797815d8adceb1c412e7abefdd1ab4abc47a5f # v1.335.0 with: bundler-cache: false - run: |- diff --git a/.ruby-version b/.ruby-version index 944880fa..2f4b6075 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -3.2.0 +3.4 From 23b74d79cc779fa57a01679f34e5f8502d520fde Mon Sep 17 00:00:00 2001 From: Timothy Buesking Date: Thu, 29 Oct 2026 11:15:36 -0500 Subject: [PATCH 2/2] fix: Standard-webhooks changed the return behavior of verify breaking webhook signatures --- lib/lithic/resources/webhooks.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/lithic/resources/webhooks.rb b/lib/lithic/resources/webhooks.rb index 893ec84b..87a5d7e5 100644 --- a/lib/lithic/resources/webhooks.rb +++ b/lib/lithic/resources/webhooks.rb @@ -92,6 +92,8 @@ def verify_signature(payload:, headers:, secret: nil) wh = StandardWebhooks::Webhook.new(secret) wh.verify(payload, headers) + + JSON.parse(payload, symbolize_names: true) end # @api private