diff options
author | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2019-12-16 16:59:23 +0900 |
---|---|---|
committer | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2019-12-16 16:59:23 +0900 |
commit | 6545d5bbb9517a9364bd59a12a98d3e00516e07e (patch) | |
tree | 84045bd103fc0e8f8b7b8e0588a9c2e6b91d3cfc /tool/gen-mailmap.rb | |
parent | 8b921813aa8d5ea8f4e6c1e700ad48a120c500ab (diff) | |
download | ruby-6545d5bbb9517a9364bd59a12a98d3e00516e07e.tar.gz |
Use CDN instead of raw.githubusercontent.com
Diffstat (limited to 'tool/gen-mailmap.rb')
-rwxr-xr-x | tool/gen-mailmap.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/gen-mailmap.rb b/tool/gen-mailmap.rb index 3575aafae3..27b7abf8de 100755 --- a/tool/gen-mailmap.rb +++ b/tool/gen-mailmap.rb @@ -3,7 +3,7 @@ require "open-uri" require "yaml" -EMAIL_YML_URL = "https://raw.githubusercontent.com/ruby/ruby-commit-hook/master/config/email.yml" +EMAIL_YML_URL = "https://cdn.jsdelivr.net/gh/ruby/ruby-commit-hook/config/email.yml" email_yml = URI(EMAIL_YML_URL).read.sub(/\A(?:#.*\n)+/, "").gsub(/^# +(.+)$/) { $1 + ": []" } |