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

Make web-specific gems optional #1102

Merged
merged 1 commit into from
May 3, 2021

Conversation

timriley
Copy link
Member

@timriley timriley commented May 3, 2021

Remove hanami-controller, hanami-router, and hanami-view from the gemspec, instead allowing these gems to be included in the Gemfiles of generated Hanami applications.

This allows Hanami to be used more gracefully as a non-web application framework, since it will no longer be pulling in unnecessary dependencies for that case.

Copy link
Member

@solnic solnic left a comment

Choose a reason for hiding this comment

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

instaprove

@timriley timriley self-assigned this May 3, 2021
@timriley timriley added this to the v2.0.0 milestone May 3, 2021
@timriley timriley requested a review from jodosha May 3, 2021 10:26
@timriley
Copy link
Member Author

timriley commented May 3, 2021

Remove hanami-controller, hanami-router, and hanami-view from the Gemfile, instead allowing these gems to be included in the Gemfiles of generated Hanami applications.

This allows Hanami to be used more gracefully as a non-web application framework, since it will no longer be pulling in unnecessary dependencies for that case.
@timriley timriley force-pushed the enhancement/unstable/web-gems-optional branch from 8981353 to b4bfa99 Compare May 3, 2021 10:52
@timriley timriley merged commit db58afb into unstable May 3, 2021
@timriley timriley deleted the enhancement/unstable/web-gems-optional branch May 3, 2021 10:54
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