From 4c716936d23b73a638ae9141684f4d9d37eb178e Mon Sep 17 00:00:00 2001 From: Matt Paletta Date: Tue, 16 Jun 2026 10:46:28 +0100 Subject: [PATCH 1/3] Test against maintained Ruby versions (3.3, 3.4, 3.5) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The previous matrix tested 3.0, 3.1, 3.2 — all now EOL (3.0 in Apr 2024, 3.1 in Mar 2025, 3.2 in Mar 2026). It also had a latent bug: the unquoted `3.0` was parsed by YAML as the float 3.0 and collapsed to "3", so that job actually ran the latest 3.x rather than 3.0. Quote the versions and target the currently-maintained releases. Raise required_ruby_version to >= 3.3.0 to match. Co-Authored-By: Claude Opus 4.8 --- .github/workflows/e2e.yml | 2 +- .github/workflows/run-tests.yml | 2 +- evervault.gemspec | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 6f465ba..1fc9432 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -7,7 +7,7 @@ jobs: fail-fast: false matrix: os: [ubuntu] - ruby: [3.0, 3.1, 3.2] + ruby: ['3.3', '3.4', '3.5'] runs-on: ${{ matrix.os }}-latest continue-on-error: ${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'debug' }} steps: diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index a0aef56..4d0a232 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -6,7 +6,7 @@ jobs: fail-fast: false matrix: os: [ubuntu] - ruby: [3.0, 3.1, 3.2] + ruby: ['3.3', '3.4', '3.5'] runs-on: ${{ matrix.os }}-latest continue-on-error: ${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'debug' }} diff --git a/evervault.gemspec b/evervault.gemspec index 1c6c27a..d0f6e9e 100644 --- a/evervault.gemspec +++ b/evervault.gemspec @@ -10,7 +10,7 @@ Gem::Specification.new do |spec| spec.summary = 'Ruby SDK to run Evervault' spec.homepage = 'https://evervault.com' spec.license = 'MIT' - spec.required_ruby_version = '>= 3.0.0' + spec.required_ruby_version = '>= 3.3.0' spec.metadata['homepage_uri'] = spec.homepage spec.metadata['source_code_uri'] = 'https://github.com/evervault/evervault-ruby' From dbc6324bd77f20b85dd9ab9376d7e9cab95c7736 Mon Sep 17 00:00:00 2001 From: Matt Paletta Date: Tue, 16 Jun 2026 10:48:02 +0100 Subject: [PATCH 2/3] Test against maintained Ruby versions (3.3, 3.4) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The previous matrix tested 3.0, 3.1, 3.2 — all now EOL (3.0 in Apr 2024, 3.1 in Mar 2025, 3.2 in Mar 2026). It also had a latent bug: the unquoted `3.0` was parsed by YAML as the float 3.0 and collapsed to "3", so that job actually ran the latest 3.x rather than 3.0. Quote the versions and target the currently-maintained stable releases (3.3, 3.4). Raise required_ruby_version to >= 3.3.0 to match. 3.5 is still only available as a preview, so it is left out until it has a stable release. Co-Authored-By: Claude Opus 4.8 --- .github/workflows/e2e.yml | 2 +- .github/workflows/run-tests.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 1fc9432..79f5368 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -7,7 +7,7 @@ jobs: fail-fast: false matrix: os: [ubuntu] - ruby: ['3.3', '3.4', '3.5'] + ruby: ['3.3', '3.4'] runs-on: ${{ matrix.os }}-latest continue-on-error: ${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'debug' }} steps: diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 4d0a232..3d5cb46 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -6,7 +6,7 @@ jobs: fail-fast: false matrix: os: [ubuntu] - ruby: ['3.3', '3.4', '3.5'] + ruby: ['3.3', '3.4'] runs-on: ${{ matrix.os }}-latest continue-on-error: ${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'debug' }} From a6620732c336789f4f4a87869b6dc2eb982bee5c Mon Sep 17 00:00:00 2001 From: Matt Paletta Date: Tue, 16 Jun 2026 10:52:35 +0100 Subject: [PATCH 3/3] Add Ruby 4.0 to the test matrix; bump rake to ~> 13.0 Ruby 4.0 is the current stable release line. Testing it requires bumping rake off the old ~> 12.0 pin: rake 12.3.3 requires ostruct, which is no longer a default gem in Ruby 3.5+, so `bundle exec rake` failed to load. rake 13.x dropped that dependency. Co-Authored-By: Claude Opus 4.8 --- .github/workflows/e2e.yml | 2 +- .github/workflows/run-tests.yml | 2 +- Gemfile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 79f5368..84c1433 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -7,7 +7,7 @@ jobs: fail-fast: false matrix: os: [ubuntu] - ruby: ['3.3', '3.4'] + ruby: ['3.3', '3.4', '4.0'] runs-on: ${{ matrix.os }}-latest continue-on-error: ${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'debug' }} steps: diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 3d5cb46..9e18a97 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -6,7 +6,7 @@ jobs: fail-fast: false matrix: os: [ubuntu] - ruby: ['3.3', '3.4'] + ruby: ['3.3', '3.4', '4.0'] runs-on: ${{ matrix.os }}-latest continue-on-error: ${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'debug' }} diff --git a/Gemfile b/Gemfile index f6d894e..4e2df7d 100644 --- a/Gemfile +++ b/Gemfile @@ -8,7 +8,7 @@ gemspec gem 'faraday' gem 'gem-release' gem 'pry' -gem 'rake', '~> 12.0' +gem 'rake', '~> 13.0' gem 'rexml' gem 'rspec', '~> 3.0' gem 'rubocop', require: false