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

Fix Ruby 3.3.0 warnings #270

Merged
merged 1 commit into from
Jan 15, 2024

Conversation

mark-young-atg
Copy link
Contributor

Running code that uses the spreadsheet gem with Ruby 3.3.0 causes the following warning to be shown

.../gems/spreadsheet-1.3.0/lib/spreadsheet/excel/writer/worksheet.rb:5: warning: bigdecimal was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.4.0. Add bigdecimal to your Gemfile or gemspec. Also contact author of spreadsheet-1.3.0 to add bigdecimal into its gemspec.

This behaviour is documented with the release of Ruby 3.3.0 https://rubyreferences.github.io/rubychanges/3.3.html#gems-that-are-warned-to-become-bundled-in-the-next-version

Running code that uses the spreadsheet gem with Ruby 3.3.0 causes
the following warning to be shown

.../gems/spreadsheet-1.3.0/lib/spreadsheet/excel/writer/worksheet.rb:5: warning: bigdecimal was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.4.0. Add bigdecimal to your Gemfile or gemspec. Also contact author of spreadsheet-1.3.0 to add bigdecimal into its gemspec.

This behaviour is documented with the release of Ruby 3.3.0
https://rubyreferences.github.io/rubychanges/3.3.html#gems-that-are-warned-to-become-bundled-in-the-next-version
@zdavatz
Copy link
Owner

zdavatz commented Jan 13, 2024

Thank you for the PR! Can you please make sure, that all the tests pass?

@mark-young-atg
Copy link
Contributor Author

@zdavatz thank you for your review. Please see my comments on PR#271. My suspicion is that the test failures we are seeing are not related to the changes I've proposed in these two PRs.

@zdavatz
Copy link
Owner

zdavatz commented Jan 15, 2024

yes, that is possible, but they still fail, so we need to fix them.

@zdavatz zdavatz merged commit 0b4ac9a into zdavatz:master Jan 15, 2024
9 of 11 checks passed
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