diff --git a/wisper.gemspec b/wisper.gemspec index a326a35..06e77d6 100644 --- a/wisper.gemspec +++ b/wisper.gemspec @@ -26,7 +26,7 @@ Gem::Specification.new do |gem| gem.cert_chain = ['gem-public_cert.pem'] end - gem.files = `git ls-files`.split($/).reject { |f| f.split('/').first == 'bin' } + gem.files = `git ls-files`.split($/).reject { |f| f.start_with?(%r{(bin|spec)/}) } gem.test_files = gem.files.grep(%r{^(test|spec|features)/}) gem.require_paths = ["lib"] end