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

Do not publish spec files to rubygems #149

Conversation

Liboul
Copy link
Contributor

@Liboul Liboul commented Feb 17, 2021

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 👇

image

After this PR:

image

@straydogstudio straydogstudio merged commit fa1ad7c into caxlsx:master Feb 17, 2021
@straydogstudio
Copy link
Collaborator

@Liboul Nice catch.

@gee-forr
Copy link

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.

@straydogstudio
Copy link
Collaborator

@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.

@straydogstudio
Copy link
Collaborator

2.6.3 released

@gee-forr
Copy link

gee-forr commented Mar 9, 2022

@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.

Please don't apologise - we all lead crazy lives. Thank you for handling this silly minor issue, it's very much appreciated!

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