Skip to content
This repository was archived by the owner on Dec 4, 2021. It is now read-only.

Commit 38a88ae

Browse files
committed
cleanup gemspec
1 parent 1aeb2d7 commit 38a88ae

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

mongodb_logger.gemspec

+2-3
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,8 @@ Gem::Specification.new do |gem|
3636
gem.add_dependency "vegas", "~> 0.1.8"
3737

3838
gem.bindir = 'exe'
39-
gem.executables = `git ls-files -- exe/*`.split("\n").map{ |f| File.basename(f) }
40-
gem.files = `git ls-files`.split("\n")
41-
gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
39+
gem.executables = gem.files.grep(%r{^exe/}) { |f| File.basename(f) }
40+
gem.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
4241
gem.name = "mongodb_logger"
4342
gem.require_paths = ["lib"]
4443
gem.version = MongodbLogger::VERSION

0 commit comments

Comments
 (0)