lib/bolognese/readers/schema_org_reader.rb in bolognese-0.9.34 vs lib/bolognese/readers/schema_org_reader.rb in bolognese-0.9.35
- old
+ new
@@ -8,10 +8,10 @@
"hasPart" => "HasPart",
"isPredecessor" => "IsPreviousVersionOf",
"isSuccessor" => "IsNewVersionOf"
}
- def read_schema_org(string: nil)
+ def read_schema_org(string: nil, **options)
errors = jsonlint(string)
return { "errors" => errors } if errors.present?
meta = string.present? ? Maremma.from_json(string) : {}