Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## Unreleased

- Fix symbol for XOF (West African CFA Franc) to "F.CFA" instead of "Fr", with "XOF" as the disambiguate symbol
- Fix `Money::Allocation.generate` converting a Rational with unlimited `to_d` precision. It now uses `Money.conversion_precision`
- Fix `Money::Currency.reset!` keeping the cached key set, so a currency registered before the reset was still accepted by `Money::Currency.new` and raised `NoMethodError` instead of `UnknownCurrency`
- Fix `Money::Bank::VariableExchange#import_rates` parsing `:json` with `JSON.load`, which instantiates any class named by a `json_class` key; it now uses `JSON.parse`
Expand Down
8 changes: 4 additions & 4 deletions config/currency_iso.json
Original file line number Diff line number Diff line change
Expand Up @@ -2590,10 +2590,10 @@
"xof": {
"priority": 100,
"iso_code": "XOF",
"name": "West African Cfa Franc",
"symbol": "Fr",
"disambiguate_symbol": "CFA",
"alternate_symbols": ["CFA"],
"name": "West African CFA Franc",
"symbol": "F.CFA",
"disambiguate_symbol": "XOF",
"alternate_symbols": ["CFA", "F CFA", "FCFA"],
"subunit": "Centime",
"subunit_to_unit": 1,
"symbol_first": false,
Expand Down
Loading