Skip to content

Conversation

@sambostock
Copy link
Contributor

@sambostock sambostock commented Feb 12, 2024

This adds Ruby 3.2 & 3.3 to the CI matrix.

To get around a warning emitted when testing old RuboCop versions against Ruby 3.3, base64 is added to the Gemfile as a development dependency. This is fixed upstream, but we can't benefit from that fix until we drop support for the RuboCop versions without the fix, so simply following the warning message and adding it to our Gemfile is the simplest thing.

Finally, the development Ruby version is bumped to 3.3.0.

There is an indirect dependency on `base64` which causes the following
warning on Ruby 3.3:

    warning: base64 was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.4.0.
    Add base64 to your Gemfile or gemspec. Also contact author of rubocop-1.53.0 to add base64 into its gemspec.

This has been fixed upstream, however we still run into it when testing
against the minimum compatible RuboCop version, hence adding the
dependency.
@sambostock sambostock requested a review from a team as a code owner February 12, 2024 23:21
@sambostock sambostock merged commit 8616e05 into main Feb 14, 2024
@sambostock sambostock deleted the ci-rubies branch February 14, 2024 21:56
sambostock added a commit that referenced this pull request Mar 28, 2025
This was added in #613 to address a warning when running with old
RuboCop versions against new (at the time) Ruby versions.

This warning was addressed in rubocop/rubocop#12313 (released in RuboCop
version 1.57.2), and as out minimum RuboCop version has surpassed that,
we can remove the dependency.
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.

2 participants