lib/bolognese/datacite_utils.rb in bolognese-1.0.1 vs lib/bolognese/datacite_utils.rb in bolognese-1.0.2
- old
+ new
@@ -151,12 +151,12 @@
end
end
end
def insert_version(xml)
- return xml unless b_version.present?
+ return xml unless version.present?
- xml.version(b_version)
+ xml.version(version)
end
def insert_related_identifiers(xml)
return xml unless related_identifiers.present?