Closed ekremkaraca closed 5 years ago
I removed them from the gem. Please try version 1.3.1. Thanks!
@itmammoth Wow, the gem is now 21KB! Thanks so much! Here are difference in size (using ncdu
):
Before:
--- /home/ekrem/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rails_sortable-1.3.0
11.5 MiB [##########] /spec
32.0 KiB [ ] /app
32.0 KiB [ ] /lib
20.0 KiB [ ] /vendor
8.0 KiB [ ] /config
4.0 KiB [ ] README.md
4.0 KiB [ ] LICENSE
4.0 KiB [ ] Rakefile
After:
--- /home/ekrem/.asdf/installs/ruby/2.6.3/lib/ruby/gems/2.6.0/gems/rails_sortable-1.3.1
356.0 KiB [##########] /spec
32.0 KiB [ ] /app
32.0 KiB [ ] /lib
20.0 KiB [ ] /vendor
8.0 KiB [ ] /config
4.0 KiB [ ] README.md
4.0 KiB [ ] LICENSE
4.0 KiB [ ] Rakefile
Hi,
while installing the gem, sprockets caches in dummy in spec folder is installed. It uses more than 8 MB space and the gem weighs 5 MB. Can you remove it from the gem?