aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKazuhiro NISHIYAMA <zn@mbf.nifty.com>2019-12-16 16:59:23 +0900
committerKazuhiro NISHIYAMA <zn@mbf.nifty.com>2019-12-16 16:59:23 +0900
commit6545d5bbb9517a9364bd59a12a98d3e00516e07e (patch)
tree84045bd103fc0e8f8b7b8e0588a9c2e6b91d3cfc
parent8b921813aa8d5ea8f4e6c1e700ad48a120c500ab (diff)
downloadruby-6545d5bbb9517a9364bd59a12a98d3e00516e07e.tar.gz
Use CDN instead of raw.githubusercontent.com
-rwxr-xr-xtool/gen-mailmap.rb2
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 + ": []" }