From 440e466680f87d03722d01e319bc11c9a82e53f3 Mon Sep 17 00:00:00 2001 From: Akira Matsuda Date: Fri, 2 Aug 2024 12:29:47 +0900 Subject: [PATCH] Exclude spec files from gem package --- redlock.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redlock.gemspec b/redlock.gemspec index 091c146..5e1abb3 100644 --- a/redlock.gemspec +++ b/redlock.gemspec @@ -14,7 +14,7 @@ Gem::Specification.new do |spec| spec.homepage = 'https://github.com/leandromoreira/redlock-rb' spec.license = 'BSD-2-Clause' - spec.files = `git ls-files -z`.split("\x0") + spec.files = `git ls-files -z`.split("\x0").grep_v(%r{^spec/}) spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) spec.require_paths = ['lib']