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

Fix responders gem dependency #3336

Merged

Conversation

kennyadsl
Copy link
Member

@kennyadsl kennyadsl commented Sep 16, 2019

Description

We removed responders gem dependency from core with #2090 but we are using respond_with in both solidus_frontend and solidus_backend controllers.

It is working because the dependency is satisfied by solidus_api (and solidus_auth_devise since responders is a direct devise dependency as well).

This dependency is currently not explicit in solidus_frontend and solidus_backend gemspecs. This PR fixes this issue.

Checklist:

  • I have followed Pull Request guidelines
  • I have added a detailed description into each commit message
  • [ ] I have updated Guides and README accordingly to this change (if needed)
  • [ ] I have added tests to cover this change (if needed)

We are using respond_with in solidus_frontend controllers but
this dependency is not explicit in the gemspec.

It is working now because it's a dependency of solidus_api (and
solidus_auth_devise).
It is now loaded and required through solidus_api (and
solidus_auth_devise if included) but respond_with is widely used
and it is better to explicitely require it.
@kennyadsl kennyadsl self-assigned this Sep 16, 2019
Copy link
Contributor

@ericsaupe ericsaupe left a comment

Choose a reason for hiding this comment

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

Thanks!

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.

Thanks

@kennyadsl kennyadsl merged commit 87ab7fd into solidusio:master Sep 18, 2019
@kennyadsl kennyadsl deleted the kennyadsl/fix-responders-dependency branch September 18, 2019 12:45
waiting-for-dev added a commit to nebulab/solidus that referenced this pull request Jun 16, 2023
We removed the responders dependency from solidus_core in
solidusio#2090. However, we forgot to
remove the use of the responders API from solidus_core. We weren't
catching this because all consumers of solidus_core's
`Spree::BaseController` had the responders gen as a dependency (see
solidusio#3336)
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.

None yet

3 participants