lib/bolognese/readers/datacite_reader.rb in bolognese-1.2.3 vs lib/bolognese/readers/datacite_reader.rb in bolognese-1.2.4
- old
+ new
@@ -45,10 +45,10 @@
"client_id" => client_id,
"content_url" => content_url }
end
def read_datacite(string: nil, **options)
- read_options = ActiveSupport::HashWithIndifferentAccess.new(options.except(:doi, :id, :url, :sandbox, :validate))
+ read_options = ActiveSupport::HashWithIndifferentAccess.new(options.except(:doi, :id, :url, :sandbox, :validate, :ra))
doc = Nokogiri::XML(string, nil, 'UTF-8', &:noblanks)
if read_options.present?
schema_version = "http://datacite.org/schema/kernel-4"
else