Skip to content

Upgrade to Ruby 3.4 and nokogiri 1.19.4; build pull requests - #3

Merged
andrewdefilippis merged 1 commit into
masterfrom
deps/ruby-3.4-nokogiri
Oct 1, 2026
Merged

andrewdefilippis merged 1 commit into
masterfrom
deps/ruby-3.4-nokogiri

Conversation

@andrewdefilippis

Copy link
Copy Markdown
Owner

Summary

Fixes the open Dependabot alerts for nokogiri (11 alerts, up to high severity) by updating it from 1.18.10 to 1.19.4.

nokogiri 1.19.x requires Ruby 3.2 or newer, so this also moves the site from Ruby 3.1 (end-of-life since March 2025) to Ruby 3.4.

nokogiri is only used by html-proofer, the link checker in the build. It isn't part of the published site.

Changes

  • .ruby-version (new): pins Ruby 3.4. The workflow now reads it, so local and GitHub builds use the same Ruby.
  • Gemfile.lock: nokogiri 1.19.4 for macOS and Linux. Bundler is now 4.0.21, the version that ships with Ruby 3.4.
  • .github/workflows/pages-deploy.yml: pull requests into master now run the build and link check, but never deploy. Deploys still happen only on pushes to master, and pull request builds use their own concurrency group, so they can't block a deploy.

Testing

  • Built locally with Ruby 3.4.11: no warnings, htmlproofer passes, and the same pages are produced as before.
  • This pull request should trigger the first pull request build on GitHub, which tests the new Ruby and lock file on Linux before merging.

After merging

For local previews, run Jekyll with Ruby 3.4, for example:
PATH=/opt/homebrew/opt/ruby@3.4/bin:$PATH bundle exec jekyll serve

🤖 Generated with Claude Code

nokogiri 1.19.x, which fixes the open Dependabot alerts, requires
Ruby 3.2 or newer, and Ruby 3.1 is end-of-life. Pin Ruby 3.4 in
.ruby-version and have the workflow read it, so local and CI builds
match.

Also build and link-check pull requests (without deploying), so
changes are tested before they reach master.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@andrewdefilippis
andrewdefilippis merged commit dd15114 into master Oct 1, 2026
5 checks passed
@andrewdefilippis
andrewdefilippis deleted the deps/ruby-3.4-nokogiri branch October 1, 2026 23:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant