Make the gem compatible with ruby 3.4#146
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR aims to ensure the gem is compatible with Ruby 3.4. The changes include adding dependencies in the gemspec to support the new version and updating the CI workflow to run tests on Ruby 3.4, as well as upgrading the checkout action.
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| rakuten_web_service.gemspec | Added dependencies for 'base64' and 'bigdecimal' to support Ruby 3.4 compatibility. |
| .github/workflows/ci.yml | Updated the Ruby version matrix to include 3.4 and upgraded the checkout action version. |
Comments suppressed due to low confidence (3)
rakuten_web_service.gemspec:20
- Verify if adding 'base64' as a dependency is necessary since it has traditionally been part of the Ruby standard library; if it is required for Ruby 3.4 compatibility, consider adding a clarifying comment.
spec.add_dependency 'base64', '~> 0.2'
rakuten_web_service.gemspec:21
- Confirm that including 'bigdecimal' as a dependency is intended for Ruby 3.4 compatibility, as earlier Ruby versions included it in the standard library.
spec.add_dependency 'bigdecimal', '~> 3.1'
.github/workflows/ci.yml:24
- Ensure that upgrading to actions/checkout@v4 does not introduce any breaking changes in subsequent CI steps.
- uses: actions/checkout@v4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.