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

ruby-changes:63011

From: Hiroshi <ko1@a...>
Date: Fri, 18 Sep 2020 18:48:10 +0900 (JST)
Subject: [ruby-changes:63011] 6dd257ed1e (master): Added sync task for bigdecimal

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

From 6dd257ed1e54f36deb3e33db12ce9131fdea3b90 Mon Sep 17 00:00:00 2001
From: Hiroshi SHIBATA <hsbt@r...>
Date: Fri, 18 Sep 2020 18:47:52 +0900
Subject: Added sync task for bigdecimal


diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb
index 8663282..b4e11d9 100644
--- a/tool/sync_default_gems.rb
+++ b/tool/sync_default_gems.rb
@@ -297,6 +297,14 @@ def sync_default_gems(gem) https://github.com/ruby/ruby/blob/trunk/tool/sync_default_gems.rb#L297
     cp_r("#{upstream}/test/test_syslog.rb", "test")
     cp_r("#{upstream}/syslog.gemspec", "ext/syslog")
     `git checkout ext/syslog/depend`
+  when "bigdecimal"
+    rm_rf(%w[ext/bigdecimal test/bigdecimal])
+    cp_r("#{upstream}/ext/bigdecimal", "ext")
+    cp_r("#{upstream}/sample", "ext/bigdecimal")
+    cp_r("#{upstream}/lib", "ext/bigdecimal")
+    cp_r("#{upstream}/test/bigdecimal", "test")
+    cp_r("#{upstream}/bigdecimal.gemspec", "ext/bigdecimal")
+    `git checkout ext/bigdecimal/depend`
   else
     sync_lib gem
   end
-- 
cgit v0.10.2


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

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