Skip to content

Suppress warning: BigDecimal.new is deprecated; in specs - #579

Merged
andrehjr merged 1 commit into
splitrb:masterfrom
giraffate:deprecated_bigdecimal_new
Aug 21, 2019
Merged

Suppress warning: BigDecimal.new is deprecated; in specs#579
andrehjr merged 1 commit into
splitrb:masterfrom
giraffate:deprecated_bigdecimal_new

Conversation

@giraffate

Copy link
Copy Markdown
Contributor

Replace BigDecimal.new() with BigDecimal() to suppress warnings in specs.
#551 fixed this warning in codes, but didn't in specs. So, this PR fixes this warning in specs.

Following is a warning message.

warning: BigDecimal.new is deprecated; use BigDecimal() method instead.
@andrehjr

Copy link
Copy Markdown
Member

Thanks for the PR @giraffate ! Travis is failing because of na unrelated issue.

I'll fix that first and then I'll merge your PR.

@giraffate

Copy link
Copy Markdown
Contributor Author

I'll fix that first and then I'll merge your PR.

Thanks!

@andrehjr
andrehjr merged commit 45de9d0 into splitrb:master Aug 21, 2019
@giraffate
giraffate deleted the deprecated_bigdecimal_new branch August 21, 2019 00:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants