bigcartel / dugway

Easily build and test Big Cartel themes.
https://developers.bigcartel.com/api/themes
MIT License
149 stars 22 forks source link

Fix BigDecimal.new deprecation warning #171

Closed brettchalupa closed 4 years ago

brettchalupa commented 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.

Fixes https://github.com/bigcartel/dugway/issues/170

hwinn4 commented 4 years ago

TY! I just started using Dugway today and noticed this warning. 🎉