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 test/ from bundled gem #65

Closed
parkr opened this issue Oct 29, 2020 · 4 comments
Closed

Remove test/ from bundled gem #65

parkr opened this issue Oct 29, 2020 · 4 comments

Comments

@parkr
Copy link

parkr commented Oct 29, 2020

Hey folks,

I noticed that this gem is 2.6 MB, 2.5 of which comes from test/data/large_dataset.json. Is it necessary to ship the test data with this gem? Perhaps we could get away with just:

  • lib/
  • crack.gemspec
  • History
  • LICENSE
  • README.md

What do you think? /cc @bf4

@parkr
Copy link
Author

parkr commented Oct 29, 2020

Screen Shot 2020-10-29 at 3 52 05 PM

@bf4
Copy link
Collaborator

bf4 commented Oct 30, 2020

Nope, no need to ship tests. Rubygems hasn't supported executing them for ages and I think there's a general pattern of removing them from built gems. You up for a PR?

@parkr
Copy link
Author

parkr commented Oct 30, 2020

Well, it looks like I was beaten to it – in 2018! Crack v0.4.3 (pictured above) included the test data, but v0.4.4 (which I just upgraded to), does not.

Thank you for the quick reply, @bf4, and for being cool with the proposal. Sorry for not checking on the latest version! 🤦

@parkr parkr closed this as completed Oct 30, 2020
@bf4
Copy link
Collaborator

bf4 commented Oct 30, 2020 via email

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

No branches or pull requests

2 participants