From 202b85d70553c3cc417353d5d0b5836b5dec40de Mon Sep 17 00:00:00 2001 From: Calvin Yu Date: Sat, 17 Jun 2023 19:06:13 +0000 Subject: [PATCH] Exclude test in gem --- rack-cors.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rack-cors.gemspec b/rack-cors.gemspec index 2efd73e..ada68f1 100644 --- a/rack-cors.gemspec +++ b/rack-cors.gemspec @@ -14,7 +14,7 @@ Gem::Specification.new do |spec| spec.homepage = 'https://github.com/cyu/rack-cors' spec.license = 'MIT' - spec.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR).reject { |f| (f == '.gitignore') || f =~ /^examples/ } + spec.files = Dir['CHANGELOG.md', 'README.md', 'LICENSE.txt', 'lib/**/*'] spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) spec.require_paths = ['lib']