From 7a44218a0036f39f0d0328072f25f80a62ca6934 Mon Sep 17 00:00:00 2001 From: Takuro Ashie Date: Thu, 22 Feb 2024 11:48:11 +0900 Subject: [PATCH 1/2] CI: Refine title for testing with Ruby head Signed-off-by: Takuro Ashie --- .github/workflows/test-ruby-head.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test-ruby-head.yaml b/.github/workflows/test-ruby-head.yaml index 6aaec99e93..ca5f039e1d 100644 --- a/.github/workflows/test-ruby-head.yaml +++ b/.github/workflows/test-ruby-head.yaml @@ -1,4 +1,4 @@ -name: Test +name: Test with Ruby head on: schedule: From ef8a3355ee2d4ca372ade14db886ec892852e863 Mon Sep 17 00:00:00 2001 From: Takuro Ashie Date: Thu, 22 Feb 2024 11:51:11 +0900 Subject: [PATCH 2/2] Add missing gem dependency on Ruby 3.4-dev base64, csv and drb gems aren't part of the default gems since Ruby 3.4.0. Signed-off-by: Takuro Ashie --- fluentd.gemspec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/fluentd.gemspec b/fluentd.gemspec index c16411e588..fd460fb240 100644 --- a/fluentd.gemspec +++ b/fluentd.gemspec @@ -30,6 +30,11 @@ Gem::Specification.new do |gem| gem.add_runtime_dependency("strptime", [">= 0.2.4", "< 1.0.0"]) gem.add_runtime_dependency("webrick", ["~> 1.4"]) + # gems that aren't default gems as of Ruby 3.4 + gem.add_runtime_dependency("base64", ["~> 0.2"]) + gem.add_runtime_dependency("csv", ["~> 3.2"]) + gem.add_runtime_dependency("drb", ["~> 2.2"]) + # build gem for a certain platform. see also Rakefile fake_platform = ENV['GEM_BUILD_FAKE_PLATFORM'].to_s gem.platform = fake_platform unless fake_platform.empty?