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

Move development dependencies to Gemfile #95

Merged

Conversation

jgarber623
Copy link
Contributor

This PR moves the project's development dependencies from its gemspec to Gemfile following RuboCop's Gemspec/DevelopmentDependencies (rubocop/rubocop#11469) recommendation. There's some debate on that PR over the change, but in the spirit of leaning in to community defaults, this change moves those dependencies.

I'll admit to not knowing this project's maintainers well enough to know whether or not y'all prefer this particular recommendation. If it's undesirable, we can close this one out and/or move the rule's configuration from the todo file to the main .rubocop.yml file.

RuboCop recommends gem authors specify development dependencies in their
project's `Gemfile` rather than in the gemspec. There's some debate on
the PR (linked below) over the preference, but, in the spirit of leaning
in to community defaults, this change moves those dependencies.

Links:

- https://docs.rubocop.org/rubocop/1.63/cops_gemspec.html#gemspecdevelopmentdependencies
- rubocop/rubocop#11469
…removing `Gemspec/DevelopmentDependencies`.
@radar radar merged commit 78218ac into radar:master May 15, 2024
3 checks passed
@jgarber623 jgarber623 deleted the move-development-dependencies-to-gemfile branch May 15, 2024 19:43
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.

2 participants