From 0b3bc02a55642336f4c386afcc3acfcc94e431ef Mon Sep 17 00:00:00 2001 From: SAKATA Sinji Date: Wed, 27 Dec 2023 20:59:01 +0900 Subject: [PATCH] Support Ruby 3.3 --- .github/workflows/test.yml | 4 ++-- Gemfile | 1 - bcdice.gemspec | 1 + 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 856b96d37..24ceca658 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,7 +5,7 @@ jobs: strategy: fail-fast: false matrix: - ruby: ["2.6", "2.7", "3.0", "3.1", "3.2"] + ruby: ["2.6", "2.7", "3.0", "3.1", "3.2", "3.3"] runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -20,4 +20,4 @@ jobs: uses: codecov/codecov-action@v3 with: file: coverage/coverage.xml - if: matrix.ruby == '3.2' + if: matrix.ruby == '3.3' diff --git a/Gemfile b/Gemfile index d9e7afaf3..0ad2fc475 100644 --- a/Gemfile +++ b/Gemfile @@ -3,7 +3,6 @@ source "https://rubygems.org" gemspec group :development, :test do - gem "racc", "~> 1.6.2" gem "rake", "~> 13.0.3" gem "rubocop", "~> 1.39.0", require: false gem "simplecov", "~>0.21.2", require: false diff --git a/bcdice.gemspec b/bcdice.gemspec index eebdcb0c1..cc54d3e24 100644 --- a/bcdice.gemspec +++ b/bcdice.gemspec @@ -22,4 +22,5 @@ Gem::Specification.new do |spec| spec.require_paths = ["lib"] spec.add_runtime_dependency "i18n", "~> 1.8.5" + spec.add_runtime_dependency "racc", "~> 1.7.3" end