Money v5.1.0 Release Notes

    • πŸ›  Fix currency assumption when parsing $ with a non-USD default currency.
    • πŸ”„ Changed the Bulgarian lev symbol position from before the amount to after the amount.
    • πŸ”„ Changed the symbol and html entity for INR. It is now "β‚Ή" instead of "₨".
    • βž• Added Money::Currency.analyze for determining potential currencies for a given string using powereful algorithms - will detect symbols, iso codes and names even if mixed with text.
    • πŸ”„ Changed UGX symbol from 'Sh' to 'USh'.
    • πŸ”„ Changed SYP symbol from "Β£ or Ω„.Ψ³" to "Β£S". The previous symbols remain as alternates.
    • πŸ”„ Changed RWF symbol from 'FR' to 'FRw'.
    • πŸ”„ Changed RSD symbol from "din. or Π΄ΠΈΠ½." to 'Π Π‘Π”'. The previous symbols remain as alternates.
    • βž• Added MGA symbol 'Ar'
    • βž• Added KGS symbol 'som'
    • πŸ”„ Changed KES symbol from 'Sh' to 'KSh'
    • βž• Added ETB symbol 'Br'
    • πŸ”„ Changed EGP symbol from "Β£ or Ψ¬.Ω…" to "Ψ¬.Ω…"
    • πŸ”„ Changed DJF symbol from 'Fr' to 'Fdj'
    • πŸ”„ Changed CVE symbol from '$ or Esc' to '$'. 'Esc' remains as an alternate symbol.
    • βž• Added BTN symbol 'Nu.'
    • πŸ”„ Changed BAM symbol from 'KM or КМ' to 'КМ', the alternate (cyrillic script) remains as an alternate symbol.
    • βž• Added alternate symbols for all currencies. For example, USD can be written as both '$' and 'US$', SEK can be 'Kr' or ':-', etc.
    • πŸ“‡ Renamed Money#cents to Money#fractional. Money#cents can still be used as a synonym and equivalent of Money#fractional.
    • Added Money.new_with_amount and Money#amount. Money.new_with_dollars and Money#dollars remain as synonyms.
    • Calling Bank::Base.instance doesn't make Bank::VariableExchange.instance return Bank::Base.instance anymore (semaperepelitsa)
    • ⚑️ Update Turkmenistan manat from TMM to TMT currency (GH-181). [Thanks @Exoth]
    • 🚚 Moved ZWD Zimbabwean dollars to currency_bc.json, also added there ZWL, ZWN, and ZWR Zimbabwean dollars (GH-184).
    • Switch to multi_json gem (GH-170)
    • πŸ›  Fix "warning: ambiguous first argument..." (GH-166)
    • ⚑️ Update dependencies to latest and greatest (GH-172)
    • TravisBot is now watching Pull Request!!! (GH-171)
    • Minor code cleaning
    • βœ‚ Remove subunit from South Korean won (KRW)
    • πŸ›  Fixed bug where bankers rounding wasn't being used everywhere.