Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] main from solidusio:main #400

Merged
merged 14 commits into from
Mar 7, 2024
Merged

[pull] main from solidusio:main #400

merged 14 commits into from
Mar 7, 2024

Conversation

pull[bot]
Copy link

@pull pull bot commented Mar 6, 2024

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

mamhoff and others added 11 commits March 2, 2024 12:17
This is intended to be used by the API Promotions Controller.
This configurable class finds a promotion by its code.
The default has to be the Null promotion finder.
The API promotions controller is pretty straightforward, and the only
touch point here is finding a promotion. With that added to the
promotion configuration, we can now use it with no changes to our specs.
This allows us to change the promotion system with factories, because we
stop using factories in this spec.
We want to extract the legacy promotion system from Solidus into its own
gem to facilitate moving towards solidus_promotions.
The new weights for the individual sub-projects are their duration in
seconds.
Previously, all flash messages were showing with the same (black)
background. Internally, the flash object converts and stores keys
as strings [1].

[1] https://github.com/rails/rails/blob/main/actionpack/lib/action_dispatch/middleware/flash.rb#L163
Add extension point: Promotion finder
mamhoff and others added 2 commits March 6, 2024 22:56
The money gem in its latest iteration added a space between value and
unit of the Swiss Franc. Our heuristic in `_js_locale_data.html.erb`
can't deal with that, so we add a third branch to it: If the money gem
has a format wish, we'll respect it, but replace its abbreviations with
the one the `accounting.js` library prefers.
Fix JS locale data for release of Money 6.19
@pull pull bot merged commit 75d3196 into nebulab:main Mar 7, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants