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

Remove unnecessary test_files from the gemspec #1712

Merged

Conversation

pocke
Copy link
Contributor

@pocke pocke commented Jul 23, 2021

This PR removes test_files from the gemspec because it is unnecessary.

Sinatra sets an empty array to test_files since 9871970. The commit omits test/ directory from published package.
So currently the test_files option does nothing.

We have two choices, removing the test_files, or adding files under test/ to test_files.
I think the first approach, removing test_files, is better. Because tset_files is no longer recommended. ref: rubygems/guides#90 rubygems/bundler#3207
And I guess Sinatra users don't need test_files because they had no trouble with empty test_files.

@sinatra sinatra deleted a comment Jul 23, 2021
@jkowens jkowens merged commit 39488d9 into sinatra:master Aug 17, 2021
@pocke pocke deleted the Remove_unnecessary__test_files__from_the_gemspec branch August 17, 2021 14:59
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