Skip to content

Commit

Permalink
version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
opoudjis committed Jan 24, 2023
1 parent 6e6c1b2 commit 34b62ce
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/metanorma/m3aawg/biblio.rng
Original file line number Diff line number Diff line change
Expand Up @@ -1316,7 +1316,7 @@
<value>commentaryOf</value>
<value>hasCommentary</value>
<value>related</value>
<value>complements</value>
<value>hasComplement</value>
<value>complementOf</value>
<value>obsoletes</value>
<value>obsoletedBy</value>
Expand Down
2 changes: 1 addition & 1 deletion lib/metanorma/m3aawg/isodoc.rng
Original file line number Diff line number Diff line change
Expand Up @@ -1580,7 +1580,7 @@
</element>
</define>
<define name="misccontainer">
<element name="misc-container">
<element name="metanorma-extension">
<oneOrMore>
<ref name="AnyElement"/>
</oneOrMore>
Expand Down
2 changes: 1 addition & 1 deletion lib/metanorma/m3aawg/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Metanorma
module M3AAWG
VERSION = "2.2.2".freeze
VERSION = "2.2.3".freeze
end
end
2 changes: 1 addition & 1 deletion spec/isodoc/base_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@
</bibliography>
</m3d-standard>
OUTPUT
expect(xmlpp(IsoDoc::M3AAWG::PresentationXMLConvert.new({})
expect(xmlpp(IsoDoc::M3AAWG::PresentationXMLConvert.new(presxml_options)
.convert("test", input, true)
.gsub(%r{^.*<body}m, "<body")
.gsub(%r{</body>.*}m, "</body>")))
Expand Down
4 changes: 4 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ def metadata(xml)
end
end

def presxml_options
{ semanticxmlinsert: "false" }
end

def strip_guid(xml)
xml.gsub(%r{ id="_[^"]+"}, ' id="_"')
.gsub(%r{ target="_[^"]+"}, ' target="_"')
Expand Down

0 comments on commit 34b62ce

Please sign in to comment.