diff options
author | Yasuo Honda <yasuo.honda@gmail.com> | 2017-12-14 18:58:40 +0000 |
---|---|---|
committer | Yasuo Honda <yasuo.honda@gmail.com> | 2017-12-14 19:00:00 +0000 |
commit | bd4211ea1318aed28b3d5e784e09f23efb377236 (patch) | |
tree | 4cef037b664dc26b73bbbab44882d4c62a6d7ded /activesupport/test | |
parent | 659c516bef2781cc66865fc78ed5dce682566d26 (diff) | |
download | rails-bd4211ea1318aed28b3d5e784e09f23efb377236.tar.gz rails-bd4211ea1318aed28b3d5e784e09f23efb377236.tar.bz2 rails-bd4211ea1318aed28b3d5e784e09f23efb377236.zip |
Suppress `warning: BigDecimal.new is deprecated` in Active Model
`BigDecimal.new` has been deprecated in BigDecimal 1.3.3
which will be a default for Ruby 2.5.
Refer ruby/bigdecimal@5337373
* This commit has been made as follows:
```ruby
$ cd activemodel/
$ git grep -l BigDecimal.new | grep \.rb | xargs sed -i -e "s/BigDecimal.new/BigDecimal/g"
```
* This commit has been tested with these Ruby versions:
```
ruby 2.5.0dev (2017-12-15 trunk 61262) [x86_64-linux]
ruby 2.4.2p198 (2017-09-14 revision 59899) [x86_64-linux]
ruby 2.3.5p376 (2017-09-14 revision 59905) [x86_64-linux]
ruby 2.2.8p477 (2017-09-14 revision 59906) [x86_64-linux]
```
Diffstat (limited to 'activesupport/test')
0 files changed, 0 insertions, 0 deletions