Skip to content
Merged
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
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## 6.8.4
- Resolving NIO ambiguity with CAD
- Display the BBD $ symbol before digits
- Symbol first for NIO and PAB currencies

## 6.8.3
- Added support for the British Penny (GBX)
- Fixed LKR currency html_entity symbol

## 6.8.2
- Removed subunits for HUF
- Fixed `#from_amount` accepting `nil` as currency_code
Expand Down
9 changes: 5 additions & 4 deletions config/currency_iso.json
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@
"alternate_symbols": ["Bds$"],
"subunit": "Cent",
"subunit_to_unit": 100,
"symbol_first": false,
"symbol_first": true,
"html_entity": "$",
"decimal_mark": ".",
"thousands_separator": ",",
Expand Down Expand Up @@ -1253,7 +1253,7 @@
"subunit": "Cent",
"subunit_to_unit": 100,
"symbol_first": false,
"html_entity": "௹",
"html_entity": "₨",
"decimal_mark": ".",
"thousands_separator": ",",
"iso_numeric": "144",
Expand Down Expand Up @@ -1584,10 +1584,11 @@
"iso_code": "NIO",
"name": "Nicaraguan Córdoba",
"symbol": "C$",
"disambiguate_symbol": "NIO$",
"alternate_symbols": [],
"subunit": "Centavo",
"subunit_to_unit": 100,
"symbol_first": false,
"symbol_first": true,
"html_entity": "",
"decimal_mark": ".",
"thousands_separator": ",",
Expand Down Expand Up @@ -1665,7 +1666,7 @@
"alternate_symbols": [],
"subunit": "Centésimo",
"subunit_to_unit": 100,
"symbol_first": false,
"symbol_first": true,
"html_entity": "",
"decimal_mark": ".",
"thousands_separator": ",",
Expand Down
16 changes: 16 additions & 0 deletions config/currency_non_iso.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,21 @@
"thousands_separator": ",",
"iso_numeric": "",
"smallest_denomination": ""
},
"gbx": {
"priority": 100,
"iso_code": "GBX",
"name": "British Penny",
"symbol": "",
"disambiguate_symbol": "GBX",
"alternate_symbols": [],
"subunit": "",
"subunit_to_unit": 1,
"symbol_first": true,
"html_entity": "",
"decimal_mark": ".",
"thousands_separator": ",",
"iso_numeric": "",
"smallest_denomination": 1
}
}
2 changes: 1 addition & 1 deletion lib/money/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
class Money
VERSION = "6.8.2"
VERSION = "6.8.4"
end