All Versions
43
Latest Version
Avg Release Cycle
53 days
Latest Release
-
Changelog History
Page 3
Changelog History
Page 3
-
v6.10.0 Changes
- โ Added support for i18n version 0.9
- Disabled rounding when verifying allocation splits
- โ Added Chinese Yuan Offshore (CNH)
- ๐ Fixed html_entity for ARS
- ๐ Fixed KZT symbol
- ๐ Allowed comparing cross currency when both are zero
- ๐ Fixed memory rate store
- Corrected HUF subunit and thousands separator config
-
v6.9.0 Changes
- Extracted heuristics into money-heuristics gem
-
v6.8.4 Changes
- Resolving NIO ambiguity with CAD
- Display the BBD $ symbol before digits
- Symbol first for NIO and PAB currencies
-
v6.8.3 Changes
- โ Added support for the British Penny (GBX)
- ๐ Fixed LKR currency html_entity symbol
-
v6.8.2 Changes
- โ Removed subunits for HUF
- Fixed
#from_amount
acceptingnil
as currency_code - ๐ Relaxed i18n version (< 0.9)
- Set symbol for UZS
- โ Added disambiguate_symbol for XFU
- ๐ Fixed Peruvian Sol name
- ๐ Fixed symbol_first for VND (now
false
)
-
v6.8.1 Changes
- ๐ Fixed issue with calling
format
on a frozenMoney
object
- ๐ Fixed issue with calling
-
v6.8.0 Changes
- ๐ Ruby 2.4.0 support
- ๐ Fixed UZS syntax
- ๐ Fixed HUF smallest denomination
- ๐ Fixed ruby 1.9 issues
- ๐ Fixed html entity for COP
- โก๏ธ Updated all currency decimals to ISO-4217
- ๐ Fixed money allocation for negative amounts
- ๐ Fixed symbol_first for RON
- ๐ Fixed disambiguate option when symbol is set to true
- ๐ Fixed thousands separator for CZK
- ๐ Improved formatter performance by precaching I18n calls
-
v6.7.1 Changes
- ๐ Changed DKK symbol from 'kr' to 'kr.'
- ๐ Improved Money::Formatting#format docs
- โก๏ธ Updated VEF symbol from 'Bs F' to 'Bs'
Currency#exponent
now returns Fixnum- ๐ Fixed coercion issues
- ๐ Fixed edge case with explicit override of thousands separator and decimal mark
- ๐ฉ
Money#==
will now raise error for non-zero numeric values - ๐ Fixed divmod
- โ Added disambiguation symbol to USD Dollar
- ๐ Use disambiguation symbol when both disambiguate and symbol are true in
format
method
-
v6.7.0 Changes
- Changed
Money#<=>
to returnnil
if the comparison is inappropriate. (#584) - Remove implicit conversion of values being compared. Only accept
Money
and subclasses ofMoney
for comparisons and raise TypeError otherwise. - When comparing fails due to
Money::Bank::UnknownRate
Money#<=>
will now returnnil
asComparable#==
will not rescue exceptions in the next release. - Fix
Currency
specs for#exponent
and#decimal_places
not making assertions. - Fix a couple of Ruby warnings found in specs.
- Fix
Money#-
,Money#+
arithmetics for Ruby 2.3+ : check for zero value without using eql? with a Fixnum. (#577) - Use
Money#decimal_mark
when formatting withrounded_infinite_precision
rule set totrue
. - Replaced meta-defined
thousands_separator
anddecimal_mark
methods with regular methods. (#579)
- Changed
-
v6.6.0 Changes
- Fixed VariableExchange#exchange_with for big numbers.
- Add Currency symbol translation support
Currency.all
raises a more helpful error message (Currency::MissingAttributeError
)if a currency has no priorityCurrency
implementsEnumerable
.Currency#<=>
sorts alphabetically byid
if thepriority
s are the same, and no longer raises an error if one of the priorities is missing.Money::Currency.unregister
can take an ISO code argument in addition to a hash.Money::Currency.unregister
returnstrue
if the given currency previously existed, andfalse
if it didn't.- Fix symbol for SZL currency
- Trying to create a Currency without an
iso_code
now raises a more helpful error message. - Add
Money.usd
,.cad
and.eur
as aliases for.us_dollar
,.ca_dollar
, and.euro
. - Add helper methods for British pounds:
Money.pound_sterling
andMoney.gbp
. - Add
Money.from_amount
to create money from a value in units instead of fractional units. - Changed CHF symbol from 'Fr' to 'CHF'
- Changed CLF exponent from 0 to 4
- Changed CLP subunit_to_unit from 1 to 100
- Minor fixes to prevent warnings on unused variables and the redefinition of
Money.default_currency
Money#==
changed to acknowledge that 0 in one currency is equal to 0 in any currency.- Changed KRW subunit_to_unit from 100 to 1
- Decouple exchange rates storage from bank objects and formalize storage public API. Default is
Money::RatesStore::Memory
. Currency.new
now a singleton by its id