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:
parent
fa1cf777db
commit
e7f8724fb2
2 changed files with 7 additions and 4 deletions
|
@ -7,8 +7,8 @@ end
|
||||||
Gem::Specification.new do |spec|
|
Gem::Specification.new do |spec|
|
||||||
spec.name = "net-ftp"
|
spec.name = "net-ftp"
|
||||||
spec.version = Net::Ftp::VERSION
|
spec.version = Net::Ftp::VERSION
|
||||||
spec.authors = ["Hiroshi SHIBATA"]
|
spec.authors = ["Shugo Maeda"]
|
||||||
spec.email = ["hsbt@ruby-lang.org"]
|
spec.email = ["shugo@ruby-lang.org"]
|
||||||
|
|
||||||
spec.summary = %q{Support for the File Transfer Protocol.}
|
spec.summary = %q{Support for the File Transfer Protocol.}
|
||||||
spec.description = %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"
|
sync_lib "net-imap"
|
||||||
mv "lib/net-imap.gemspec", "lib/net/imap"
|
mv "lib/net-imap.gemspec", "lib/net/imap"
|
||||||
when "net-ftp"
|
when "net-ftp"
|
||||||
sync_lib "net-ftp"
|
rm_rf(%w[lib/net/ftp.rb lib/net/ftp test/net/ftp])
|
||||||
mv "lib/net-ftp.gemspec", "lib/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"
|
when "net-http"
|
||||||
rm_rf(%w[lib/net/http.rb lib/net/http test/net/http])
|
rm_rf(%w[lib/net/http.rb lib/net/http test/net/http])
|
||||||
cp_r("#{upstream}/lib/net/http.rb", "lib/net")
|
cp_r("#{upstream}/lib/net/http.rb", "lib/net")
|
||||||
|
|
Loading…
Reference in a new issue