[前][次][番号順一覧][スレッド一覧]

ruby-changes:63864

From: Nobuyoshi <ko1@a...>
Date: Thu, 3 Dec 2020 17:58:11 +0900 (JST)
Subject: [ruby-changes:63864] 7fcbe07d61 (master): [ruby/io-wait] Exclude dot-files for CIs

https://git.ruby-lang.org/ruby.git/commit/?id=7fcbe07d61

From 7fcbe07d612a967d1904a52617903007c28ffb86 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
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

diff --git a/ext/io/wait/io-wait.gemspec b/ext/io/wait/io-wait.gemspec
index 5aec72d..83b1692 100644
--- a/ext/io/wait/io-wait.gemspec
+++ b/ext/io/wait/io-wait.gemspec
@@ -8,13 +8,15 @@ Gem::Specification.new do |spec| https://github.com/ruby/ruby/blob/trunk/ext/io/wait/io-wait.gemspec#L8
   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 v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]