Skip to content

Commit

Permalink
fix rubocop error
Browse files Browse the repository at this point in the history
  • Loading branch information
jendiamond committed Jan 18, 2024
1 parent d8dbe59 commit d4f7679
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion app/models/ucla_metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,8 @@ def self.single_valued_stored
# Produces _ssm suffix

# stored_searchable https://www.rubydoc.info/gems/solrizer/3.4.0/Solrizer%2FDefaultDescriptors.stored_searchable
# The suffix produced depends on the type parameter – produces suffixes:
# The suffix produced depends on the type parameter
# produces suffixes:
# _tesim - for strings or text fields
# _dtsim - for dates
# _isim - for integers
Expand Down
4 changes: 2 additions & 2 deletions spec/fixtures/coordinates_example.csv
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Project Name,Object Type,Parent ARK,Item ARK,Item Status,IIIF Manifest URL,Subject,Type.typeOfResource,Rights.copyrightStatus,Type.genre,Name.subject,Coverage.geographic,Relation.isPartOf,Publisher.publisherName,Rights.countryCreation,Rights.rightsHolderContact,Name.architect,Name.photographer,Name.repository,Date.normalized,AltIdentifier.local,Title,Date.creation,Format.extent,Format.medium,Format.dimensions,Description.note,Description.fundingNote,Description.longitude,Description.latitude,Description.caption,File Name,AltTitle.other,AltTitle.translated,Place of origin,AltTitle.Uniform,Support,Author,Summary,Page layout,Text direction,Binding note,viewingHint,IIIF Range,Illustrations note,Illustrator,Name.illustrator,Description.history,Table of Contents,Subject.conceptTopic,Subject.descriptiveTopic,Collation,Foliation note, Foliation,Illuminator,Name.illuminator,Name.lyricist,Name.composer,Scribe,Name.scribe,Condition note,Rights.statement,Masthead,Representative image,Featured image,Tagline,Commentator,Name.commentator,Translator,Name.translator,Subject temporal,Opac url,Subject geographic,Colophon,Description.colophon,Finding Aid URL,Alt ID.url,Rubricator,Name.rubricator,Name.creator,Calligrapher,Name.calligrapher,Editor,Name.editor,Engraver,Name.engraver,Note,Printmaker,Name.printmaker,Contents note,Description.contents,Thumbnail,Artist,Name.artist,Cartographer,Name.cartographer,Content disclaimer,Director,Name.director,Interviewer,Name.interviewer,Interviewee,Name.interviewee,Producer,Name.producer,Recipient,Name.recipient,Program,Subject.culturalObject,Subject.domainTopic,Series,Host,Name.host,Musician,Name.musician,Printer,Name.printer,Researcher,Name.researcher,Statement of Responsibility,References,AdminNote,Description.adminnote,Note.admin,Format,Related Items,Rights.statementLocal,Related Records,Edition,History,External item record,View Record,Archival Collection Title,Archival Collection Number,Box,Folder
Project Name,Object Type,Parent ARK,Item ARK,Item Status,IIIF Manifest URL,Subject,Type.typeOfResource,Rights.copyrightStatus,Type.genre,Name.subject,Coverage.geographic,Relation.isPartOf,Publisher.publisherName,Rights.countryCreation,Rights.rightsHolderContact,Name.architect,Name.photographer,Name.repository,Date.normalized,AltIdentifier.local,Title,Date.creation,Format.extent,Format.medium,Format.dimensions,Description.note,Description.fundingNote,Description.longitude,Description.latitude,Description.caption,File Name,AltTitle.other,AltTitle.translated,Place of origin,AltTitle.Uniform,Support,Author,Summary,Page layout,Text direction,Binding note,viewingHint,IIIF Range,Illustrations note,Illustrator,Name.illustrator,Description.history,Table of Contents,Subject.conceptTopic,Subject.descriptiveTopic,Collation,Foliation note, Foliation,Illuminator,Name.illuminator,Name.lyricist,Name.composer,Scribe,Name.scribe,Condition note,Rights.statement,Masthead,Representative image,Featured image,Tagline,Commentator,Name.commentator,Translator,Name.translator,Subject temporal,Opac url,Subject geographic,Colophon,Description.colophon,Finding Aid URL,Alt ID.url,Rubricator,Name.rubricator,Name.creator,Calligrapher,Name.calligrapher,Editor,Name.editor,Engraver,Name.engraver,Note,Printmaker,Name.printmaker,Contents note,Description.contents,Thumbnail,Artist,Name.artist,Cartographer,Name.cartographer,Content disclaimer,Director,Name.director,Interviewer,Name.interviewer,Interviewee,Name.interviewee,Producer,Name.producer,Recipient,Name.recipient,Program,Subject.culturalObject,Subject.domainTopic,Series,Host,Name.host,Musician,Name.musician,Printer,Name.printer,Researcher,Name.researcher,Statement of Responsibility,References,AdminNote,Description.adminnote,Note.admin,Format,Related Items,Rights.statementLocal,Related Records,Edition,History,External item record,View Record,Archive,Archival Collection Number,Box,Folder
Los Angeles Daily News Negatives,Work,111/222,ark:/123/456,Completed with minimal metadata,https://test.iiif.library.ucla.edu/collections/ark%3A%2F21198%2Fz11c574k,"Altars|~|Mass|~|Communion table|~|Mexican American Catholics|~|Festivals|~|Guadalupe, Our Lady of|~|Historic buildings $z California $z Los Angeles|~|Churches $z California $z Los Angeles|~|Religion|~|Catholic churches $z California $z Los Angeles ",still image,copyrighted,news photographs,"Plaza Church (Los Angeles, Calif.)",Los Angeles (Calif.)|~|Los Angeles (Calif.),"Los Angeles Daily News Negatives. Department of Special Collections, Charles E. Young Research Library, University of California at Los Angeles.",Los Angeles Daily News,US,"UCLA Charles E. Young Research Library Department of Special Collections, A1713 Young Research Library, Box 951575, Los Angeles, CA 90095-1575. E-mail: spec-coll@library.ucla.edu. Phone: (310)825-4988",Imhotep,Famous Photographer,,1942/1952,uclamss_1387_b112_40911-1,"Work ark:/123/456",[between 1942-1947],Fake Extent,Fake Medium,200x200,"A woman takes Communion during a Plaza Church mass for the fiesta of Nuestra Senora de Guadalupe.|~|Our Lady Queen of Los Angeles Catholic Church, (aka La Iglesia de Nuestra Señora la Reina de Los Ángeles, and The Church of Our Lady the Queen of the Angels), was built in 1822 and is the oldest church in Los Angeles.",Fake Funding Note,-118.239577,34.05707,Fake Caption,clusc_1_1_00010432a.tif,Communion table,Mesa de Comunión,Los Angeles,Mexican American Catholics,UCLA,Famous Author,Mexican American Catholics,images,left-to-right,Green,paged,iiif-range,illustration-note,Illustrator-1,Illustrator-P2,history-description,table of contents,concept-topic,descriptive-topic,collated,follated,also follated,illuminated,also illuminated,la la la,Schubert,Amat-Mamu,Sin-liqe-unninni,condition_note,local_statement,local_masthead,local_representative_image,local_featured_image,local_tagline,commentator_1,commentator_2,translator_1,translator_2,subject_temporal_1,https://www.library.ucla.edu,subject_geographic_1,colophon_text,colophon_text_2,finding_aid_url_1,finding_aid_url_2,rubricator_1,rubricator_2,name_creator,Calligrapher-1,Name-calligrapher,Editor-1,Name-editor,Engraver-1,Name-engraver,Note-1,Printmaker-1,Name-printmaker,contents_note-1,Description-contents,https://fake.url/iiif/ark%3A%2F13030%2Fhb338nb26f,Artist-1,Artist-2,Cartographer-1,Cartographer-2,Disclaimer-1,Director-1,Director-2,Interviewer-1,Interviewer-2,Interviewee-1,Interviewee-2,Producer-1,Producer-2,Recipient-1,Recipient-2,Program-1,subject-culturalObject-1,subject-domain-topic-1,Series-1,Host-1,Name.host-1,Musician-1,Name.musician-1,Printer-1,Name.printer-1,Researcher-1,Name.researcher-1,Statement of Responsibility-1,References-1,AdminNote-1,Description.adminnote-1,Note.admin-1,Format-1,Related Items-1,Local rights statement-1,Edition-1,History-1,http://test.url/external/item/record1,http://test.url/view/record1,Archival Collection Title-1,Archival Collection Number-1,Box-1,Folder-1
Los Angeles Daily News Negatives,Work,111/222,13030/hb338nb26f,Completed with minimal metadata,https://test.iiif.library.ucla.edu/collections/ark%3A%2F21198%2Fz11c574k,"Altars|~|Mass|~|Communion table|~|Mexican American Catholics|~|Festivals|~|Guadalupe, Our Lady of|~|Historic buildings $z California $z Los Angeles|~|Churches $z California $z Los Angeles|~|Religion|~|Catholic churches $z California $z Los Angeles ",still image,copyrighted,news photographs,"Plaza Church (Los Angeles, Calif.)",Los Angeles (Calif.)|~|Los Angeles (Calif.),"Los Angeles Daily News Negatives. Department of Special Collections, Charles E. Young Research Library, University of California at Los Angeles.",Los Angeles Daily News,US,"UCLA Charles E. Young Research Library Department of Special Collections, A1713 Young Research Library, Box 951575, Los Angeles, CA 90095-1575. E-mail: spec-coll@library.ucla.edu. Phone: (310)825-4988",Imhotep,Famous Photographer,,1942/1952,uclamss_1387_b112_40911-1,"Communion at Plaza Church, Los Angeles, 1942-1952",[between 1942-1947],Fake Extent,Fake Medium,200x200,"A woman takes Communion during a Plaza Church mass for the fiesta of Nuestra Senora de Guadalupe.|~|Our Lady Queen of Los Angeles Catholic Church, (aka La Iglesia de Nuestra Señora la Reina de Los Ángeles, and The Church of Our Lady the Queen of the Angels), was built in 1822 and is the oldest church in Los Angeles.",Fake Funding Note,-118.239577,34.05707,Fake Caption,clusc_1_1_00010432a.tif,Communion table,Mesa de Comunión,Los Angeles,Mexican American Catholics,UCLA,Famous Author,Mexican American Catholics,images,left-to-right,Green,paged,iiif-range,illustration-note,Illustrator-1,Illustrator-P2,history-description,table of contents,concept-topic,descriptive-topic,collated,follated,also follated,illuminated,also illuminated,la la la,Schubert,Amat-Mamu,Sin-liqe-unninni,condition_note,local_statement,local_masthead,local_representative_image,local_featured_image,local_tagline,commentator_1,commentator_2,translator_1,translator_2,subject_temporal_1,https://www.library.ucla.edu,subject_geographic_1,colophon_text,colophon_text_2,finding_aid_url_1,finding_aid_url_2,rubricator_1,rubricator_2,name_creator,Calligrapher-1,Name-calligrapher,Editor-1,Name-editor,Engraver-1,Name-engraver,Note-1,Printmaker-1,Name-printmaker,contents_note-1,Description-contents,https://fake.url/iiif/ark%3A%2F13030%2Fhb338nb26f,Artist-1,Artist-2,Cartographer-1,Cartographer-2,Disclaimer-1,Director-1,Director-2,Interviewer-1,Interviewer-2,Interviewee-1,Interviewee-2,Producer-1,Producer-2,Recipient-1,Recipient-2,Program-1,subject-culturalObject-1,subject-domain-topic-1,Series-1,Host-1,Name.host-1,Musician-1,Name.musician-1,Printer-1,Name.printer-1,Researcher-1,Name.researcher-1,Statement of Responsibility-1,References-1,AdminNote-1,Description.adminnote-1,Note.admin-1,Format-1,Related Items-1,Local rights statement-1,ark:/123/456,Edition-2,History-2,http://test.url/external/item/record2,http://test.url/view/record2,Archival Collection Title-2,Archival Collection Number-2,Box-2,Folder-2
Los Angeles Daily News Negatives,Work,111/222,13030/hb338nb26f,Completed with minimal metadata,https://test.iiif.library.ucla.edu/collections/ark%3A%2F21198%2Fz11c574k,"Altars|~|Mass|~|Communion table|~|Mexican American Catholics|~|Festivals|~|Guadalupe, Our Lady of|~|Historic buildings $z California $z Los Angeles|~|Churches $z California $z Los Angeles|~|Religion|~|Catholic churches $z California $z Los Angeles ",still image,copyrighted,news photographs,"Plaza Church (Los Angeles, Calif.)",Los Angeles (Calif.)|~|Los Angeles (Calif.),"Los Angeles Daily News Negatives. Department of Special Collections, Charles E. Young Research Library, University of California at Los Angeles.",Los Angeles Daily News,US,"UCLA Charles E. Young Research Library Department of Special Collections, A1713 Young Research Library, Box 951575, Los Angeles, CA 90095-1575. E-mail: spec-coll@library.ucla.edu. Phone: (310)825-4988",Imhotep,Famous Photographer,,1942/1952,uclamss_1387_b112_40911-1,"Communion at Plaza Church, Los Angeles, 1942-1952",[between 1942-1947],Fake Extent,Fake Medium,200x200,"A woman takes Communion during a Plaza Church mass for the fiesta of Nuestra Senora de Guadalupe.|~|Our Lady Queen of Los Angeles Catholic Church, (aka La Iglesia de Nuestra Señora la Reina de Los Ángeles, and The Church of Our Lady the Queen of the Angels), was built in 1822 and is the oldest church in Los Angeles.",Fake Funding Note,-118.239577,34.05707,Fake Caption,clusc_1_1_00010432a.tif,Communion table,Mesa de Comunión,Los Angeles,Mexican American Catholics,UCLA,Famous Author,Mexican American Catholics,images,left-to-right,Green,paged,iiif-range,illustration-note,Illustrator-1,Illustrator-P2,history-description,table of contents,concept-topic,descriptive-topic,collated,follated,also follated,illuminated,also illuminated,la la la,Schubert,Amat-Mamu,Sin-liqe-unninni,condition_note,local_statement,local_masthead,local_representative_image,local_featured_image,local_tagline,commentator_1,commentator_2,translator_1,translator_2,subject_temporal_1,https://www.library.ucla.edu,subject_geographic_1,colophon_text,colophon_text_2,finding_aid_url_1,finding_aid_url_2,rubricator_1,rubricator_2,name_creator,Calligrapher-1,Name-calligrapher,Editor-1,Name-editor,Engraver-1,Name-engraver,Note-1,Printmaker-1,Name-printmaker,contents_note-1,Description-contents,https://fake.url/iiif/ark%3A%2F13030%2Fhb338nb26f,Artist-1,Artist-2,Cartographer-1,Cartographer-2,Disclaimer-1,Director-1,Director-2,Interviewer-1,Interviewer-2,Interviewee-1,Interviewee-2,Producer-1,Producer-2,Recipient-1,Recipient-2,Program-1,subject-culturalObject-1,subject-domain-topic-1,Series-1,Host-1,Name.host-1,Musician-1,Name.musician-1,Printer-1,Name.printer-1,Researcher-1,Name.researcher-1,Statement of Responsibility-1,References-1,AdminNote-1,Description.adminnote-1,Note.admin-1,Format-1,Related Items-1,Local rights statement-1,ark:/123/456,Edition-2,History-2,http://test.url/external/item/record2,http://test.url/view/record2,Archive-2,Archival Collection Number-2,Box-2,Folder-2
4 changes: 2 additions & 2 deletions spec/system/import_and_show_work_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@
expect(page).to have_content "Local rights statement-1" # local_rights_statement
expect(page).to have_content 'Edition-2' # edition
expect(page).to have_content 'History-2' # history
expect(page).to have_content 'Archival Collection Title' # archival_collection_title
expect(page).to have_content 'Archival Collection Number' # archival_collection_number
expect(page).to have_content 'Archival collection title-1' # archival_collection_title
expect(page).to have_content 'Archival collection number-1' # archival_collection_number
expect(page).to have_content 'Box' # box
expect(page).to have_content 'Folder' # folder

Expand Down

0 comments on commit d4f7679

Please sign in to comment.