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 AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ Robert Starsi
Romain Gérard
Ryan Bigg
sankaranarayanan
Sascha Mayr
Scott Pierce
Semyon Perepelitsa
Shane Emmons
Expand Down
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 XPF (CFP Franc) to "F", the one used locally; "₣" (the French franc sign) moves to the alternate symbols
- 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
6 changes: 3 additions & 3 deletions config/currency_iso.json
Original file line number Diff line number Diff line change
Expand Up @@ -2623,9 +2623,9 @@
"xpf": {
"priority": 100,
"iso_code": "XPF",
"name": "Cfp Franc",
"symbol": "₣",
"alternate_symbols": ["F"],
"name": "CFP Franc",
"symbol": "F",
"alternate_symbols": ["F CFP", "XPF", "₣"],
"subunit": "Centime",
"subunit_to_unit": 1,
"symbol_first": false,
Expand Down
Loading