Skip to content

Commit de75001

Browse files
committed
version bump
1 parent 1898f1e commit de75001

File tree

7 files changed

+155
-145
lines changed

7 files changed

+155
-145
lines changed

lib/metanorma/jis/basicdoc.rng

+3
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,9 @@
244244
<data type="ID"/>
245245
</attribute>
246246
<attribute name="reviewer"/>
247+
<optional>
248+
<attribute name="type"/>
249+
</optional>
247250
<optional>
248251
<attribute name="date">
249252
<data type="dateTime"/>

lib/metanorma/jis/converter.rb

+4
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ def boilerplate_file(_x_orig)
4444
File.join(@libdir, "boilerplate-#{@lang}.adoc")
4545
end
4646

47+
def document_scheme(node)
48+
node.attr("document-scheme")
49+
end
50+
4751
def html_converter(node)
4852
if node.nil?
4953
IsoDoc::JIS::HtmlConvert.new({})

lib/metanorma/jis/isodoc.rng

+4-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
these elements; we just want one namespace for any child grammars
1818
of this.
1919
-->
20-
<!-- VERSION v1.2.12 -->
20+
<!-- VERSION v1.3.0 -->
2121
<grammar xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
2222
<include href="reqt.rng"/>
2323
<include href="basicdoc.rng">
@@ -146,6 +146,9 @@
146146
<data type="boolean"/>
147147
</attribute>
148148
</optional>
149+
<optional>
150+
<attribute name="style"/>
151+
</optional>
149152
<oneOrMore>
150153
<ref name="PureTextElement"/>
151154
</oneOrMore>

lib/metanorma/jis/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module Metanorma
22
module JIS
3-
VERSION = "0.2.0".freeze
3+
VERSION = "0.2.1".freeze
44
end
55
end
66

spec/vcr_cassettes/isobib_123_dated.yml

+60-60
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

spec/vcr_cassettes/isobib_123_mix_dated.yml

+38-38
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

spec/vcr_cassettes/isobib_123_undated.yml

+45-45
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)