lib/bolognese/datacite_utils.rb in bolognese-0.9.96 vs lib/bolognese/datacite_utils.rb in bolognese-0.9.97
- old
+ new
@@ -150,12 +150,12 @@
end
end
end
def insert_version(xml)
- return xml unless version.present?
+ return xml unless b_version.present?
- xml.version(version)
+ xml.version(b_version)
end
def rel_identifier
Array.wrap(related_identifier).map do |r|
related_identifier_type = r["issn"].present? ? "ISSN" : validate_url(r["id"])