Skip to content

Commit

Permalink
Merge pull request #1068 from simonneutert/ruby-stdlib-deprecation-wa…
Browse files Browse the repository at this point in the history
…rning

Fixes ruby deprecation warning regarding `bigdecimal` will be moved out from stdlib soon
  • Loading branch information
semmons99 authored Mar 13, 2024
2 parents 51497ed + c473f3e commit 79989af
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -140,3 +140,4 @@ Yuusuke Takizawa
Zubin Henner
Бродяной Александр
Nicolay Hvidsten
Simon Neutert
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
## 6.19.0

- Change Peruvian Sol (PEN) decimal mark and thousands separator.
- Fix deprecation warning for BigDecimal being moved out from stdlib.
- Improves Precision and Simplifies Allocation Logic
- explicit declaration of i18n locales
- Add space to CHF format
Expand Down
2 changes: 2 additions & 0 deletions money.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ Gem::Specification.new do |s|
s.description = "A Ruby Library for dealing with money and currency conversion."
s.license = "MIT"


s.add_dependency "bigdecimal", "~> 3.1" if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('6.19.0')
s.add_dependency 'i18n', [">= 0.6.4", '<= 2']

s.add_development_dependency "bundler"
Expand Down

0 comments on commit 79989af

Please sign in to comment.