Closed brettchalupa closed 4 years ago
When using Dugway on Ruby 2.6.0, the following deprecation warning is thrown:
warning: BigDecimal.new is deprecated; use BigDecimal() method instead.
This reworks the use of BigDecimal based on this deprecation warning. I confirmed this fixes the issue when using this new gem version locally.
BigDecimal
Fixes https://github.com/bigcartel/dugway/issues/170
TY! I just started using Dugway today and noticed this warning. 🎉
When using Dugway on Ruby 2.6.0, the following deprecation warning is thrown:
This reworks the use of
BigDecimal
based on this deprecation warning. I confirmed this fixes the issue when using this new gem version locally.Fixes https://github.com/bigcartel/dugway/issues/170