lib/bolognese/readers/datacite_reader.rb in bolognese-0.9.89 vs lib/bolognese/readers/datacite_reader.rb in bolognese-0.9.91
- old
+ new
@@ -31,11 +31,11 @@
end
string = doc.to_xml(:indent => 2)
end
{ "string" => string,
- "url" => attributes.fetch("url", nil),
+ "b_url" => attributes.fetch("url", nil),
"state" => attributes.fetch("state", nil),
"date_registered" => attributes.fetch("registered", nil),
"date_updated" => attributes.fetch("updated", nil),
"provider_id" => provider_id,
"client_id" => client_id }
@@ -125,10 +125,10 @@
"date_valid" => datacite_date(dates, "Valid"),
"date_published" => datacite_date(dates, "Issued") || meta.fetch("publicationYear", nil),
"date_modified" => datacite_date(dates, "Updated"),
"description" => description,
"license" => license,
- "version" => meta.fetch("version", nil),
+ "b_version" => meta.fetch("version", nil),
"keywords" => keywords,
"language" => meta.fetch("language", nil),
"content_size" => meta.fetch("size", nil),
"schema_version" => schema_version,
"state" => state