ruby-changes:66371
From: David <ko1@a...>
Date: Mon, 31 May 2021 21:26:47 +0900 (JST)
Subject: [ruby-changes:66371] 3954799071 (master): Tweak skipped files in bundler gemspec
https://git.ruby-lang.org/ruby.git/commit/?id=3954799071 From 395479907159c5d948492cf761c614fb7c8364df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...> Date: Thu, 27 May 2021 12:06:23 +0200 Subject: Tweak skipped files in bundler gemspec We won't be using the `extra_rdoc_files` field, because it's very slow for markdown files. --- tool/sync_default_gems.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb index 80ba596..1366c1d 100644 --- a/tool/sync_default_gems.rb +++ b/tool/sync_default_gems.rb @@ -89,7 +89,7 @@ def sync_default_gems(gem) https://github.com/ruby/ruby/blob/trunk/tool/sync_default_gems.rb#L89 cp_r(Dir.glob("#{upstream}/bundler/exe/bundle*"), "libexec") gemspec_content = File.readlines("#{upstream}/bundler/bundler.gemspec").map do |line| - next if line =~ /extra_rdoc_files/ + next if line =~ /LICENSE\.md/ line.gsub("bundler.gemspec", "lib/bundler/bundler.gemspec").gsub('"exe"', '"libexec"') end.compact.join -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/