Closed pocke closed 3 years ago
Gem::Specification#test_files= is no longer recommended. https://github.com/rubygems/guides/issues/90
Gem::Specification#test_files=
And it increases gem package size because the option adds test files to the package.
So I think we should avoid using test_files= option.
test_files=
It reduces 4.7MB package size on my local.
before
$ du graphiql-rails-1.7.0/ --summarize 6.7M graphiql-rails-1.7.0/
after
$ du graphiql-rails-1.7.0/ --summarize 2.0M graphiql-rails-1.7.0/
Thanks!
Gem::Specification#test_files=
is no longer recommended. https://github.com/rubygems/guides/issues/90And it increases gem package size because the option adds test files to the package.
So I think we should avoid using
test_files=
option.It reduces 4.7MB package size on my local.
before
after