Skip to content

Commit

Permalink
version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
opoudjis committed Sep 29, 2023
1 parent 474a511 commit 74d0c25
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/relaton/render/parse/parse_extract.rb
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,12 @@ def other_identifier_include
end

def doi(doc)
doc.docidentifier.each_with_object([]) do |id, ret|
out = doc.docidentifier.each_with_object([]) do |id, ret|
type = id.type&.sub(/^(DOI)\..*$/i, "\\1") or next
type.casecmp("doi").zero? or next
ret << id.id
end
out.empty? ? nil : out
end

def id_type_norm(id)
Expand Down
2 changes: 1 addition & 1 deletion lib/relaton/render/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Relaton
module Render
VERSION = "0.5.14".freeze
VERSION = "0.5.15".freeze
end
end

0 comments on commit 74d0c25

Please sign in to comment.