Trim down gemspec files to bare necessities#6
Conversation
|
Hi and thanks for your contribution. This is indeed a good case for when specs are much larger than code and packaging only the code is noticeably beneficial. This git syntax is expanded at build time yes, and was carried from the fork. Your changes looks good to me. But the problem is I can't make a gem release as the gem still belongs to @weppos and he did not show any recent interest in maintaining or delegating it. So if you install my fork from github as recommended, I'm not sure the file list will be used, you'll probably end up with the same amount of files. I may release this fork under another name at some point, but that would kill any chance of merging back upstream so I've been delaying that for as long as possible. I just merged this PR, let us know if it changes anything for your pipelines. |
Hello, was working on optimizing some pipelines in my app and noticed that one of the largest gem size contributors was
Two things:
git ls-filesin the gemspec is expanded at build time (?), an installed gem has an actual list of files inlined there 😄lib. In particular some ~3M characters worth of tests.I imagine both issues were carried over from the fork. I am also aware the second one doesn't get fixed unless you make a gem release — any chance you could do that?
Thanks