summaryrefslogtreecommitdiff
path: root/tool/sync_default_gems.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2020-02-21 19:09:21 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-02-21 19:09:21 +0900
commitf08d8e5e85ef2c44ca29261244c7b397ea968b94 (patch)
tree98268492a280d8ed42654c3e122841256150492f /tool/sync_default_gems.rb
parent4643bf5d55af6f79266dd67b69bb6eb4ff82029a (diff)
Promote net-ftp to default gems
Diffstat (limited to 'tool/sync_default_gems.rb')
-rw-r--r--tool/sync_default_gems.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb
index db0db12e80..6d374a19e3 100644
--- a/tool/sync_default_gems.rb
+++ b/tool/sync_default_gems.rb
@@ -61,6 +61,7 @@
# * https://github.com/ruby/English
# * https://github.com/ruby/net-protocol
# * https://github.com/ruby/net-imap
+# * https://github.com/ruby/net-ftp
#
require 'fileutils'
@@ -120,6 +121,7 @@ $repositories = {
English: "ruby/English",
"net-protocol": "ruby/net-protocol",
"net-imap": "ruby/net-imap",
+ "net-ftp": "ruby/net-ftp",
}
def sync_default_gems(gem)
@@ -284,6 +286,9 @@ def sync_default_gems(gem)
when "net-imap"
sync_lib "net-imap"
mv "lib/net-imap.gemspec", "lib/net/imap"
+ when "net-ftp"
+ sync_lib "net-ftp"
+ mv "lib/net-ftp.gemspec", "lib/net/ftp"
when "readline-ext"
rm_rf(%w[ext/readline test/readline])
cp_r("#{upstream}/ext/readline", "ext")