diff --git a/grammars/biblio.rng b/grammars/biblio.rng index ea06414..86f8275 100644 --- a/grammars/biblio.rng +++ b/grammars/biblio.rng @@ -88,7 +88,7 @@ - + @@ -98,6 +98,16 @@ + + + + + + + + + + @@ -136,6 +146,16 @@ + + + + + + + + + + @@ -641,9 +661,9 @@ - + - + @@ -1001,7 +1021,17 @@ - + + + + + + + + + + + diff --git a/grammars/isodoc.rng b/grammars/isodoc.rng index 9555813..e182d20 100644 --- a/grammars/isodoc.rng +++ b/grammars/isodoc.rng @@ -53,6 +53,14 @@ + + + + capital + lowercase + + + @@ -902,7 +910,15 @@ - + + + + + + + + + diff --git a/grammars/isostandard.rng b/grammars/isostandard.rng index 8b2f588..19ae1a7 100644 --- a/grammars/isostandard.rng +++ b/grammars/isostandard.rng @@ -91,6 +91,12 @@ + + + + + + @@ -263,6 +269,8 @@ publicly-available-specification international-workshop-agreement guide + amendment + technical-corrigendum @@ -510,7 +518,7 @@ - + diff --git a/lib/relaton_ietf/scrapper.rb b/lib/relaton_ietf/scrapper.rb index 0e4128e..cca4244 100644 --- a/lib/relaton_ietf/scrapper.rb +++ b/lib/relaton_ietf/scrapper.rb @@ -314,6 +314,8 @@ def dates(reference) [RelatonBib::BibliographicDate.new(type: "published", on: date)] end + # rubocop:disable Metrics/MethodLength, Metrics/AbcSize + # # Extract document identifiers from reference # @@ -337,6 +339,7 @@ def docids(reference, ver) RelatonBib::DocumentIdentifier.new(id: id, type: si[:name]) end.compact end + # enable Metrics/MethodLength, Metrics/AbcSize # # Extract series form reference diff --git a/lib/relaton_ietf/version.rb b/lib/relaton_ietf/version.rb index 515b7fd..25d034f 100644 --- a/lib/relaton_ietf/version.rb +++ b/lib/relaton_ietf/version.rb @@ -1,3 +1,3 @@ module RelatonIetf - VERSION = "1.0.4".freeze + VERSION = "1.1.0".freeze end diff --git a/relaton_ietf.gemspec b/relaton_ietf.gemspec index 41efdd4..a6f3994 100644 --- a/relaton_ietf.gemspec +++ b/relaton_ietf.gemspec @@ -40,5 +40,5 @@ Gem::Specification.new do |spec| spec.add_development_dependency "vcr" spec.add_development_dependency "webmock" - spec.add_dependency "relaton-bib", ">= 1.0.4" + spec.add_dependency "relaton-bib", "~> 1.1.0" end