1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Fixed net-ftp sync task and resync from standalone repo

This commit is contained in:
Hiroshi SHIBATA 2020-02-21 21:25:43 +09:00
parent fa1cf777db
commit e7f8724fb2
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2
2 changed files with 7 additions and 4 deletions

View file

@ -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.}

View file

@ -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")