lib/ietfbib/scrapper.rb in ietfbib-0.4.4 vs lib/ietfbib/scrapper.rb in ietfbib-0.4.5

- old
+ new

@@ -8,11 +8,11 @@ # rubocop:disable Metrics/ModuleLength # Scrapper module module Scrapper - RFC_URI_PATTERN = "https://www.rfc-editor.org/refs/bibxml/reference.CODE" + RFC_URI_PATTERN = "https://xml2rfc.tools.ietf.org/public/rfc/bibxml/reference.CODE" ID_URI_PATTERN = "https://xml2rfc.tools.ietf.org/public/rfc/bibxml-ids/reference.CODE" class << self # @param text [String] # @return [IsoBibItem::BibliographicItem] @@ -44,10 +44,9 @@ @reference = doc.at('//reference') return unless @reference bib_item rescue warn "No document found at #{uri}" - return end end private