Skip to content

chore: Resolve BigDecimal warning in Spanner#103

Merged
dazuma merged 1 commit into
googleapis:mainfrom
blowmage:fix/bigdecimal-require
Jun 10, 2024
Merged

chore: Resolve BigDecimal warning in Spanner#103
dazuma merged 1 commit into
googleapis:mainfrom
blowmage:fix/bigdecimal-require

Conversation

@blowmage

Copy link
Copy Markdown
Contributor

This PR updates the Spanner gemspec to add an explicit dependency on the bigdecimal gem. This resolves the following warning:

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.

closes: #97

Add bigdecimal dependency to Spanner gemspec.
Resolves the following warning:

    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.

Reference-to: googleapis#97
@blowmage blowmage requested review from a team May 31, 2024 00:15
gem.required_ruby_version = ">= 2.7"

gem.add_dependency "bigdecimal", "~> 3.0"
gem.add_dependency "concurrent-ruby", "~> 1.0"

@blowmage blowmage May 31, 2024

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This gem moved lines so all gem dependencies would be sorted by name.

@dazuma dazuma merged commit 8753b3e into googleapis:main Jun 10, 2024
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.

Bigdecimal won't be part of standard library from Ruby 3.4.0

2 participants