From 5f5174cf8f4e75bc3115f7d35aff6228f15f8077 Mon Sep 17 00:00:00 2001 From: Ross Brandes Date: Fri, 18 Sep 2026 09:43:38 -0400 Subject: [PATCH 1/2] Test on newer Ruby versions --- .github/workflows/main.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1529aa3..03e4578 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,7 +14,10 @@ jobs: strategy: matrix: ruby: - - '3.2.1' + - '3.2' + - '3.3' + - '3.4' + - '4.0' steps: - uses: actions/checkout@v7 From d26902cf05b02b11cdcff22d9345ab8b18716897 Mon Sep 17 00:00:00 2001 From: Ross Brandes Date: Fri, 18 Sep 2026 09:54:00 -0400 Subject: [PATCH 2/2] Bump rake, concurrent-ruby, tldr, and standard for Ruby 4.0 support Ruby 4.0 removed ostruct, logger, and irb from default gems. Older pinned versions of rake, concurrent-ruby, and tldr relied on those being available by default instead of declaring them as dependencies, breaking CI on Ruby 4.0. Bumping standard also pulls in a compatible rubocop. --- Gemfile.lock | 92 ++++++++++++++++++++++++++++++++++------------------ 1 file changed, 60 insertions(+), 32 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 1e90717..d55a5b2 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -6,68 +6,96 @@ PATH GEM remote: https://rubygems.org/ specs: - ast (2.4.2) + ast (2.4.3) attr_extras (7.1.0) - base64 (0.1.1) - concurrent-ruby (1.2.2) + concurrent-ruby (1.3.8) diff-lcs (1.5.0) - json (2.6.3) - language_server-protocol (3.17.0.3) + erb (6.0.7) + io-console (0.9.4) + irb (1.18.0) + pp (>= 0.6.0) + prism (>= 1.3.0) + rdoc (>= 4.0.0) + reline (>= 0.4.2) + json (2.21.2) + language_server-protocol (3.17.0.6) lint_roller (1.1.0) + logger (1.7.0) optimist (3.1.0) - parallel (1.23.0) - parser (3.2.2.3) + parallel (1.28.0) + parser (3.3.12.0) ast (~> 2.4.1) racc patience_diff (1.2.0) optimist (~> 3.0) - racc (1.7.1) + pp (0.6.4) + prettyprint + prettyprint (0.2.0) + prism (1.9.0) + racc (1.8.1) rainbow (3.1.1) - rake (13.0.6) - regexp_parser (2.8.1) - rexml (3.2.6) - rubocop (1.56.3) - base64 (~> 0.1.1) + rake (13.4.2) + rbs (4.1.3) + logger + prism (>= 1.6.0) + tsort + rdoc (8.0.0) + erb + prism (>= 1.6.0) + rbs (>= 4.0.0) + tsort + regexp_parser (2.12.0) + reline (0.7.0) + io-console (~> 0.5) + rubocop (1.88.2) json (~> 2.3) - language_server-protocol (>= 3.17.0) - parallel (~> 1.10) - parser (>= 3.2.2.3) + language_server-protocol (~> 3.17.0.2) + lint_roller (~> 1.1.0) + parallel (>= 1.10) + parser (>= 3.3.0.2) rainbow (>= 2.2.2, < 4.0) - regexp_parser (>= 1.8, < 3.0) - rexml (>= 3.2.5, < 4.0) - rubocop-ast (>= 1.28.1, < 2.0) + regexp_parser (>= 2.9.3, < 3.0) + rubocop-ast (>= 1.49.0, < 2.0) ruby-progressbar (~> 1.7) - unicode-display_width (>= 2.4.0, < 3.0) - rubocop-ast (1.29.0) - parser (>= 3.2.1.0) - rubocop-performance (1.19.1) - rubocop (>= 1.7.0, < 2.0) - rubocop-ast (>= 0.4.0) + unicode-display_width (>= 2.4.0, < 4.0) + rubocop-ast (1.50.0) + parser (>= 3.3.7.2) + prism (~> 1.7) + rubocop-performance (1.26.1) + lint_roller (~> 1.1) + rubocop (>= 1.75.0, < 2.0) + rubocop-ast (>= 1.47.1, < 2.0) ruby-progressbar (1.13.0) - standard (1.31.1) + standard (1.56.0) language_server-protocol (~> 3.17.0.2) lint_roller (~> 1.0) - rubocop (~> 1.56.2) + rubocop (~> 1.88.0) standard-custom (~> 1.0.0) - standard-performance (~> 1.2) + standard-performance (~> 1.8) standard-custom (1.0.2) lint_roller (~> 1.0) rubocop (~> 1.50) - standard-performance (1.2.0) + standard-performance (1.9.0) lint_roller (~> 1.1) - rubocop-performance (~> 1.19.0) + rubocop-performance (~> 1.26.0) super_diff (0.10.0) attr_extras (>= 6.2.4) diff-lcs patience_diff - tldr (0.2.0) + tldr (1.1.1) concurrent-ruby (~> 1.2) + irb (~> 1.10) super_diff (~> 0.10) - unicode-display_width (2.4.2) + tsort (0.2.0) + unicode-display_width (3.2.0) + unicode-emoji (~> 4.1) + unicode-emoji (4.2.0) PLATFORMS arm64-darwin-20 arm64-darwin-22 + arm64-darwin-24 + arm64-darwin-25 x86_64-linux DEPENDENCIES