From c054aad0cf44cef3e2bf6d0dadc8a73a5336d891 Mon Sep 17 00:00:00 2001 From: mkmn Date: Wed, 29 May 2024 10:01:30 +0900 Subject: [PATCH] Update Support Ruby Version. Require Ruby v3.0 or higher. --- .github/workflows/test.yml | 3 ++- .rubocop.yml | 2 +- kirico.gemspec | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ed7970d..a2c9e6b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,9 +13,10 @@ jobs: fail-fast: false matrix: ruby-version: - - '2.7' - '3.0' - '3.1' + - '3.2' + - '3.3' steps: - name: Checkout uses: actions/checkout@v4.1.6 diff --git a/.rubocop.yml b/.rubocop.yml index 8e1ccfc..6883ddd 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,7 +1,7 @@ inherit_from: '.rubocop_todo.yml' AllCops: - TargetRubyVersion: 2.7 + TargetRubyVersion: 3.0 Style/AsciiComments: Enabled: false diff --git a/kirico.gemspec b/kirico.gemspec index 05b016e..7413554 100644 --- a/kirico.gemspec +++ b/kirico.gemspec @@ -26,7 +26,7 @@ Gem::Specification.new do |spec| spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ['lib'] - spec.required_ruby_version = '>= 2.7' + spec.required_ruby_version = '>= 3.0' spec.add_dependency 'activemodel', '>= 5.2' spec.add_dependency 'activesupport', '>= 5.2'