Skip to content

Remove unnecessary test_files from the gemspec#1712

Merged
jkowens merged 1 commit intosinatra:masterfrom
pocke:Remove_unnecessary__test_files__from_the_gemspec
Aug 17, 2021
Merged

Remove unnecessary test_files from the gemspec#1712
jkowens merged 1 commit intosinatra:masterfrom
pocke:Remove_unnecessary__test_files__from_the_gemspec

Conversation

@pocke
Copy link
Copy Markdown
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.

3 participants