Skip to content

Conversation

@swiknaba
Copy link

@swiknaba swiknaba commented Jan 3, 2021

BigDecimal.new is deprecated since Ruby 2.6 and was removed in Ruby 2.7. Using BigDecimal('123') is backward compatible down to Ruby 1.9.3 (oldest version in the CI yml), see https://apidock.com/ruby/v1_9_1_378/BigDecimal, hence this change should be fine.

We need this for #4 to pass the CI.

@swiknaba swiknaba changed the title remove deprecated usage of BigDecimal.new which remove deprecated usage of BigDecimal.new Jan 3, 2021
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.

1 participant