lib/bolognese/readers/schema_org_reader.rb in bolognese-1.3.7 vs lib/bolognese/readers/schema_org_reader.rb in bolognese-1.3.8

- old
+ new

@@ -105,13 +105,13 @@ Array.wrap(schema_org_references(meta)) + Array.wrap(schema_org_is_referenced_by(meta)) + Array.wrap(schema_org_is_supplement_to(meta)) + Array.wrap(schema_org_is_supplemented_by(meta)) - rights_list = { + rights_list = [{ "rightsUri" => parse_attributes(meta.fetch("license", nil), content: "id", first: true), "rights" => parse_attributes(meta.fetch("license", nil), content: "name", first: true) - } + }] funding_references = Array.wrap(meta.fetch("funder", nil)).compact.map do |fr| if fr["@id"].present? { "funderName" => fr["name"],