From f5bf6080d5e863ddbb0998e49c04cc6a29885966 Mon Sep 17 00:00:00 2001 From: Nick Nicholas Date: Mon, 26 Sep 2022 22:34:06 +1000 Subject: [PATCH] version bump --- lib/isodoc/ribose/init.rb | 8 ++++---- lib/metanorma/ribose/biblio.rng | 33 ++++++++++++++++++++++++++++++++- lib/metanorma/ribose/version.rb | 2 +- metanorma-ribose.gemspec | 2 +- 4 files changed, 38 insertions(+), 7 deletions(-) diff --git a/lib/isodoc/ribose/init.rb b/lib/isodoc/ribose/init.rb index f7ab288..c4ec3fb 100644 --- a/lib/isodoc/ribose/init.rb +++ b/lib/isodoc/ribose/init.rb @@ -5,8 +5,8 @@ module IsoDoc module Ribose module Init - def metadata_init(lang, script, labels) - @meta = Metadata.new(lang, script, labels) + def metadata_init(lang, script, locale, labels) + @meta = Metadata.new(lang, script, locale, labels) end def xref_init(lang, script, _klass, labels, options) @@ -14,9 +14,9 @@ def xref_init(lang, script, _klass, labels, options) @xrefs = Xref.new(lang, script, html, labels, options) end - def i18n_init(lang, script, i18nyaml = nil) + def i18n_init(lang, script, locale, i18nyaml = nil) @i18n = I18n.new( - lang, script, i18nyaml: i18nyaml || + lang, script, locale: locale, i18nyaml: i18nyaml || Metanorma::Ribose.configuration.i18nyaml || @i18nyaml ) end diff --git a/lib/metanorma/ribose/biblio.rng b/lib/metanorma/ribose/biblio.rng index 1a34120..6511f02 100644 --- a/lib/metanorma/ribose/biblio.rng +++ b/lib/metanorma/ribose/biblio.rng @@ -73,8 +73,14 @@ - + ISO-639 + + + + + + ISO-3166 @@ -93,6 +99,9 @@ + + + @@ -136,6 +145,9 @@ + + + @@ -650,6 +662,9 @@ + + + @@ -741,6 +756,9 @@ + + + @@ -854,6 +872,15 @@ + + + + + + + + + @@ -882,6 +909,7 @@ vote-started vote-ended announced + stable-until @@ -930,6 +958,9 @@ + + + diff --git a/lib/metanorma/ribose/version.rb b/lib/metanorma/ribose/version.rb index 9d7e9c2..5a00b26 100644 --- a/lib/metanorma/ribose/version.rb +++ b/lib/metanorma/ribose/version.rb @@ -1,5 +1,5 @@ module Metanorma module Ribose - VERSION = "2.1.8.1".freeze + VERSION = "2.1.9".freeze end end diff --git a/metanorma-ribose.gemspec b/metanorma-ribose.gemspec index 653d9d1..2542699 100644 --- a/metanorma-ribose.gemspec +++ b/metanorma-ribose.gemspec @@ -28,7 +28,7 @@ Gem::Specification.new do |spec| spec.require_paths = ["lib"] spec.required_ruby_version = Gem::Requirement.new(">= 2.5.0") - spec.add_dependency "metanorma-generic", "~> 2.2.0" + spec.add_dependency "metanorma-generic", "~> 2.2.2" spec.add_development_dependency "debug" spec.add_development_dependency "equivalent-xml", "~> 0.6"