From 002eea294b351268c91107f69751b5706707061a Mon Sep 17 00:00:00 2001 From: Nicolas Rodriguez Date: Sat, 12 Oct 2024 17:47:30 +0200 Subject: [PATCH] Make gem smaller --- redis_web_manager.gemspec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/redis_web_manager.gemspec b/redis_web_manager.gemspec index 0170890..3f60151 100644 --- a/redis_web_manager.gemspec +++ b/redis_web_manager.gemspec @@ -15,7 +15,16 @@ Gem::Specification.new do |s| s.required_ruby_version = '>= 3.1.0' - s.files = `git ls-files`.split("\n") + s.files = Dir[ + 'README.md', + 'LICENSE', + 'lib/**/*.rb', + 'config/**/*.rb', + 'app/**/*.rb', + 'app/**/*.erb', + 'app/**/*.js', + 'app/**/*.css' + ] s.add_dependency 'pagy', '>= 5.0' s.add_dependency 'rails', '>= 7.0'