Skip to content

rubocop#2

Closed
sunny wants to merge 38 commits intomainfrom
rubocop
Closed

rubocop#2
sunny wants to merge 38 commits intomainfrom
rubocop

Conversation

@sunny
Copy link
Owner

@sunny sunny commented Dec 5, 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 sunny closed this Dec 5, 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.

9 participants