mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
ruby/ruby-commit-hook has been renamed [ci skip]
to ruby/git.ruby-lang.org
This commit is contained in:
parent
ab3b1b2381
commit
134acf98d8
2 changed files with 2 additions and 2 deletions
|
@ -3,7 +3,7 @@
|
||||||
require "open-uri"
|
require "open-uri"
|
||||||
require "yaml"
|
require "yaml"
|
||||||
|
|
||||||
EMAIL_YML_URL = "https://cdn.jsdelivr.net/gh/ruby/ruby-commit-hook/config/email.yml"
|
EMAIL_YML_URL = "https://cdn.jsdelivr.net/gh/ruby/git.ruby-lang.org/config/email.yml"
|
||||||
|
|
||||||
email_yml = URI(EMAIL_YML_URL).read.sub(/\A(?:#.*\n)+/, "").gsub(/^# +(.+)$/) { $1 + ": []" }
|
email_yml = URI(EMAIL_YML_URL).read.sub(/\A(?:#.*\n)+/, "").gsub(/^# +(.+)$/) { $1 + ": []" }
|
||||||
|
|
||||||
|
|
|
@ -434,7 +434,7 @@ def message_filter(repo, sha)
|
||||||
print "[#{repo}] ", log
|
print "[#{repo}] ", log
|
||||||
end
|
end
|
||||||
|
|
||||||
# NOTE: This method is also used by ruby-commit-hook/bin/update-default-gem.sh
|
# NOTE: This method is also used by GitHub ruby/git.ruby-lang.org's bin/update-default-gem.sh
|
||||||
# @param gem [String] A gem name, also used as a git remote name. REPOSITORIES converts it to the appropriate GitHub repository.
|
# @param gem [String] A gem name, also used as a git remote name. REPOSITORIES converts it to the appropriate GitHub repository.
|
||||||
# @param ranges [Array<String>] "before..after". Note that it will NOT sync "before" (but commits after that).
|
# @param ranges [Array<String>] "before..after". Note that it will NOT sync "before" (but commits after that).
|
||||||
# @param edit [TrueClass] Set true if you want to resolve conflicts. Obviously, update-default-gem.sh doesn't use this.
|
# @param edit [TrueClass] Set true if you want to resolve conflicts. Obviously, update-default-gem.sh doesn't use this.
|
||||||
|
|
Loading…
Reference in a new issue