summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2020-02-21 21:25:43 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-02-21 21:25:43 +0900
commite7f8724fb223bbae8c467d854e4b4babe9273e62 (patch)
treeedb8f340450bffeee9587dd00fcba461718102d8
parentfa1cf777dbe3c484331864d44c33bc30f2044c76 (diff)
Fixed net-ftp sync task and resync from standalone repo
-rw-r--r--lib/net/ftp/net-ftp.gemspec4
-rw-r--r--tool/sync_default_gems.rb7
2 files changed, 7 insertions, 4 deletions
diff --git a/lib/net/ftp/net-ftp.gemspec b/lib/net/ftp/net-ftp.gemspec
index 2aae0b23ea..ec668901d8 100644
--- a/lib/net/ftp/net-ftp.gemspec
+++ b/lib/net/ftp/net-ftp.gemspec
@@ -7,8 +7,8 @@ end
Gem::Specification.new do |spec|
spec.name = "net-ftp"
spec.version = Net::Ftp::VERSION
- spec.authors = ["Hiroshi SHIBATA"]
- spec.email = ["hsbt@ruby-lang.org"]
+ spec.authors = ["Shugo Maeda"]
+ spec.email = ["shugo@ruby-lang.org"]
spec.summary = %q{Support for the File Transfer Protocol.}
spec.description = %q{Support for the File Transfer Protocol.}
diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb
index 1794e017dc..cd894ae717 100644
--- a/tool/sync_default_gems.rb
+++ b/tool/sync_default_gems.rb
@@ -289,8 +289,11 @@ def sync_default_gems(gem)
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"
+ rm_rf(%w[lib/net/ftp.rb lib/net/ftp test/net/ftp])
+ cp_r("#{upstream}/lib/net/ftp.rb", "lib/net")
+ cp_r("#{upstream}/lib/net/ftp", "lib/net")
+ cp_r("#{upstream}/test/net/ftp", "test/net")
+ cp_r("#{upstream}/net-ftp.gemspec", "lib/net/ftp")
when "net-http"
rm_rf(%w[lib/net/http.rb lib/net/http test/net/http])
cp_r("#{upstream}/lib/net/http.rb", "lib/net")