summaryrefslogtreecommitdiff
path: root/tool/sync_default_gems.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2019-11-07 15:38:40 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-11-07 16:36:14 +0900
commit223d3c460a25e47577b6414e3ed141e54864c8dd (patch)
treea307c171dd3521548725db797951b055ae662c13 /tool/sync_default_gems.rb
parenteb0b13596d9130683937f11b207baf258b266edc (diff)
Promote net-smtp to 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 7554358501..5f5825e22a 100644
--- a/tool/sync_default_gems.rb
+++ b/tool/sync_default_gems.rb
@@ -40,6 +40,7 @@
# * https://github.com/ruby/delegate
# * https://github.com/ruby/benchmark
# * https://github.com/ruby/net-pop
+# * https://github.com/ruby/net-smtp
#
require 'fileutils'
@@ -87,6 +88,7 @@ $repositories = {
delegate: "ruby/delegate",
benchmark: "ruby/benchmark",
netpop: "ruby/net-pop",
+ netsmtp: "ruby/net-smtp",
}
def sync_default_gems(gem)
@@ -227,6 +229,9 @@ def sync_default_gems(gem)
when "netpop"
sync_lib "net-pop"
mv "lib/net-pop.gemspec", "lib/net/pop"
+ when "netsmtp"
+ sync_lib "net-smtp"
+ mv "lib/net-smtp.gemspec", "lib/net/smtp"
else
sync_lib gem
end