diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-10-19 18:56:19 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-10-19 18:56:19 +0900 |
commit | 3f97940252a37db6e601b4bb1aa1e87204f769df (patch) | |
tree | 6f113a35626019341bb9a66c60aef80ea9056d3a /tool | |
parent | 708413807ae958afb79257b18475424e0a8a4a56 (diff) | |
download | ruby-3f97940252a37db6e601b4bb1aa1e87204f769df.tar.gz |
Followed up with 708413807ae958afb79257b18475424e0a8a4a56
* Added sync task for digest
* Update doc/* for default gems
* Update the latest version of gemspec
Diffstat (limited to 'tool')
-rw-r--r-- | tool/sync_default_gems.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb index 57aa347566..86ddfc4fab 100644 --- a/tool/sync_default_gems.rb +++ b/tool/sync_default_gems.rb @@ -81,6 +81,7 @@ REPOSITORIES = { prettyprint: "ruby/prettyprint", drb: "ruby/drb", pathname: "ruby/pathname", + digest: "ruby/digest", } def sync_default_gems(gem) @@ -315,6 +316,14 @@ def sync_default_gems(gem) cp_r("#{upstream}/test/pathname", "test") cp_r("#{upstream}/pathname.gemspec", "ext/pathname") `git checkout ext/pathname/depend` + when "digest" + rm_rf(%w[ext/digest test/digest]) + cp_r("#{upstream}/ext/digest", "ext") + mkdir_p("#{upstream}/ext/digest/lib") + cp_r("#{upstream}/lib/digest.rb", "ext/digest/lib") + cp_r("#{upstream}/test/digest", "test") + cp_r("#{upstream}/digest.gemspec", "ext/digest") + `git checkout ext/digest/depend ext/digest/*/depend` else sync_lib gem, upstream end |