codemancers / invoicing

Ruby invoicing framework gem
http://invoicing.c9s.dev/
MIT License
265 stars 40 forks source link

BigDecimal warning on ruby 2.6.1 #62

Closed sallesma closed 5 years ago

sallesma commented 5 years ago

I am facing a huge number of warnings in my codebase due to BigDecimal.new usage, which seems to be deprecated on ruy 2.6.

Example :

/Users/sallesma/.rvm/gems/ruby-2.6.1/gems/invoicing-1.0.1/lib/invoicing/currency_value.rb:289: warning: BigDecimal.new is deprecated; use BigDecimal() method instead.

I'am going to work on a fix for this