diff --git a/lib/metanorma/cc/isodoc.rng b/lib/metanorma/cc/isodoc.rng index c69bf163..11ee61f8 100644 --- a/lib/metanorma/cc/isodoc.rng +++ b/lib/metanorma/cc/isodoc.rng @@ -220,24 +220,7 @@ - - - - - - - - - - - - - - - - - - + @@ -254,24 +237,7 @@ - - - - - - - - - - - - - - - - - - + @@ -299,29 +265,12 @@ - - - - - - - - - - + - - - - - - - - @@ -362,24 +311,7 @@ - - - - - - - - - - - - - - - - - - + @@ -427,27 +359,10 @@ - - - - - - - - - - - - - - - - - - + @@ -485,27 +400,10 @@ - - - - - - - - - - - - - - - - - - + @@ -551,27 +449,10 @@ - - - - - - - - - - - - - - - - - - + @@ -610,29 +491,12 @@ - - - - - - - - - - - - - - - - - - + @@ -651,27 +515,7 @@ - - - - - - - - - - - - - - - - - - - - - + @@ -689,27 +533,10 @@ - - - - - - - - - - - - - - - - - - + @@ -731,24 +558,7 @@ - - - - - - - - - - - - - - - - - - + @@ -828,27 +638,9 @@ - - - - - - - - - - - - - - - - - - @@ -859,6 +651,7 @@ + @@ -1332,14 +1125,7 @@ - - - - - - - - + @@ -1908,7 +1694,10 @@ - + + + + @@ -1934,14 +1723,7 @@ - - - - - - - - + @@ -2282,24 +2064,7 @@ - - - - - - - - - - - - - - - - - - + @@ -2316,24 +2081,7 @@ - - - - - - - - - - - - - - - - - - + @@ -2460,14 +2208,7 @@ - - - - - - - - + @@ -2527,14 +2268,7 @@ - - - - - - - - + @@ -2580,14 +2314,7 @@ - - - - - - - - + @@ -2694,6 +2421,29 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/lib/metanorma/cc/version.rb b/lib/metanorma/cc/version.rb index a9f2f123..5aa21613 100644 --- a/lib/metanorma/cc/version.rb +++ b/lib/metanorma/cc/version.rb @@ -1,5 +1,5 @@ module Metanorma module CC - VERSION = "2.2.4".freeze + VERSION = "2.2.5".freeze end end diff --git a/metanorma-cc.gemspec b/metanorma-cc.gemspec index f3394e5a..f346ef63 100644 --- a/metanorma-cc.gemspec +++ b/metanorma-cc.gemspec @@ -29,7 +29,7 @@ Gem::Specification.new do |spec| spec.require_paths = ["lib"] spec.required_ruby_version = Gem::Requirement.new(">= 2.7.0") - spec.add_dependency "metanorma-generic", "~> 2.3.0" + spec.add_dependency "metanorma-generic", "~> 2.4.0" spec.add_development_dependency "debug" spec.add_development_dependency "equivalent-xml", "~> 0.6" diff --git a/spec/metanorma/processor_spec.rb b/spec/metanorma/processor_spec.rb index 31bdc700..9fb0608b 100644 --- a/spec/metanorma/processor_spec.rb +++ b/spec/metanorma/processor_spec.rb @@ -47,13 +47,14 @@ INPUT - expect(xmlpp(File.read("test.html", encoding: "utf-8") + expect(xmlpp(strip_guid(File.read("test.html", encoding: "utf-8") .gsub(%r{^.*.*}m, ""))).to be_equivalent_to xmlpp(<<~"OUTPUT") + .gsub(%r{.*}m, "")))) + .to be_equivalent_to xmlpp(strip_guid(<<~"OUTPUT"))

-

1.  Terms, Definitions, Symbols and Abbreviated Terms

+

1.  Terms, Definitions, Symbols and Abbreviated Terms

1.1. Term2