ruby-changes:59941
From: aycabta <ko1@a...>
Date: Thu, 6 Feb 2020 21:20:53 +0900 (JST)
Subject: [ruby-changes:59941] e323f50a9c (master): Fix readline-ext sync
https://git.ruby-lang.org/ruby.git/commit/?id=e323f50a9c From e323f50a9c71da2804f66ba6345ef071def60e1e Mon Sep 17 00:00:00 2001 From: aycabta <aycabta@g...> Date: Thu, 6 Feb 2020 21:19:44 +0900 Subject: Fix readline-ext sync diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb index 07deee6..329f0c1 100644 --- a/tool/sync_default_gems.rb +++ b/tool/sync_default_gems.rb @@ -267,8 +267,10 @@ def sync_default_gems(gem) https://github.com/ruby/ruby/blob/trunk/tool/sync_default_gems.rb#L267 sync_lib "net-smtp" mv "lib/net-smtp.gemspec", "lib/net/smtp" when "readline-ext" - sync_lib "readline-ext" - mv "lib/readline-ext.gemspec", "ext/readline" + rm_rf(%w[ext/readline test/readline]) + cp_r("#{upstream}/ext/readline", "ext") + cp_r("#{upstream}/test/readline", "test") + cp_r("#{upstream}/readline-ext.gemspec", "ext/readline") when "did_you_mean" rm_rf(%w[lib/did_you_mean* test/did_you_mean]) cp_r(Dir.glob("#{upstream}/lib/did_you_mean*"), "lib") -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/