ruby-changes:63862
From: Nobuyoshi <ko1@a...>
Date: Thu, 3 Dec 2020 17:58:08 +0900 (JST)
Subject: [ruby-changes:63862] 7820162018 (master): [ruby/io-nonblock] Exclude dot-files for CIs
https://git.ruby-lang.org/ruby.git/commit/?id=7820162018 From 7820162018869f8931e7abd5d153d5d26c6ae411 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Mon, 12 Oct 2020 14:55:48 +0900 Subject: [ruby/io-nonblock] Exclude dot-files for CIs https://github.com/ruby/io-nonblock/commit/9fa3ad9c7a diff --git a/ext/io/nonblock/io-nonblock.gemspec b/ext/io/nonblock/io-nonblock.gemspec index 4565c99..fbc13cd 100644 --- a/ext/io/nonblock/io-nonblock.gemspec +++ b/ext/io/nonblock/io-nonblock.gemspec @@ -14,7 +14,9 @@ Gem::Specification.new do |spec| https://github.com/ruby/ruby/blob/trunk/ext/io/nonblock/io-nonblock.gemspec#L14 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)/}) } + %x[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/