summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-10-11 15:25:15 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-12-03 17:35:29 +0900
commit7fcbe07d612a967d1904a52617903007c28ffb86 (patch)
treee90abe56655d25559ec787f7b506f584de7edc30
parent09bcb935ec5467e44bab7426446c6e7ce2bbf983 (diff)
[ruby/io-wait] Exclude dot-files for CIs
https://github.com/ruby/io-wait/commit/12cce69ddf
-rw-r--r--ext/io/wait/io-wait.gemspec6
1 files changed, 4 insertions, 2 deletions
diff --git a/ext/io/wait/io-wait.gemspec b/ext/io/wait/io-wait.gemspec
index 5aec72d635..83b1692d8f 100644
--- a/ext/io/wait/io-wait.gemspec
+++ b/ext/io/wait/io-wait.gemspec
@@ -8,13 +8,15 @@ Gem::Specification.new do |spec|
spec.description = %q{Waits until IO is readable or writable without blocking.}
spec.homepage = "https://github.com/ruby/io-wait"
spec.licenses = ["Ruby", "BSD-2-Clause"]
- spec.required_ruby_version = Gem::Requirement.new(">= 3.0.0")
+ spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = spec.homepage
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
- `git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features)/}) }
+ `git ls-files -z`.split("\x0").reject do |f|
+ f.match(%r{\A(?:test|spec|features)/|\A\.git|\.travis})
+ end
end
spec.bindir = "exe"
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }