Skip to content

Conversation

@sunny
Copy link
Owner

@sunny sunny commented Dec 19, 2025

yukideluxe and others added 30 commits July 24, 2025 15:03
Specs: Remove spec for Money#pence which doesn’t exist
Before:

> Randomized with seed 53114
> .........................................................................................................................................[WARNING] Using :ruby format when importing rates is potentially unsafe and might lead to remote code execution via Marshal.load deserializer. Consider using safe alternatives such as :json and :yaml.
> ...........................................................................................................................................................................................................................................................................................................................................................................................

After:

> Randomized with seed 30224
> ....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

Also moved a few RSpec configuration into their own support files in order to have a more readable RSpec configuration.
…d-link

Replace Inch CI docs link with GitHub Pages version
…n-formatting-rules

remove deprecated formatting rules
…rency-differs

Warn when using `#eql?` on zero amounts with different currencies
…s-on-non-dollars

Deprecate `Money#dollars` and `Money.from_dollars`
Adjust formatting rules to use i18n translations for `:format`
Co-authored-by: Sunny Ripert <sunny@sunfox.org>
Co-authored-by: Sunny Ripert <sunny@sunfox.org>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
`default_currency` is no longer USD
- Remove Money.use_i18n and Money.use_i18n= methods
- Remove legacy locale backend implementation
- Change default locale backend from :i18n to :currency
- Fix tests to explicitly set :i18n backend where needed
- Fix arithmetic tests timing issue with around blocks
- Update CHANGELOG to document breaking changes
sunny and others added 28 commits December 9, 2025 19:05
"Gulden" is part of the Dutch name "Antilliaanse gulden".
The English name is "Netherlands Antillean guilder".

Also note that officially it's styled with lowercase "guilder" [1,2] but opting for "Guilder" to be consistent with the title-case naming style of other currencies in this library.

[1]: https://www.centralbank.cw/functions/banknotes-coins/caribbean-guilder
[2]: https://www.centralbank.cw/storage/app/media/caribbean_guilder/20250404_caribbean_guilder_introduction_flyer_english.pdf
@sunny sunny force-pushed the rubocop-add-configuration-for-nonzero-and-safe-navigation branch from 11c6bcd to 812c3e2 Compare December 19, 2025 08:53
@sunny sunny closed this Dec 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.