Skip to content
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

[rb] Add base64 gem as a runtime dependency #13454

Merged
merged 3 commits into from
Jan 20, 2024

Conversation

Earlopain
Copy link
Contributor

@Earlopain Earlopain commented Jan 17, 2024

Description

Closes #13447

Ruby 3.3 shows a warning if requiring base64 without specifying it in the gemspec
Ruby 3.4 will throw a warning.
See https://github.com/ruby/ruby/blob/master/doc/NEWS/NEWS-3.3.0.md#stdlib-updates

There is no version constraint on base64. This follows what other projects have done:

There may be some issue with this in combination with older bundler versions. But since this gem requires Ruby >= 3.0 I don't think this is a concern.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • I have read the contributing document.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

rb/Gemfile.lock Outdated Show resolved Hide resolved
@titusfortner
Copy link
Member

Excellent. Can you add the version and re-run bundler for the lockfile? Thanks.

Ruby 3.3 shows a warning if requiring base64 without specifying it in the gemspec
Ruby 3.4 will throw a warning.
See https://github.com/ruby/ruby/blob/master/doc/NEWS/NEWS-3.3.0.md#stdlib-updates

Closes SeleniumHQ#13447
@Earlopain
Copy link
Contributor Author

Yeah, sure. Done

@titusfortner titusfortner merged commit 638c431 into SeleniumHQ:trunk Jan 20, 2024
30 checks passed
@titusfortner
Copy link
Member

@Earlopain Thanks for your help!

Earlopain added a commit to Earlopain/selenium that referenced this pull request Jun 5, 2024
This is getting the same treatment as the `base64` gem, starting with Ruby 3.4. Also see SeleniumHQ#13454

Closes SeleniumHQ#14081
titusfortner pushed a commit that referenced this pull request Jun 5, 2024
This is getting the same treatment as the `base64` gem, starting with Ruby 3.4. Also see #13454

Closes #14081
sandeepsuryaprasad pushed a commit to sandeepsuryaprasad/selenium that referenced this pull request Oct 29, 2024
This is getting the same treatment as the `base64` gem, starting with Ruby 3.4. Also see SeleniumHQ#13454

Closes SeleniumHQ#14081
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.

[🐛 Bug]: [rb] Either declare or remove dependency on base64
2 participants