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

Updated gemspec to specific Rails gems #568

Merged
merged 3 commits into from Jan 5, 2022

Conversation

paul
Copy link
Contributor

@paul paul commented Jan 4, 2022

Type of PR (feature, enhancement, bug fix, etc.)

Enhancement

Description

Limit gem dependencies to only the Rails gems that we directly depend upon.

Why should this be added

Most apps don't require the full suite of Rails gems, and can avoid installing them to save CI and deploy time. This gem, however, had a dependency on the Rails meta-gem which ended up installing them all anyways.

I'm not sure how to really test this, since the dummy app uses all of Rails. I grep'd through ./lib to see what parts of Rails were being used, but that might not be comprehensive.

Checklist

  • My code follows the style guidelines of this project
  • Checks (StandardRB & Prettier-Standard) are passing
  • This is not a documentation update

paul and others added 2 commits January 4, 2022 12:41
Most apps don't require the full suite of Rails gems, and can avoid
installing them to save CI and deploy time. This gem, however, had a
dependency on the Rails meta-gem which ended up installing them all
anyways.

Instead, we can limit it to only the Rails gems that we directly depend upon.
@leastbad
Copy link
Contributor

leastbad commented Jan 5, 2022

Same deal: can you please pull it, run bundle and push the changes? With my apologies and graditude.

nvm: took care of it!

@leastbad leastbad merged commit d46ecb0 into stimulusreflex:master Jan 5, 2022
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

2 participants