symbolized icon indicating copy to clipboard operation
symbolized copied to clipboard

remove deprecated usage of BigDecimal.new

Open swiknaba opened this issue 4 years ago • 0 comments

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 https://github.com/TamerShlash/symbolized/pull/4 to pass the CI.

swiknaba avatar Jan 03 '21 20:01 swiknaba