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

[4.1] Fix latest rubocop offenses #5654

Merged
merged 4 commits into from
Apr 5, 2024
Merged

Conversation

tvdeyen
Copy link
Member

@tvdeyen tvdeyen commented Feb 8, 2024

Same as #5653 but for 4.1 branch

tvdeyen and others added 4 commits February 8, 2024 11:23
Fixed with

    rubocop -a
Using

    rubocop -A

and verified they are safe.
We have tasks that are not needing the Rails environment for builds and such that are not in the Rails app

Rubocop flags those by mistake because it does not know we are not an
app, but an engine.
@tvdeyen tvdeyen requested a review from a team as a code owner February 8, 2024 10:30
@github-actions github-actions bot added changelog:solidus_api Changes to the solidus_api gem changelog:solidus_backend Changes to the solidus_backend gem changelog:solidus_core Changes to the solidus_core gem changelog:repository Changes to the repository not within any gem labels Feb 8, 2024
Copy link

codecov bot commented Feb 8, 2024

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (9394f9f) 88.74% compared to head (042193c) 88.74%.

Files Patch % Lines
core/app/models/spree/promotion_handler/coupon.rb 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             v4.1    #5654   +/-   ##
=======================================
  Coverage   88.74%   88.74%           
=======================================
  Files         563      563           
  Lines       13883    13883           
=======================================
  Hits        12320    12320           
  Misses       1563     1563           

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

@tvdeyen tvdeyen merged commit 3537d98 into solidusio:v4.1 Apr 5, 2024
10 of 11 checks passed
@tvdeyen tvdeyen deleted the 4.1-rubocop branch April 5, 2024 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:repository Changes to the repository not within any gem changelog:solidus_api Changes to the solidus_api gem changelog:solidus_backend Changes to the solidus_backend gem changelog:solidus_core Changes to the solidus_core gem
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants