[前][次][番号順一覧][スレッド一覧]

ruby-changes:60145

From: Hiroshi <ko1@a...>
Date: Fri, 21 Feb 2020 21:42:47 +0900 (JST)
Subject: [ruby-changes:60145] e7f8724fb2 (master): Fixed net-ftp sync task and resync from standalone repo

https://git.ruby-lang.org/ruby.git/commit/?id=e7f8724fb2

From e7f8724fb223bbae8c467d854e4b4babe9273e62 Mon Sep 17 00:00:00 2001
From: Hiroshi SHIBATA <hsbt@r...>
Date: Fri, 21 Feb 2020 21:25:43 +0900
Subject: Fixed net-ftp sync task and resync from standalone repo


diff --git a/lib/net/ftp/net-ftp.gemspec b/lib/net/ftp/net-ftp.gemspec
index 2aae0b2..ec66890 100644
--- a/lib/net/ftp/net-ftp.gemspec
+++ b/lib/net/ftp/net-ftp.gemspec
@@ -7,8 +7,8 @@ end https://github.com/ruby/ruby/blob/trunk/lib/net/ftp/net-ftp.gemspec#L7
 Gem::Specification.new do |spec|
   spec.name          = "net-ftp"
   spec.version       = Net::Ftp::VERSION
-  spec.authors       = ["Hiroshi SHIBATA"]
-  spec.email         = ["hsbt@r..."]
+  spec.authors       = ["Shugo Maeda"]
+  spec.email         = ["shugo@r..."]
 
   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 1794e01..cd894ae 100644
--- a/tool/sync_default_gems.rb
+++ b/tool/sync_default_gems.rb
@@ -289,8 +289,11 @@ def sync_default_gems(gem) https://github.com/ruby/ruby/blob/trunk/tool/sync_default_gems.rb#L289
     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")
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]