From f8d7c9b94bbdfb796fec3a1698323a71db3ee818 Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Mon, 18 Mar 2024 13:22:23 +0100 Subject: [PATCH] Add partial Ruby 3.1 support --- .github/workflows/ci.yml | 1 + safemode.gemspec | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ecf69d0..45e2ac8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,6 +19,7 @@ jobs: ruby: - "2.7" - "3.0" + - "3.1" steps: - uses: actions/checkout@v3 - uses: ruby/setup-ruby@v1 diff --git a/safemode.gemspec b/safemode.gemspec index 4b8ff6b..2050f15 100644 --- a/safemode.gemspec +++ b/safemode.gemspec @@ -52,7 +52,7 @@ Gem::Specification.new do |s| "test/test_safemode_parser.rb" ] - s.required_ruby_version = ">= 2.7", "< 3.1" + s.required_ruby_version = ">= 2.7", "< 3.2" s.add_runtime_dependency "ruby2ruby", ">= 2.4.0" s.add_runtime_dependency "ruby_parser", ">= 3.10.1"