From 7d4df5283a1d5161c1fb359bea896d2567e0c125 Mon Sep 17 00:00:00 2001 From: Yuri Zubov Date: Tue, 9 Jun 2026 07:22:28 +0300 Subject: [PATCH] Reduce gem size by excluding test files --- test_boosters.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_boosters.gemspec b/test_boosters.gemspec index 531cf2d..f06cef9 100644 --- a/test_boosters.gemspec +++ b/test_boosters.gemspec @@ -14,7 +14,7 @@ Gem::Specification.new do |spec| spec.homepage = "https://github.com/renderedtext/test-boosters" spec.license = "MIT" - spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } + spec.files = `git ls-files -z lib exe rspec_formatters LICENSE.txt README.md`.split("\x0") spec.bindir = "exe" spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ["lib"]