From 92127f3ae237f293016e52ffbe099077e27ef3c7 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Date: Sat, 21 Feb 2026 14:42:52 -0500 Subject: [PATCH] Add Ruby 4.0 support - Add Ruby 4.0 to CI matrix (3.2, 3.3, 4.0) - Bump version to 2.1.0 Ruby 4.0 support is inherited from ast-transform v2.1.0 which switched to Prism::Translation::Parser. No code changes needed in rspock itself. Co-authored-by: Cursor --- .github/workflows/ci.yml | 2 +- Gemfile.lock | 2 +- lib/rspock/version.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 869fdad..66ef1de 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,7 +12,7 @@ jobs: strategy: fail-fast: false matrix: - ruby: ['3.2', '3.3'] + ruby: ['3.2', '3.3', '4.0'] steps: - uses: actions/checkout@v4 - uses: ruby/setup-ruby@v1 diff --git a/Gemfile.lock b/Gemfile.lock index 560fdd9..a97593d 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - rspock (2.0.0) + rspock (2.1.0) ast_transform (~> 2.0) minitest (~> 5.0) mocha (>= 1.0) diff --git a/lib/rspock/version.rb b/lib/rspock/version.rb index 7ef42b4..01003f2 100644 --- a/lib/rspock/version.rb +++ b/lib/rspock/version.rb @@ -1,3 +1,3 @@ module RSpock - VERSION = "2.0.0" + VERSION = "2.1.0" end