From c2676e8eec1bb3afd3bf1370cc1423796ab91718 Mon Sep 17 00:00:00 2001 From: Akira Matsuda Date: Fri, 2 Aug 2024 18:42:29 +0900 Subject: [PATCH] Exclude spec files from gem package --- http_parser.rb.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http_parser.rb.gemspec b/http_parser.rb.gemspec index 56ad49c..63bccf9 100644 --- a/http_parser.rb.gemspec +++ b/http_parser.rb.gemspec @@ -9,7 +9,7 @@ Gem::Specification.new do |s| s.license = 'MIT' s.homepage = "https://github.com/tmm1/http_parser.rb" - s.files = `git ls-files`.split("\n") + Dir['ext/ruby_http_parser/vendor/**/*'] + s.files = `git ls-files`.split("\n").grep_v(%r{spec/}) + Dir['ext/ruby_http_parser/vendor/**/*'] s.require_paths = ["lib"] s.extensions = ["ext/ruby_http_parser/extconf.rb"]