diff --git a/websocket.gemspec b/websocket.gemspec index 764c6c4..5cbc1a2 100644 --- a/websocket.gemspec +++ b/websocket.gemspec @@ -14,8 +14,7 @@ Gem::Specification.new do |s| s.description = 'Universal Ruby library to handle WebSocket protocol' s.license = 'MIT' - s.files = `git ls-files`.split("\n") - s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") + s.files = `git ls-files`.split("\n").reject { |f| f.match(%r{^(spec/|\.)}) } s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) } s.require_paths = ['lib']