Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map 'Caleb' to 'Caleb Buxton' #310

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions app/models/names_manager/canonical_names.rb
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ def self.map(canonical_name, *also_as)
map 'Bryan Kang', 'deepblue'
map 'Buddhika Laknath', 'laknath', 'Laknath'
map 'Caio Chassot', 'caio', "k\100v2studio.com"
map 'Caleb Buxton', "Caleb"
map 'Caleb Tennis', "caleb\100aei-tech.com"
map 'Calvin Yu', 'cyu'
map 'Carina C. Zona', 'cczona'
Expand Down
8 changes: 8 additions & 0 deletions test/credits/canonical_names_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -691,6 +691,14 @@ class CanonicalNamesTest < ActiveSupport::TestCase
assert_contributor_names '4196616', 'David Calavera'
end

test 'Caleb' do
assert_contributor_names '5fa8793', 'Caleb Buxton', 'Tobias Lütke'
end

test 'Caleb Buxton' do
assert_contributor_names 'e68ff5f', 'Caleb Buxton'
end

test "caleb\100aei-tech.com" do
assert_contributor_names 'd5b67ed8', 'Caleb Tennis'
end
Expand Down
Loading