зеркало из https://github.com/github/ruby.git
Fixed net-ftp sync task and resync from standalone repo
This commit is contained in:
Родитель
fa1cf777db
Коммит
e7f8724fb2
|
@ -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.}
|
||||
|
|
|
@ -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")
|
||||
|
|
Загрузка…
Ссылка в новой задаче