lib/bolognese/readers/schema_org_reader.rb in bolognese-1.0.24 vs lib/bolognese/readers/schema_org_reader.rb in bolognese-1.0.25
- old
+ new
@@ -31,10 +31,10 @@
if string.present?
errors = jsonlint(string)
return { "errors" => errors } if errors.present?
end
- read_options = ActiveSupport::HashWithIndifferentAccess.new(options.except(:string, :sandbox))
+ read_options = ActiveSupport::HashWithIndifferentAccess.new(options.except(:doi, :id, :url, :sandbox, :validate))
meta = string.present? ? Maremma.from_json(string) : {}
identifier = Array.wrap(meta.fetch("identifier", nil))
if identifier.length > 1