From 9c425848071fab2cccc304bf914c4a5f493b4a69 Mon Sep 17 00:00:00 2001 From: Simon Legner Date: Sun, 29 Nov 2026 12:30:52 +0100 Subject: [PATCH] Update Ruby to 4.0.10 --- .github/workflows/deploy-heroku.yml | 2 +- .github/workflows/schedule-doc-report.yml | 2 +- .github/workflows/test.yml | 2 +- .ruby-version | 2 +- .tool-versions | 2 +- Dockerfile | 2 +- Dockerfile-alpine | 2 +- Gemfile | 2 +- Gemfile.lock | 2 +- README.md | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/deploy-heroku.yml b/.github/workflows/deploy-heroku.yml index dc98e22689..d567533227 100644 --- a/.github/workflows/deploy-heroku.yml +++ b/.github/workflows/deploy-heroku.yml @@ -23,7 +23,7 @@ jobs: - name: Install libwebp tools run: sudo apt-get update && sudo apt-get install -y webp - name: Set up Ruby - uses: ruby/setup-ruby@b3aaceaef7e0ee231b499e7b5f49c03fc1d32199 # v1.338.0 + uses: ruby/setup-ruby@145243922b4465b78e04dd66294782c7de45901f # v1.345.0 with: bundler-cache: true # runs 'bundle install' and caches installed gems automatically - name: Run tests diff --git a/.github/workflows/schedule-doc-report.yml b/.github/workflows/schedule-doc-report.yml index a685aeea56..0d15174f81 100644 --- a/.github/workflows/schedule-doc-report.yml +++ b/.github/workflows/schedule-doc-report.yml @@ -11,7 +11,7 @@ jobs: steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Set up Ruby - uses: ruby/setup-ruby@b3aaceaef7e0ee231b499e7b5f49c03fc1d32199 # v1.338.0 + uses: ruby/setup-ruby@145243922b4465b78e04dd66294782c7de45901f # v1.345.0 with: bundler-cache: true # runs 'bundle install' and caches installed gems automatically - name: Generate report diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1e1524465e..a591230bfd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,7 +14,7 @@ jobs: - name: Install libwebp tools run: sudo apt-get update && sudo apt-get install -y webp - name: Set up Ruby - uses: ruby/setup-ruby@b3aaceaef7e0ee231b499e7b5f49c03fc1d32199 # v1.338.0 + uses: ruby/setup-ruby@145243922b4465b78e04dd66294782c7de45901f # v1.345.0 with: bundler-cache: true # runs 'bundle install' and caches installed gems automatically - name: Run tests diff --git a/.ruby-version b/.ruby-version index 7919852fe1..2d2d681064 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -4.0.9 +4.0.10 diff --git a/.tool-versions b/.tool-versions index 7d25360061..9257b3f41d 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,2 +1,2 @@ -ruby 4.0.9 +ruby 4.0.10 nodejs 26.13.1 diff --git a/Dockerfile b/Dockerfile index 72f88db2bc..6f4615fa81 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ruby:4.0.8 +FROM ruby:4.0.10 ENV LANG=C.UTF-8 ENV ENABLE_SERVICE_WORKER=true diff --git a/Dockerfile-alpine b/Dockerfile-alpine index 27732c0da8..dbae8bb0e9 100644 --- a/Dockerfile-alpine +++ b/Dockerfile-alpine @@ -1,4 +1,4 @@ -FROM ruby:4.0.9-alpine +FROM ruby:4.0.10-alpine ENV LANG=C.UTF-8 ENV ENABLE_SERVICE_WORKER=true diff --git a/Gemfile b/Gemfile index 18d54ed594..0ea16589a3 100644 --- a/Gemfile +++ b/Gemfile @@ -1,5 +1,5 @@ source 'https://rubygems.org' -ruby '4.0.9' +ruby '4.0.10' gem 'activesupport', require: false gem 'html-pipeline', '~> 2.14' diff --git a/Gemfile.lock b/Gemfile.lock index 40346a18f8..3fcce4dd47 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -487,7 +487,7 @@ CHECKSUMS zeitwerk (2.8.3) sha256=2c85125a8467ce069e20123d1e709a08955c9d29c118c25b46b7b7fafdbb92e5 RUBY VERSION - ruby 4.0.9 + ruby 4.0.10 BUNDLED WITH 4.0.12 diff --git a/README.md b/README.md index 7b6a11dd6d..0c28f8bca6 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ docker run --name devdocs -d -p 9292:9292 devdocs DevDocs is made of two pieces: a Ruby scraper that generates the documentation and metadata, and a JavaScript app powered by a small Sinatra app. -DevDocs requires Ruby 4.0.9 (defined in [`Gemfile`](./Gemfile)), libcurl, webp, bsdtar (included in macOS, the `libarchive-tools` package on Debian and Alpine), and a JavaScript runtime supported by [ExecJS](https://github.com/rails/execjs#readme) (included in OS X and Windows; [Node.js](https://nodejs.org/en/) on Linux). On Arch Linux run `pacman -S ruby ruby-bundler ruby-erb ruby-irb`. +DevDocs requires Ruby 4.0.10 (defined in [`Gemfile`](./Gemfile)), libcurl, webp, bsdtar (included in macOS, the `libarchive-tools` package on Debian and Alpine), and a JavaScript runtime supported by [ExecJS](https://github.com/rails/execjs#readme) (included in OS X and Windows; [Node.js](https://nodejs.org/en/) on Linux). On Arch Linux run `pacman -S ruby ruby-bundler ruby-erb ruby-irb`. Once you have these installed, run the following commands: