Skip to content

Conversation

@caius
Copy link
Contributor

@caius caius commented Jan 7, 2025

What?

  • Updated all standard* gems
  • Stop requiring standard* gems in the app
  • Fix "issue" to reference /dev/null with ruby constant

Why?

Updates all the standard gems (and dependencies) we have included so they know how to handle Ruby 3.4 and suggest 3.4+ "fixes" we should adhere to.

We also don't need to issue require "standard", etc when the app boots - we don't make use of the gems in the app itself. Setting them to require: false in the Gemfile achieves this. They are all still available to call as cli tools, so bundle exec standardrb works identically.

@pushcx
Copy link
Member

pushcx commented Jan 7, 2025

Thanks for spotting this. Unfortunately, the GitHub PR workflow is undergoing some changes so I think you'll have to click 'ready for review' for the workflow to run.

@caius caius force-pushed the cd/standardrb-ruby-3.4 branch from f03ece2 to 6355a10 Compare January 7, 2025 03:07
@caius caius marked this pull request as ready for review January 7, 2025 03:08
@caius
Copy link
Contributor Author

caius commented Jan 7, 2025

Rebased after #1418 landed too. All seems good thankfully 😁

caius added 3 commits January 7, 2025 10:47
These will include any changes required for Ruby 3.4
We only call them through the `standardrb` binary from the cli, no need to load them into the app runtime.
@caius caius force-pushed the cd/standardrb-ruby-3.4 branch from 6355a10 to fc3881e Compare January 7, 2025 10:57
@pushcx pushcx merged commit 711fd51 into lobsters:master Jan 9, 2025
4 checks passed
@caius caius deleted the cd/standardrb-ruby-3.4 branch May 27, 2025 21:53
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