-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Update the SolidusFrontend dependency to 3.4.0.dev #4889
Update the SolidusFrontend dependency to 3.4.0.dev #4889
Conversation
This reverts commit aaa136f. Since we'll point solidus_frontend to 3.4.0.dev, we should be able to fetch the master version of solidus_frontend from GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One non-blocking comment
@@ -3,7 +3,10 @@ | |||
if Bundler.locked_gems.dependencies['solidus_frontend'] | |||
say_status :skipping, "solidus_frontend is already in the bundle", :blue | |||
else | |||
bundle_command("add solidus_frontend") | |||
# `solidus_frontend` is not sourced from rubygems if the solidus gem was not. | |||
github_solidus_frontend = '--github solidusio/solidus_frontend' unless solidus.nil? || solidus.source.is_a?(Bundler::Source::Rubygems) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: I think this can be reversed to if solidus && !solidus.source.is_a?(Bundler::Source::Rubygems)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@elia I can submit a separate PR to make this refactoring. At the moment, I would just like to get this PR merged so that I can get the SolidusBraintree CI to pass...
Summary
Fixes #4878.
Also reverts aaa136f. Since solidus_frontend 3.4.0.dev is released, we should be able to fetch the unreleased updates to 3.4.0.dev from GitHub.
Testing
The SolidusBraintree CI passes when pointing to this branch: https://app.circleci.com/pipelines/github/solidusio/solidus_braintree/218/workflows/09db5b6d-df33-4b27-9adb-9eaee4196163.
Here's the change to the SolidusBraintree Gemfile: solidusio/solidus_braintree@3e95898.
Checklist
Check out our PR guidelines for more details.
The following are mandatory for all PRs:
[ ] I have documented new code with YARD.The following are not always needed (
cross them outif they are not):[ ] I have added automated tests to cover my changes.[ ] I have attached screenshots to demo visual changes.[ ] I have opened a PR to update the guides.[ ] I have updated the README to account for my changes.