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']