-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #833 from pulibrary/i832_add_pronouns_to_csv
Add pronouns to staff directory mapping
- Loading branch information
Showing
7 changed files
with
13 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,8 @@ | |
"fldbnDHHhDNlc2Lx8": "[email protected]", | ||
"fld4JloN0LxiFaTiw": "Hello\nMy research interests\nare\n\nfantastic!", | ||
"fldULoOUDSpoEpdAP": "https://example.com", | ||
"fldXw9janMHvhBWvO": ["Industrial Relations", "James Madison Program"] | ||
"fldXw9janMHvhBWvO": ["Industrial Relations", "James Madison Program"], | ||
"fldavR3Hqxd7igWxB": "he/him/his" | ||
} | ||
} | ||
] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,12 +10,12 @@ | |
# Since the cell is in in double quotes, it will still be read | ||
# as a single cell within a single row" | ||
expected = <<~END_CSV | ||
puid,netid,phone,name,lastName,firstName,email,address,building,department,division,unit,team,title,areasOfStudy,websiteUrl,bios,expertise,mySchedulerLink,otherEntities | ||
puid,netid,phone,name,lastName,firstName,email,address,building,department,division,unit,team,title,areasOfStudy,websiteUrl,bios,expertise,mySchedulerLink,otherEntities,pronouns | ||
123,ab123,(123) 123-1234,Phillip Librarian,Librarian,Phillip,[email protected],123 Stokes,Stokes,Special Collections,Special and Distinctive Collections,,,Library Collections Specialist V,Virtual Reality,,"Hello | ||
My research interests | ||
are | ||
fantastic!",,https://example.com,Industrial Relations//James Madison Program | ||
fantastic!",,https://example.com,Industrial Relations//James Madison Program,he/him/his | ||
END_CSV | ||
directory = described_class.new | ||
expect(directory.to_csv).to eq(expected) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ | |
[ | ||
'123', 'ab123', '(123) 123-1234', 'Phillip Librarian', 'Librarian', 'Phillip', '[email protected]', | ||
'123 Stokes', 'Stokes', 'Special Collections', 'Special and Distinctive Collections', nil, nil, 'Library Collections Specialist V', 'Virtual Reality', | ||
nil, "Hello\nMy research interests\nare\n\nfantastic!", nil, 'https://example.com', 'Industrial Relations//James Madison Program' | ||
nil, "Hello\nMy research interests\nare\n\nfantastic!", nil, 'https://example.com', 'Industrial Relations//James Madison Program', 'he/him/his' | ||
] | ||
end | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters