Skip to content

Conversation

@yuri-zubov
Copy link

@yuri-zubov yuri-zubov commented Jan 24, 2026

This pull request updates the *.gemspec file to optimize the gem package size and structure

$ gem build -o before.tar.gz

$ git switch reduce-gem-size

$ gem build -o after.tar.gz

$ du -sh before.tar.gz after.tar.gz
112K  before.tar.gz
12K  after.tar.gz
Metric Before After Saved
Size 112K 12K −100K (⏷ −89.29%)

whitch files was deleted?

 data
-├── .github
-│   └── workflows
-│       ├── lint.yml
-│       └── test.yml
-├── .gitignore
-├── .rubocop.yml
-├── Appraisals
-├── bin
-│   └── console
-├── Gemfile
-├── gemfiles
-│   ├── sidekiq_4.0.gemfile
-│   ├── sidekiq_4.1.gemfile
-│   ├── sidekiq_4.2.gemfile
-│   ├── sidekiq_5.0.gemfile
-│   ├── sidekiq_6.0.gemfile
-│   ├── sidekiq_6.5.gemfile
-│   ├── sidekiq_7.0.gemfile
-│   └── sidekiq_master.gemfile
-├── lefthook.yml
 ├── lib
 │   └── sidekiq
 │       ├── grouping
 │       │   ├── batch.rb
 │       │   ├── config.rb
 │       │   ├── flusher_observer.rb
 │       │   ├── flusher.rb
 │       │   ├── middleware.rb
 │       │   ├── redis_dispatcher.rb
 │       │   ├── redis.rb
 │       │   ├── version.rb
 │       │   ├── views
 │       │   │   └── index.erb
 │       │   └── web.rb
 │       └── grouping.rb
 ├── LICENSE.txt
-├── Rakefile
 ├── README.md
-├── sidekiq-grouping.gemspec
-├── spec
-│   ├── modules
-│   │   ├── batch_spec.rb
-│   │   └── redis_spec.rb
-│   ├── spec_helper.rb
-│   └── support
-│       └── test_workers.rb
-└── web.png

ps: you can see on rails repo

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.

1 participant