ruby-changes:63866
From: Nobuyoshi <ko1@a...>
Date: Thu, 3 Dec 2020 17:58:14 +0900 (JST)
Subject: [ruby-changes:63866] 09bcb935ec (master): [ruby/io-wait] Fix ls-files matching regexp
https://git.ruby-lang.org/ruby.git/commit/?id=09bcb935ec From 09bcb935ec5467e44bab7426446c6e7ce2bbf983 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Sun, 11 Oct 2020 15:19:23 +0900 Subject: [ruby/io-wait] Fix ls-files matching regexp See rubygems/rubygems@8a81183236c4475152798db99734e89779287331. https://github.com/ruby/io-wait/commit/04857e0cf5 diff --git a/ext/io/wait/io-wait.gemspec b/ext/io/wait/io-wait.gemspec index af03215..5aec72d 100644 --- a/ext/io/wait/io-wait.gemspec +++ b/ext/io/wait/io-wait.gemspec @@ -14,7 +14,7 @@ Gem::Specification.new do |spec| https://github.com/ruby/ruby/blob/trunk/ext/io/wait/io-wait.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{^(test|spec|features)/}) } + `git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features)/}) } 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/