Skip to content

Commit

Permalink
Bump required ruby version (#4745)
Browse files Browse the repository at this point in the history
**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 <hayashi@clear-code.com>
  • Loading branch information
kenhys authored Jan 16, 2025
1 parent c2b09d4 commit b58c3f0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Fluentd: Open-Source Log Collector

### Prerequisites

- Ruby 2.7 or later
- Ruby 3.2 or later
- git

`git` should be in `PATH`. On Windows, you can use `Github for Windows` and `GitShell` for easy setup.
Expand Down
2 changes: 1 addition & 1 deletion fluentd.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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"])
Expand Down

0 comments on commit b58c3f0

Please sign in to comment.