From 7fcbe07d612a967d1904a52617903007c28ffb86 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sun, 11 Oct 2020 15:25:15 +0900 Subject: [ruby/io-wait] Exclude dot-files for CIs https://github.com/ruby/io-wait/commit/12cce69ddf --- ext/io/wait/io-wait.gemspec | 6 ++++-- 1 file 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) } -- cgit v1.2.3