From 1d47533aa27be2229bc785d3fe37d7b884131dd8 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Wed, 4 Nov 2026 22:16:04 +0000 Subject: [PATCH] Run CI on supported Ruby 3.3, 3.4, and 4.0 Drop EOL branches from the spec matrix and depend on logger so the suite loads under Bundler on Ruby 4.0. Co-authored-by: August Flanagan --- .github/workflows/test.yml | 5 +---- cronitor.gemspec | 2 ++ 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9f288c0..74116f9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -35,12 +35,9 @@ jobs: fail-fast: false matrix: ruby: - - '2.7' - - '3.0' - - '3.1' - - '3.2' - '3.3' - '3.4' + - '4.0' runs-on: ubuntu-latest diff --git a/cronitor.gemspec b/cronitor.gemspec index 9729302..7094357 100644 --- a/cronitor.gemspec +++ b/cronitor.gemspec @@ -23,6 +23,8 @@ Gem::Specification.new do |spec| spec.require_paths = ['lib'] spec.add_runtime_dependency 'httparty' + # logger moved from a default gem to a bundled gem in Ruby 4.0. + spec.add_runtime_dependency 'logger' spec.add_development_dependency 'bump', '~> 0.1' spec.add_development_dependency 'bundler'