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

Rename Spree::Config.promotions.promotion_adjuster_class #5752

Merged
merged 1 commit into from
May 21, 2024

Conversation

mamhoff
Copy link
Contributor

@mamhoff mamhoff commented May 16, 2024

Summary

This extension point has duplication when used, so we're renaming it to Spree::Config.promotions.order_adjuster_class. This describes better what it does.

The new promotions configuration class has not been released, so we don't need a deprecation cycle for this change.

Checklist

Check out our PR guidelines for more details.

The following are mandatory for all PRs:

@mamhoff mamhoff requested a review from a team as a code owner May 16, 2024 14:23
@github-actions github-actions bot added the changelog:solidus_core Changes to the solidus_core gem label May 16, 2024
Copy link

codecov bot commented May 16, 2024

Codecov Report

Attention: Patch coverage is 90.90909% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 88.84%. Comparing base (1fdedd4) to head (1c7f5f0).
Report is 2 commits behind head on main.

Files Patch % Lines
core/lib/spree/app_configuration.rb 85.71% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5752      +/-   ##
==========================================
- Coverage   88.85%   88.84%   -0.01%     
==========================================
  Files         706      706              
  Lines       16781    16784       +3     
==========================================
+ Hits        14910    14912       +2     
- Misses       1871     1872       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

This extension point has duplication when used, so we're renaming it to
`Spree::Config.promotions.order_adjuster_class`. This describes better
what it does.
Copy link
Member

@tvdeyen tvdeyen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes much more sense

@kennyadsl kennyadsl merged commit 64f747e into solidusio:main May 21, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:solidus_core Changes to the solidus_core gem
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants