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

Lines changed: 5 additions & 3 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy