update-maintainers: ignore accents when sorting names
This commit is contained in:
parent
1065b55a2c
commit
a5c0b44c68
@ -35,7 +35,7 @@ module Homebrew
|
|||||||
members.each do |group, hash|
|
members.each do |group, hash|
|
||||||
hash.replace(hash.slice(*public_members))
|
hash.replace(hash.slice(*public_members))
|
||||||
hash.each { |login, name| hash[login] = "[#{name}](https://github.com/#{login})" }
|
hash.each { |login, name| hash[login] = "[#{name}](https://github.com/#{login})" }
|
||||||
sentences[group] = hash.values.sort.to_sentence
|
sentences[group] = hash.values.sort_by { |s| s.unicode_normalize(:nfd).gsub(/\P{L}+/, "") }.to_sentence
|
||||||
end
|
end
|
||||||
|
|
||||||
readme = HOMEBREW_REPOSITORY/"README.md"
|
readme = HOMEBREW_REPOSITORY/"README.md"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user