Skip to content

Commit 6ff767b

Browse files
committed
Switch to whitelisting the files shipped in the resulting gem
This ships only the needed files to run.
1 parent 618956f commit 6ff767b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

openvoxserver-ca.gemspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ Gem::Specification.new do |spec|
1313
spec.summary = %q{A simple CLI tool for interacting with OpenVox Server's Certificate Authority}
1414
spec.homepage = "https://github.com/OpenVoxProject/openvoxserver-ca/"
1515

16-
spec.files = `git ls-files -z`.split("\x0").reject do |f|
17-
f.match(%r{^(test|spec|features)/})
16+
spec.files = `git ls-files -z`.split("\x0").select do |f|
17+
f.match(%r{^(lib|exe)/|.md$|^LICENSE$})
1818
end
1919
spec.bindir = "exe"
2020
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }

0 commit comments

Comments
 (0)