From 670eac87b064fc9503b0a01a6c3e3088c3caa8e8 Mon Sep 17 00:00:00 2001 From: Douglas Eichelberger Date: Wed, 1 Jul 2026 12:50:35 -0700 Subject: [PATCH 1/2] ci: test against Ruby 4.0 Add Ruby 4.0 to the CI build matrix and quote all version numbers for consistency. --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 018aab1..6e5ab88 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,8 +12,9 @@ jobs: strategy: matrix: ruby: - - 3.3 - - 3.4 + - '3.3' + - '3.4' + - '4.0' env: BUNDLE_GEMFILE: Gemfile name: "Test and lint: Ruby ${{ matrix.ruby }}" From c8750f13ea4b6d855cb09740e82e50fc154ffbcf Mon Sep 17 00:00:00 2001 From: Douglas Eichelberger Date: Wed, 1 Jul 2026 12:55:33 -0700 Subject: [PATCH 2/2] test: drop redundant require "pathname" standard's Lint/RedundantRequireStatement flags this on Ruby 4.0, where pathname is always loaded. It's also loaded transitively via active_support and railties on 3.3/3.4, so removing it is safe across the matrix. --- spec/support/fixtures.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/spec/support/fixtures.rb b/spec/support/fixtures.rb index 3d695ed..984af47 100644 --- a/spec/support/fixtures.rb +++ b/spec/support/fixtures.rb @@ -1,7 +1,5 @@ # frozen_string_literal: true -require "pathname" - module Spec module Support module Fixtures