Skip to content

Commit d774c68

Browse files
committed
Canonical names maintenance
1 parent 8abf619 commit d774c68

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

app/models/names_manager/canonical_names.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,6 +486,7 @@ def self.map(canonical_name, *also_as)
486486
map 'Hakan Ensari', 'hakanensari'
487487
map 'Hal Brodigan', 'postmodern'
488488
map 'Hampton Catlin', "hcatlin\100gmail.com"
489+
map 'Harsh Deep', 'Harsh'
489490
map 'Hartley McGuire', 'Hartley McGuire @skipkayhil'
490491
map 'Hendrik Mans', "hendrik\100mans.de"
491492
map 'Hendy Irawan', 'ceefour'
@@ -1193,7 +1194,6 @@ def self.map(canonical_name, *also_as)
11931194
map 'Zhang Kang', 'piecehealth', 'Kang Zhang'
11941195
map 'Zheng Jia', 'zhengjia'
11951196
map 'zzak', 'Zachary Scott'
1196-
map 'Harsh Deep', 'Harsh', "harsh.deep\100moderntreasury.com"
11971197
# Reverse SEEN_ALSO_AS to be able to go from handler to canonical name.
11981198
CANONICAL_NAME_FOR = {}
11991199
SEEN_ALSO_AS.each do |canonical_name, also_as|

test/credits/canonical_names_test.rb

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1211,6 +1211,11 @@ class CanonicalNamesTest < ActiveSupport::TestCase
12111211
assert_contributor_names 'bd261ff', 'David Heinemeier Hansson'
12121212
end
12131213

1214+
test 'dhh' do
1215+
assert_contributor_names 'dd6f3e1', 'David Heinemeier Hansson'
1216+
end
1217+
1218+
12141219
test 'diatmpravin' do
12151220
assert_contributor_names 'a302597', 'Pravin Mishra'
12161221
end
@@ -1760,6 +1765,10 @@ class CanonicalNamesTest < ActiveSupport::TestCase
17601765
assert_contributor_names '4c21026', 'Mike Breen'
17611766
end
17621767

1768+
test 'Harsh' do
1769+
assert_contributor_names '5ff38f4', 'Harsh Deep'
1770+
end
1771+
17631772
test 'Hartley McGuire @skipkayhil' do
17641773
assert_contributor_names '773d640', 'Hartley McGuire'
17651774
end
@@ -5159,13 +5168,5 @@ class CanonicalNamesTest < ActiveSupport::TestCase
51595168
test 'प्रथमेश Sonpatki' do
51605169
assert_contributor_names 'a7a2bc0f66', 'Prathamesh Sonpatki'
51615170
end
5162-
5163-
test 'Harsh' do
5164-
assert_contributor_names '5ff38f4', 'Harsh Deep'
5165-
end
5166-
5167-
test 'dhh' do
5168-
assert_contributor_names 'dd6f3e1', 'David Heinemeier Hansson'
5169-
end
51705171
end
51715172
end

0 commit comments

Comments
 (0)