From ef7f1770f4556a72cacb0e0f968b5c2d5c50e7f3 Mon Sep 17 00:00:00 2001 From: Kenichi Kamiya Date: Wed, 10 Jan 2024 18:48:37 +0900 Subject: [PATCH] Update supported ruby versions --- .github/workflows/ci.yml | 2 +- .rubocop.yml | 2 +- my_new_library.gemspec | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c09d5be..bc85b5c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,7 +32,7 @@ jobs: matrix: os: [ubuntu-latest] # The use of the quoted string is due to https://github.com/actions/runner/issues/849 - ruby: ['head', '3.2', '3.1'] + ruby: ['head', '3.3', '3.2'] runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 diff --git a/.rubocop.yml b/.rubocop.yml index 7659381..fe15d2b 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -4,7 +4,7 @@ require: - rubocop-thread_safety AllCops: - TargetRubyVersion: 3.1 + TargetRubyVersion: 3.2 DisplayCopNames: true Exclude: - '**/vendor/**/*' diff --git a/my_new_library.gemspec b/my_new_library.gemspec index 127f24c..0efe786 100644 --- a/my_new_library.gemspec +++ b/my_new_library.gemspec @@ -24,7 +24,7 @@ Gem::Specification.new do |gem| 'rubygems_mfa_required' => 'true' } - gem.required_ruby_version = Gem::Requirement.new('>= 3.1') + gem.required_ruby_version = Gem::Requirement.new('>= 3.2') # common