lib/bolognese/readers/datacite_reader.rb in bolognese-1.3.7 vs lib/bolognese/readers/datacite_reader.rb in bolognese-1.3.8
- old
+ new
@@ -207,10 +207,10 @@
"agency" => "DataCite",
"funding_references" => funding_references,
"dates" => dates,
"publication_year" => parse_attributes(meta.fetch("publicationYear", nil), first: true).to_s.strip.presence,
"descriptions" => descriptions,
- "rights_list" => rights_list,
+ "rights_list" => Array.wrap(rights_list),
"version_info" => meta.fetch("version", nil).to_s.presence,
"subjects" => subjects,
"language" => parse_attributes(meta.fetch("language", nil), first: true).to_s.strip.presence,
"geo_locations" => geo_locations,
"related_identifiers" => related_identifiers,