From 5de6f1ab4751f02670239ebe537e599c477dc4bf Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 6 May 2021 14:16:41 +0900 Subject: [PATCH] Move net-imap.gemspec to under the lib/net/imap directory. --- lib/net/{ => imap}/net-imap.gemspec | 0 tool/sync_default_gems.rb | 5 +++-- 2 files changed, 3 insertions(+), 2 deletions(-) rename lib/net/{ => imap}/net-imap.gemspec (100%) diff --git a/lib/net/net-imap.gemspec b/lib/net/imap/net-imap.gemspec similarity index 100% rename from lib/net/net-imap.gemspec rename to lib/net/imap/net-imap.gemspec diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb index ae13621f7e..7f0ecba405 100644 --- a/tool/sync_default_gems.rb +++ b/tool/sync_default_gems.rb @@ -275,10 +275,11 @@ def sync_default_gems(gem) cp_r("#{upstream}/test/net/protocol", "test/net") cp_r("#{upstream}/net-protocol.gemspec", "lib/net") when "net-imap" - rm_rf(%w[lib/net/imap.rb lib/net/net-imap.gemspec test/net/imap]) + rm_rf(%w[lib/net/imap.rb lib/net/imap test/net/imap]) cp_r("#{upstream}/lib/net/imap.rb", "lib/net") + cp_r("#{upstream}/lib/net/imap", "lib/net") cp_r("#{upstream}/test/net/imap", "test/net") - cp_r("#{upstream}/net-imap.gemspec", "lib/net") + cp_r("#{upstream}/net-imap.gemspec", "lib/net/imap") when "net-ftp" rm_rf(%w[lib/net/ftp.rb lib/net/net-ftp.gemspec test/net/ftp]) cp_r("#{upstream}/lib/net/ftp.rb", "lib/net")