Skip to content

remove deprecated usage of BigDecimal.new#5

Open
swiknaba wants to merge 1 commit into
TamerShlash:masterfrom
swiknaba:swiknaba/fix-BigDecimal-new
Open

remove deprecated usage of BigDecimal.new#5
swiknaba wants to merge 1 commit into
TamerShlash:masterfrom
swiknaba:swiknaba/fix-BigDecimal-new

Conversation

@swiknaba

@swiknaba swiknaba commented Jan 3, 2021

Copy link
Copy Markdown

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