Skip to content

Commit 69bba6b

Browse files
committed
Removed needless files from Gem::Specification#files
1 parent 3d144ca commit 69bba6b

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

net-smtp.gemspec

+5-3
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,11 @@ Gem::Specification.new do |spec|
2222
spec.metadata["homepage_uri"] = spec.homepage
2323
spec.metadata["source_code_uri"] = spec.homepage
2424

25-
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
26-
`git ls-files -z 2>/dev/null`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
27-
end
25+
spec.files = %w[
26+
LICENSE.txt
27+
lib/net/smtp.rb
28+
net-smtp.gemspec
29+
]
2830
spec.bindir = "exe"
2931
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
3032
spec.require_paths = ["lib"]

0 commit comments

Comments
 (0)