From 3c6a060e53fdbc50f5e653303fa58caef06df419 Mon Sep 17 00:00:00 2001 From: Moeki Kawakami Date: Mon, 4 Mar 2024 11:59:24 +0900 Subject: [PATCH] Bump up required ruby version to 3.1 --- .github/workflows/reviewdog.yml | 2 +- .github/workflows/ruby_test.yml | 2 +- .rubocop.yml | 2 +- mato.gemspec | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/reviewdog.yml b/.github/workflows/reviewdog.yml index 5f8c520..46b6ab6 100644 --- a/.github/workflows/reviewdog.yml +++ b/.github/workflows/reviewdog.yml @@ -17,7 +17,7 @@ jobs: uses: ruby/setup-ruby@v1 with: bundler-cache: true - ruby-version: '3.0' + ruby-version: '3.1' - name: rubocop uses: reviewdog/action-rubocop@v2 diff --git a/.github/workflows/ruby_test.yml b/.github/workflows/ruby_test.yml index 23a1b13..8209214 100644 --- a/.github/workflows/ruby_test.yml +++ b/.github/workflows/ruby_test.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - ruby-version: ['2.7', '3.0', '3.1'] + ruby-version: ["3.1", "3.2", "3.3"] steps: - uses: actions/checkout@v3 - name: Set up Ruby diff --git a/.rubocop.yml b/.rubocop.yml index fdc38b5..400716a 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -3,7 +3,7 @@ require: - rubocop-performance AllCops: - TargetRubyVersion: 2.7 + TargetRubyVersion: 3.1 DisplayCopNames: true Exclude: - bin/**/* diff --git a/mato.gemspec b/mato.gemspec index e68e989..6072699 100644 --- a/mato.gemspec +++ b/mato.gemspec @@ -25,7 +25,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.1.0" spec.add_runtime_dependency "commonmarker", "~> 1.0.0" spec.add_runtime_dependency "markly", ">= 0.9.1"