lib/asciidoctor-bibliography/bibliographer.rb in asciidoctor-bibliography-0.5.0 vs lib/asciidoctor-bibliography/bibliographer.rb in asciidoctor-bibliography-0.5.1
- old
+ new
@@ -9,10 +9,10 @@
def initialize
@options = {}
@citations = []
@indices = []
@database = nil
- @occurring_keys = Hash.new([])
+ @occurring_keys = {}
end
def add_citation(citation)
citations << citation
citation.citation_items.group_by(&:target).each do |target, citation_items|