From 7e41b0f21fa4e9108c763f64120a94da5d58cd24 Mon Sep 17 00:00:00 2001 From: Kentaro Hayashi Date: Thu, 26 Dec 2024 15:16:43 +0900 Subject: [PATCH] Bump required ruby version to 3.2 or later. Even though it still actually work with older version of ruby, it might be better recommending supported Ruby version. * Ruby 2.7 EOL: 2023-03-31 * Ruby 3.0 EOL: 2024-04-23 * Ruby 3.1 EOL: 2025-03-31 Signed-off-by: Kentaro Hayashi --- .github/workflows/test.yml | 2 +- fluentd.gemspec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e355c78bc4..40616ef017 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,7 +26,7 @@ jobs: fail-fast: false matrix: os: ['ubuntu-latest', 'macos-latest', 'windows-latest'] - ruby-version: ['3.4', '3.3', '3.2', '3.1'] + ruby-version: ['3.4', '3.3', '3.2'] name: Ruby ${{ matrix.ruby-version }} on ${{ matrix.os }} steps: diff --git a/fluentd.gemspec b/fluentd.gemspec index 195cca94d2..719c24560c 100644 --- a/fluentd.gemspec +++ b/fluentd.gemspec @@ -20,7 +20,7 @@ Gem::Specification.new do |gem| gem.require_paths = ["lib"] gem.license = "Apache-2.0" - gem.required_ruby_version = '>= 2.7' + gem.required_ruby_version = '>= 3.2' gem.add_runtime_dependency("bundler") gem.add_runtime_dependency("msgpack", [">= 1.3.1", "< 2.0.0"])