-
Notifications
You must be signed in to change notification settings - Fork 84
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
Do not publish spec files to rubygems #149
Do not publish spec files to rubygems #149
Conversation
@Liboul Nice catch. |
Hi there, Is there any chance that we could get this released to rubygems? I'm also struggling with a large slug size which would be greatly reduced if specs were not included. |
@gee-forr Sorry it has taken so long to get to this. I wanted to fix the CI build error, but there is a strange Rails 6 problem only in the testing environment that I've not been able to solve yet. |
2.6.3 released |
Please don't apologise - we all lead crazy lives. Thank you for handling this silly minor issue, it's very much appreciated! |
Hello 👋
What is this PR?
Making sure that the spec/ folder is not published to rubygems.
As RubyGems points out, the test_files option is ignored
Why?
The specs are no use to the end user, and they inflate the project size. Heroku's slug size cap is 500 MB, the specs of this gem account for 14.7 MB. This change is important for us, as the limit of 500 MB has been reached.
Currently 👇
After this PR: