From 123461de01b0ea0a39bbb8dabcb4815a8889c2b3 Mon Sep 17 00:00:00 2001 From: Stefanni Brasil Date: Tue, 6 Jan 2026 16:38:06 -0700 Subject: [PATCH 1/2] Bump bundler version to latest We are seeing a bunch of warnings when running the tests. Bumping bundler's version fix them. Because bundler's latest version does not support Ruby 3.0, I had to add the CI workaround until 3.0 is not supported anymore. --- .github/workflows/ruby.yml | 8 +++++++- Gemfile.lock | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index 55cbcb952e..5740532237 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -53,7 +53,13 @@ jobs: ruby-version: ${{ matrix.ruby }} - name: Install dependencies - run: bundle install + run: | + if [[ "${{ matrix.ruby }}" < "3.1" ]]; then + gem install bundler:2.4.22 + bundle _2.4.22_ install + else + bundle install + fi - name: Run tests run: bundle exec rake test diff --git a/Gemfile.lock b/Gemfile.lock index 38daf95a60..b256789629 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -87,4 +87,4 @@ DEPENDENCIES yard (= 0.9.37) BUNDLED WITH - 2.4.22 + 4.0.3 From ef6caced282b23548fd23cc470141060e1127d8b Mon Sep 17 00:00:00 2001 From: Stefanni Brasil Date: Tue, 6 Jan 2026 16:39:23 -0700 Subject: [PATCH 2/2] Fix irb and rdoc warnings After bumping bundler's version, running a faker console showed these warnings: ``` faker/Rakefile:12: warning: irb was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0. You can add irb to your Gemfile or gemspec to silence this warning. irb/input-method.rb:278: warning: rdoc was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0. You can add rdoc to your Gemfile or gemspec to silence this warning. ``` --- Gemfile | 2 ++ Gemfile.lock | 23 +++++++++++++++++++++++ 2 files changed, 25 insertions(+) diff --git a/Gemfile b/Gemfile index f42af99f61..fdb7b2c838 100644 --- a/Gemfile +++ b/Gemfile @@ -6,9 +6,11 @@ source 'https://rubygems.org' gemspec gem 'benchmark' +gem 'irb' gem 'minitest', '5.26.1' gem 'pry', '0.15.2' gem 'rake', '13.3.1' +gem 'rdoc' gem 'rubocop', '1.81.7' gem 'rubocop-minitest', '0.38.2' gem 'rubocop-rake', '0.7.1' diff --git a/Gemfile.lock b/Gemfile.lock index b256789629..1e694fd9a1 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,9 +11,16 @@ GEM benchmark (0.5.0) coderay (1.1.3) concurrent-ruby (1.3.5) + date (3.5.1) docile (1.4.1) + erb (6.0.1) i18n (1.14.7) concurrent-ruby (~> 1.0) + io-console (0.8.2) + irb (1.16.0) + pp (>= 0.6.0) + rdoc (>= 4.0.0) + reline (>= 0.4.2) json (2.16.0) language_server-protocol (3.17.0.5) lint_roller (1.1.0) @@ -24,14 +31,26 @@ GEM ast (~> 2.4.1) racc power_assert (3.0.1) + pp (0.6.3) + prettyprint + prettyprint (0.2.0) prism (1.6.0) pry (0.15.2) coderay (~> 1.1) method_source (~> 1.0) + psych (5.3.1) + date + stringio racc (1.8.1) rainbow (3.1.1) rake (13.3.1) + rdoc (7.0.3) + erb + psych (>= 4.0.0) + tsort regexp_parser (2.11.3) + reline (0.6.3) + io-console (~> 0.5) rubocop (1.81.7) json (~> 2.3) language_server-protocol (~> 3.17.0.2) @@ -60,9 +79,11 @@ GEM simplecov_json_formatter (~> 0.1) simplecov-html (0.13.2) simplecov_json_formatter (0.1.4) + stringio (3.2.0) test-unit (3.7.1) power_assert timecop (0.9.10) + tsort (0.2.0) unicode-display_width (3.2.0) unicode-emoji (~> 4.1) unicode-emoji (4.1.0) @@ -75,9 +96,11 @@ PLATFORMS DEPENDENCIES benchmark faker! + irb minitest (= 5.26.1) pry (= 0.15.2) rake (= 13.3.1) + rdoc rubocop (= 1.81.7) rubocop-minitest (= 0.38.2) rubocop-rake (= 0.7.1)