summaryrefslogtreecommitdiff
path: root/tool/sync_default_gems.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2020-02-20 21:22:56 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-02-20 21:24:19 +0900
commite9d872a06e0847c72edda793e21b116ce269d854 (patch)
treed8d2d788bfd080935afeaf651b7b5b6c50f462c3 /tool/sync_default_gems.rb
parentf5abcf767edcd475263ca9d8c06d0bb32a417ba9 (diff)
Promote net-imap to the default gems
Diffstat (limited to 'tool/sync_default_gems.rb')
-rw-r--r--tool/sync_default_gems.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb
index 2ca3c24ec1..db0db12e80 100644
--- a/tool/sync_default_gems.rb
+++ b/tool/sync_default_gems.rb
@@ -60,6 +60,7 @@
# * https://github.com/ruby/tmpdir
# * https://github.com/ruby/English
# * https://github.com/ruby/net-protocol
+# * https://github.com/ruby/net-imap
#
require 'fileutils'
@@ -118,6 +119,7 @@ $repositories = {
tmpdir: "ruby/tmpdir",
English: "ruby/English",
"net-protocol": "ruby/net-protocol",
+ "net-imap": "ruby/net-imap",
}
def sync_default_gems(gem)
@@ -279,6 +281,9 @@ def sync_default_gems(gem)
when "net-protocol"
sync_lib "net-protocol"
mv "lib/net-protocol.gemspec", "lib/net/protocol"
+ when "net-imap"
+ sync_lib "net-imap"
+ mv "lib/net-imap.gemspec", "lib/net/imap"
when "readline-ext"
rm_rf(%w[ext/readline test/readline])
cp_r("#{upstream}/ext/readline", "ext")