From 7c569afaf0e4000e8097fca82bc1eb790bd8858d Mon Sep 17 00:00:00 2001 From: Kazuhiro Serizawa Date: Tue, 10 Jun 2025 22:07:55 +0900 Subject: [PATCH] Update project to Ruby 3.4.4 --- .github/workflows/ci.yml | 2 +- .rubocop.yml | 2 +- .ruby-version | 2 +- AGENTS.md | 2 +- Dockerfile | 2 +- simple_map_reduce.gemspec | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 760eba7..09c2b65 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ jobs: - name: Set up Ruby uses: ruby/setup-ruby@v1.244.0 with: - ruby-version: '3.3.7' # Match the project's .ruby-version file + ruby-version: '3.4.4' # Match the project's .ruby-version file bundler-cache: true # Runs 'bundle install' and caches installed gems automatically - name: Run RuboCop diff --git a/.rubocop.yml b/.rubocop.yml index 0e38265..a7da9ef 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,5 +1,5 @@ AllCops: - TargetRubyVersion: 3.3 + TargetRubyVersion: 3.4 DisplayCopNames: true PercentLiteralDelimiters: diff --git a/.ruby-version b/.ruby-version index 86fb650..f989260 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -3.3.7 +3.4.4 diff --git a/AGENTS.md b/AGENTS.md index 121f624..3292482 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,6 +1,6 @@ # Development Guidelines -This project is a MapReduce framework implemented in Ruby. Development targets Ruby 3.3 and uses Bundler for dependency management. +This project is a MapReduce framework implemented in Ruby. Development targets Ruby 3.4 and uses Bundler for dependency management. ## Setup diff --git a/Dockerfile b/Dockerfile index 2711965..3aa674f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ruby:2.7.4 +FROM ruby:3.4.4 WORKDIR /app diff --git a/simple_map_reduce.gemspec b/simple_map_reduce.gemspec index 67b27bd..3bee6e2 100644 --- a/simple_map_reduce.gemspec +++ b/simple_map_reduce.gemspec @@ -24,7 +24,7 @@ Gem::Specification.new do |spec| spec.bindir = 'exe' spec.executables = spec.files.grep(%r(^exe/)) { |f| File.basename(f) } spec.require_paths = ['lib'] - spec.required_ruby_version = '>= 3.3.7' + spec.required_ruby_version = '>= 3.4.4' spec.add_development_dependency 'bundler', '>= 2.5' spec.add_development_dependency 'factory_bot', '~> 6.5', '>= 6.5.1'