-
Notifications
You must be signed in to change notification settings - Fork 121
Add support for Ruby 4.0 #300
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
.github/workflows/test.yml
Outdated
| puppeteer-version: '24.10.2' | ||
| - ruby-version: '3.4' | ||
| node-version: '24' | ||
| puppeteer-version: '24.10.2' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can also get rid of these
grover.gemspec
Outdated
| spec.homepage = 'https://github.com/Studiosity/grover' | ||
| spec.license = 'MIT' | ||
| spec.required_ruby_version = ['>= 3.0.0', '< 3.5.0'] | ||
| spec.required_ruby_version = ['>= 3.0.0', '< 5.0.0'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
limiting to < 4.1 is likely safer.. we don't really know what the future of the language will be. In all likelihood it won't be a problem, but that isn't how the history of the language has evolved 😄
|
Released in v1.2.5 |
|
Thank you! |
Summary
Changes
grover.gemspecto allow Ruby versions up to 4.1.0.github/workflows/test.ymlto include Ruby 4.0 in the test matrix with Node.js 18, 20, 22, and 24spec/spec_helper.rbto check for nil before callingempty?on puppeteer versionCHANGELOG.mdto document Ruby 4.0 supportTesting
All existing tests pass with Ruby 4.0.0. The gem is fully compatible with Ruby 4.0.