Update to Ruby 4.0.0

This commit is contained in:
Sami Samhuri 2026-01-01 18:24:21 -08:00
parent 8d8324e888
commit 02eefab94f
No known key found for this signature in database
3 changed files with 9 additions and 9 deletions

View file

@ -4,7 +4,7 @@ executors:
parameters: parameters:
version: version:
description: "Ruby version number" description: "Ruby version number"
default: "3.4.1" default: "4.0.0"
type: string type: string
docker: docker:
- image: cimg/ruby:<< parameters.version >> - image: cimg/ruby:<< parameters.version >>
@ -15,7 +15,7 @@ commands:
parameters: parameters:
version: version:
description: "Ruby version number" description: "Ruby version number"
default: "3.4.1" default: "4.0.0"
type: string type: string
steps: steps:
- restore_cache: - restore_cache:
@ -24,9 +24,8 @@ commands:
- run: - run:
name: Install Ruby Dependencies name: Install Ruby Dependencies
command: | command: |
gem install bundler -v 2.6.2 --conservative --no-document
bundle config --local path vendor/bundle bundle config --local path vendor/bundle
bundle check || (bundle install --jobs=4 --retry=3 && bundle clean) bundle check || (bundle install --jobs=8 --retry=3 && bundle clean)
- save_cache: - save_cache:
paths: paths:
- ./vendor/bundle - ./vendor/bundle
@ -44,7 +43,7 @@ jobs:
parameters: parameters:
version: version:
description: "Ruby version number" description: "Ruby version number"
default: "3.4.1" default: "4.0.0"
type: string type: string
executor: executor:
name: ruby name: ruby
@ -65,14 +64,14 @@ workflows:
- test: - test:
matrix: matrix:
parameters: parameters:
version: ["3.2.6", "3.3.6", "3.4.1"] version: ["3.2.9", "3.3.10", "3.4.8", "4.0.0"]
cron-workflow: cron-workflow:
jobs: jobs:
- rubocop - rubocop
- test: - test:
matrix: matrix:
parameters: parameters:
version: ["3.2.6", "3.3.6", "3.4.1"] version: ["3.2.9", "3.3.10", "3.4.8", "4.0.0"]
triggers: triggers:
- schedule: - schedule:
cron: "0 13 * * 6" cron: "0 13 * * 6"

View file

@ -1 +1 @@
3.4.1 4.0.0

View file

@ -70,6 +70,7 @@ PLATFORMS
arm64-darwin-22 arm64-darwin-22
arm64-darwin-23 arm64-darwin-23
arm64-darwin-24 arm64-darwin-24
arm64-darwin-25
x86_64-linux x86_64-linux
DEPENDENCIES DEPENDENCIES
@ -86,4 +87,4 @@ DEPENDENCIES
wordexp! wordexp!
BUNDLED WITH BUNDLED WITH
2.6.2 4.0.3