Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into schema-4.5
Browse files Browse the repository at this point in the history
  • Loading branch information
svogt0511 committed Oct 24, 2023
2 parents 7b602b5 + 84b8696 commit ca90d2c
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
bolognese (1.11.4)
bolognese (1.11.5)
activesupport (>= 4.2.5)
benchmark_methods (~> 0.7)
bibtex-ruby (>= 5.1.0)
Expand Down
5 changes: 0 additions & 5 deletions lib/bolognese/metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -156,11 +156,6 @@ def descriptions
@descriptions ||= meta.fetch("descriptions", nil)
end

def abstract_description
# Fetch the first description with descriptionType "Abstract"
@abstract_description ||= descriptions&.find { |d| d["descriptionType"] == "Abstract" }
end

def rights_list
@rights_list ||= meta.fetch("rights_list", nil)
end
Expand Down
5 changes: 5 additions & 0 deletions lib/bolognese/utils.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1410,5 +1410,10 @@ def dfg_ids_to_fos(dfg_ids)
}
end
end

def abstract_description
# Fetch the first description with descriptionType "Abstract"
descriptions&.find { |d| d["descriptionType"] == "Abstract" }
end
end
end
2 changes: 1 addition & 1 deletion lib/bolognese/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Bolognese
VERSION = "1.11.4"
VERSION = "1.11.5"
end

0 comments on commit ca90d2c

Please sign in to comment.