Skip to content

Commit b58c3f0

Browse files
authored
Bump required ruby version (#4745)
**Which issue(s) this PR fixes**: Fixes # **What this PR does / why we need it**: Raise baseline version of Ruby to 3.2. fluent-package v5 (LTS) adopts ruby 3.2, so it is reasonable to set minimum version to Ruby 3.2. NOTE: these kind of changes might be better to apply in v1.19.0 **Docs Changes**: https://docs.fluentd.org/quickstart/faq fluent/fluentd-docs-gitbook#524 **Release Note**: N/A Signed-off-by: Kentaro Hayashi <[email protected]>
1 parent c2b09d4 commit b58c3f0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
fail-fast: false
2727
matrix:
2828
os: ['ubuntu-latest', 'macos-latest', 'windows-latest']
29-
ruby-version: ['3.4', '3.3', '3.2', '3.1']
29+
ruby-version: ['3.4', '3.3', '3.2']
3030

3131
name: Ruby ${{ matrix.ruby-version }} on ${{ matrix.os }}
3232
steps:

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Fluentd: Open-Source Log Collector
3030

3131
### Prerequisites
3232

33-
- Ruby 2.7 or later
33+
- Ruby 3.2 or later
3434
- git
3535

3636
`git` should be in `PATH`. On Windows, you can use `Github for Windows` and `GitShell` for easy setup.

fluentd.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Gem::Specification.new do |gem|
2020
gem.require_paths = ["lib"]
2121
gem.license = "Apache-2.0"
2222

23-
gem.required_ruby_version = '>= 2.7'
23+
gem.required_ruby_version = '>= 3.2'
2424

2525
gem.add_runtime_dependency("bundler")
2626
gem.add_runtime_dependency("msgpack", [">= 1.3.1", "< 2.0.0"])

0 commit comments

Comments
 (0)