lib/bolognese/readers/datacite_reader.rb in bolognese-1.0.24 vs lib/bolognese/readers/datacite_reader.rb in bolognese-1.0.25

- old
+ new

@@ -47,10 +47,10 @@ "client_id" => attributes.fetch("datacentre_symbol", nil), "content_url" => content_url } end def read_datacite(string: nil, **options) - read_options = ActiveSupport::HashWithIndifferentAccess.new(options.except(:string, :sandbox)) + read_options = ActiveSupport::HashWithIndifferentAccess.new(options.except(:doi, :id, :url, :sandbox, :validate)) doc = Nokogiri::XML(string, nil, 'UTF-8', &:noblanks) if read_options.present? schema_version = "http://datacite.org/schema/kernel-4" else