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

ruby-changes:58915

From: Hiroshi <ko1@a...>
Date: Tue, 26 Nov 2019 18:26:20 +0900 (JST)
Subject: [ruby-changes:58915] 82525fcce1 (master): Add sync task for ruby/openssl

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

From 82525fcce192aa5582480164f5c109f9f2fe621b Mon Sep 17 00:00:00 2001
From: Hiroshi SHIBATA <hsbt@r...>
Date: Tue, 26 Nov 2019 18:25:56 +0900
Subject: Add sync task for ruby/openssl


diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb
index 0326881..4d07bf8 100644
--- a/tool/sync_default_gems.rb
+++ b/tool/sync_default_gems.rb
@@ -48,6 +48,7 @@ https://github.com/ruby/ruby/blob/trunk/tool/sync_default_gems.rb#L48
 # * https://github.com/ruby/timeout
 # * https://github.com/ruby/yaml
 # * https://github.com/ruby/uri
+# * https://github.com/ruby/openssl
 #
 
 require 'fileutils'
@@ -102,6 +103,7 @@ $repositories = { https://github.com/ruby/ruby/blob/trunk/tool/sync_default_gems.rb#L103
   timeout: "ruby/timeout",
   yaml: "ruby/yaml",
   uri: "ruby/uri",
+  openssl: "ruby/openssl",
 }
 
 def sync_default_gems(gem)
@@ -246,6 +248,17 @@ def sync_default_gems(gem) https://github.com/ruby/ruby/blob/trunk/tool/sync_default_gems.rb#L248
     cp_r("#{upstream}/test/cgi", "test")
     cp_r("#{upstream}/cgi.gemspec", "lib/cgi")
     `git checkout ext/cgi/escape/depend`
+  when "openssl"
+    rm_rf(%w[ext/openssl test/openssl])
+    cp_r("#{upstream}/ext/openssl", "ext")
+    mkdir_p("ext/openssl/lib")
+    cp_r("#{upstream}/lib/openssl", "ext/openssl/lib")
+    cp_r("#{upstream}/lib/openssl.rb", "ext/openssl/lib")
+    cp_r("#{upstream}/test", "test/openssl")
+    rm_rf("test/openssl/envutil.rb")
+    cp_r("#{upstream}/openssl.gemspec", "ext/openssl")
+    cp_r("#{upstream}/HISTORY.md", "ext/openssl")
+    `git checkout ext/openssl/depend`
   when "netpop"
     sync_lib "net-pop"
     mv "lib/net-pop.gemspec", "lib/net/pop"
-- 
cgit v0.10.2


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

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