Skip to content

Commit 12cce69

Browse files
committed
Exclude dot-files for CIs
1 parent 04857e0 commit 12cce69

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

io-wait.gemspec

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,15 @@ Gem::Specification.new do |spec|
88
spec.description = %q{Waits until IO is readable or writable without blocking.}
99
spec.homepage = "https://github.com/ruby/io-wait"
1010
spec.licenses = ["Ruby", "BSD-2-Clause"]
11-
spec.required_ruby_version = Gem::Requirement.new(">= 3.0.0")
11+
spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
1212

1313
spec.metadata["homepage_uri"] = spec.homepage
1414
spec.metadata["source_code_uri"] = spec.homepage
1515

1616
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
17-
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features)/}) }
17+
`git ls-files -z`.split("\x0").reject do |f|
18+
f.match(%r{\A(?:test|spec|features)/|\A\.git|\.travis})
19+
end
1820
end
1921
spec.bindir = "exe"
2022
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }

0 commit comments

Comments
 (0)