diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-11-07 16:34:03 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2019-11-07 16:36:14 +0900 |
commit | fc85bdeb77ae642348bb797ef9ffb65913dfc77c (patch) | |
tree | cb7e0948f28881cb2781b7fef425f697c63aa946 /tool | |
parent | 223d3c460a25e47577b6414e3ed141e54864c8dd (diff) |
Promote cgi to default gems
Diffstat (limited to 'tool')
-rw-r--r-- | tool/sync_default_gems.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb index 5f5825e22a..3e0bd4eba9 100644 --- a/tool/sync_default_gems.rb +++ b/tool/sync_default_gems.rb @@ -41,6 +41,7 @@ # * https://github.com/ruby/benchmark # * https://github.com/ruby/net-pop # * https://github.com/ruby/net-smtp +# * https://github.com/ruby/cgi # require 'fileutils' @@ -89,6 +90,7 @@ $repositories = { benchmark: "ruby/benchmark", netpop: "ruby/net-pop", netsmtp: "ruby/net-smtp", + cgi: "ruby/cgi", } def sync_default_gems(gem) @@ -226,6 +228,13 @@ def sync_default_gems(gem) rm_rf("test/racc/lib") rm_rf("lib/racc/cparse-jruby.jar") `git checkout ext/racc/cparse/README ext/racc/cparse/depend` + when "cgi" + rm_rf(%w[lib/cgi.rb lib/cgi ext/cgi test/cgi]) + cp_r("#{upstream}/ext/cgi", "ext") + cp_r("#{upstream}/lib", ".") + cp_r("#{upstream}/test/cgi", "test") + cp_r("#{upstream}/cgi.gemspec", "lib/cgi") + `git checkout ext/cgi/escape/depend` when "netpop" sync_lib "net-pop" mv "lib/net-pop.gemspec", "lib/net/pop" |