Skip to content

Commit e35c6f4

Browse files
committed
Revert back to git based file list.
1 parent ceb8524 commit e35c6f4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

async-http-faraday.gemspec

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ Gem::Specification.new do |spec|
1010
spec.summary = "Provides an adaptor between async-http and faraday."
1111
spec.homepage = "https://github.com/socketry/async-http"
1212

13-
spec.files = [".editorconfig", ".gitignore", ".rspec", ".travis.yml", "Gemfile", "README.md", "Rakefile", "async-http-faraday.gemspec", "lib/async/http/faraday.rb", "lib/async/http/faraday/adapter.rb", "lib/async/http/faraday/version.rb"]
13+
spec.files = `git ls-files -z`.split("\x0").reject do |f|
14+
f.match(%r{^(test|spec|features)/})
15+
end
1416
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
1517
spec.require_paths = ["lib"]
1618

0 commit comments

Comments
 (0)