metanorma-jis 0.2.0 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b56f3b88aec817a7080654fe444dd0095357bff6cff8e87c2c1070cc76fbfe5d
4
- data.tar.gz: 9118aa499de45316f061c65ed9119fc58db446c8053d088ab938554b0bbf7b3a
3
+ metadata.gz: 51d33b08d2336531fafeb2cd92258ecd7f4d2ecc22789d688840fff5e3b9f4b4
4
+ data.tar.gz: 20d1c0ad57701d3cd632c1cc33964528a5e34aa646a0290af52f841081fa54a1
5
5
  SHA512:
6
- metadata.gz: 0b27df1700c813a49720e826ee77e6d58e62ca22b8afff0bbe6561d1a51a3403629490edfc254320bd98bae2399ba97197d90c3b590568b8c5d9e243c1ce8732
7
- data.tar.gz: deeaef221cc6143155580d346cc16e62c1dd86190d523f907bfc5d5dd0216968323a04053fe147e34fae1be29dd6c87cac00471c5cebb9f2894a0c9dd24f669b
6
+ metadata.gz: fc470c9a97b273a3c4989add0df8b28d87173bcca11ca7e1ac2abb46111bf89864db95b23f441970a35b7b6156929109e7b7c7ddd649017aae2ad1551bf1720a
7
+ data.tar.gz: e3192bb844ec32eab702e75891b7165b04c802e7acc3c8bc2a277a3d47e2e911427c36716559db01cbd1c81c4ba0f6f93c2bf6611655b95468513b30943022fc
@@ -2119,6 +2119,10 @@
2119
2119
 
2120
2120
  </xsl:attribute-set>
2121
2121
 
2122
+ <xsl:template name="refine_termexample-style">
2123
+
2124
+ </xsl:template>
2125
+
2122
2126
  <xsl:attribute-set name="example-style">
2123
2127
 
2124
2128
  <xsl:attribute name="margin-top">4pt</xsl:attribute>
@@ -3238,6 +3242,36 @@
3238
3242
  </xsl:for-each>
3239
3243
  </xsl:template>
3240
3244
 
3245
+ <xsl:template name="processMainSectionsDefault_flatxml">
3246
+ <xsl:for-each select="/*/*[local-name()='sections']/* | /*/*[local-name()='bibliography']/*[local-name()='references'][@normative='true']">
3247
+ <xsl:sort select="@displayorder" data-type="number"/>
3248
+ <xsl:variable name="flatxml">
3249
+ <xsl:apply-templates select="." mode="flatxml"/>
3250
+ </xsl:variable>
3251
+ <!-- debug_flatxml='<xsl:copy-of select="$flatxml"/>' -->
3252
+ <xsl:apply-templates select="xalan:nodeset($flatxml)/*"/>
3253
+
3254
+ </xsl:for-each>
3255
+
3256
+ <xsl:for-each select="/*/*[local-name()='annex']">
3257
+ <xsl:sort select="@displayorder" data-type="number"/>
3258
+ <xsl:variable name="flatxml">
3259
+ <xsl:apply-templates select="." mode="flatxml"/>
3260
+ </xsl:variable>
3261
+ <!-- debug_flatxml='<xsl:copy-of select="$flatxml"/>' -->
3262
+ <xsl:apply-templates select="xalan:nodeset($flatxml)/*"/>
3263
+ </xsl:for-each>
3264
+
3265
+ <xsl:for-each select="/*/*[local-name()='bibliography']/*[not(@normative='true')] | /*/*[local-name()='bibliography']/*[local-name()='clause'][*[local-name()='references'][not(@normative='true')]]">
3266
+ <xsl:sort select="@displayorder" data-type="number"/>
3267
+ <xsl:variable name="flatxml">
3268
+ <xsl:apply-templates select="." mode="flatxml"/>
3269
+ </xsl:variable>
3270
+ <!-- debug_flatxml='<xsl:copy-of select="$flatxml"/>' -->
3271
+ <xsl:apply-templates select="xalan:nodeset($flatxml)/*"/>
3272
+ </xsl:for-each>
3273
+ </xsl:template>
3274
+
3241
3275
  <xsl:variable name="regex_standard_reference">([A-Z]{2,}(/[A-Z]{2,})* \d+(-\d+)*(:\d{4})?)</xsl:variable>
3242
3276
  <xsl:variable name="tag_fo_inline_keep-together_within-line_open">###fo:inline keep-together_within-line###</xsl:variable>
3243
3277
  <xsl:variable name="tag_fo_inline_keep-together_within-line_close">###/fo:inline keep-together_within-line###</xsl:variable>
@@ -3364,7 +3398,9 @@
3364
3398
  </xsl:template> <!-- license-statement/p -->
3365
3399
 
3366
3400
  <xsl:template match="*[local-name()='legal-statement']">
3401
+ <xsl:param name="isLegacy">false</xsl:param>
3367
3402
  <fo:block xsl:use-attribute-sets="legal-statement-style">
3403
+
3368
3404
  <xsl:apply-templates/>
3369
3405
  </fo:block>
3370
3406
  </xsl:template> <!-- legal-statement -->
@@ -5303,13 +5339,13 @@
5303
5339
  <tr>
5304
5340
  <td>
5305
5341
  <xsl:attribute name="id">
5306
- <xsl:value-of select="concat($id,'_',$row_number,'_1')"/>
5342
+ <xsl:value-of select="concat($id,'@',$row_number,'_1')"/>
5307
5343
  </xsl:attribute>
5308
5344
  <xsl:apply-templates/>
5309
5345
  </td>
5310
5346
  <td>
5311
5347
  <xsl:attribute name="id">
5312
- <xsl:value-of select="concat($id,'_',$row_number,'_2')"/>
5348
+ <xsl:value-of select="concat($id,'@',$row_number,'_2')"/>
5313
5349
  </xsl:attribute>
5314
5350
 
5315
5351
  <xsl:apply-templates select="following-sibling::*[local-name()='dd'][1]">
@@ -5620,13 +5656,14 @@
5620
5656
  <!-- ================= -->
5621
5657
  <!-- Added,deleted text -->
5622
5658
  <!-- ================= -->
5623
- <xsl:template match="*[local-name()='add']" name="tag_add">
5659
+ <xsl:template match="*[local-name()='add'] | *[local-name() = 'change-open-tag'] | *[local-name() = 'change-close-tag']" name="tag_add">
5624
5660
  <xsl:param name="skip">true</xsl:param>
5625
5661
  <xsl:param name="block">false</xsl:param>
5626
5662
  <xsl:param name="type"/>
5627
5663
  <xsl:param name="text-align"/>
5628
5664
  <xsl:choose>
5629
- <xsl:when test="starts-with(., $ace_tag)"> <!-- examples: ace-tag_A1_start, ace-tag_A2_end, C1_start, AC_start -->
5665
+ <xsl:when test="starts-with(., $ace_tag) or local-name() = 'change-open-tag' or local-name() = 'change-close-tag'"> <!-- examples: ace-tag_A1_start, ace-tag_A2_end, C1_start, AC_start, or
5666
+ <change-open-tag>A<sub>1</sub></change-open-tag>, <change-close-tag>A<sub>1</sub></change-close-tag> -->
5630
5667
  <xsl:choose>
5631
5668
  <xsl:when test="$skip = 'true' and ((local-name(../..) = 'note' and not(preceding-sibling::node())) or (local-name(..) = 'title' and preceding-sibling::node()[1][local-name() = 'tab']) or local-name(..) = 'formattedref' and not(preceding-sibling::node())) and ../node()[last()][local-name() = 'add'][starts-with(text(), $ace_tag)]"><!-- start tag displayed in template name="note" and title --></xsl:when>
5632
5669
  <xsl:otherwise>
@@ -5634,12 +5671,32 @@
5634
5671
  <xsl:call-template name="insertTag">
5635
5672
  <xsl:with-param name="type">
5636
5673
  <xsl:choose>
5674
+ <xsl:when test="local-name() = 'change-open-tag'">start</xsl:when>
5675
+ <xsl:when test="local-name() = 'change-close-tag'">end</xsl:when>
5637
5676
  <xsl:when test="$type = ''"><xsl:value-of select="substring-after(substring-after(., $ace_tag), '_')"/> <!-- start or end --></xsl:when>
5638
5677
  <xsl:otherwise><xsl:value-of select="$type"/></xsl:otherwise>
5639
5678
  </xsl:choose>
5640
5679
  </xsl:with-param>
5641
- <xsl:with-param name="kind" select="substring(substring-before(substring-after(., $ace_tag), '_'), 1, 1)"/> <!-- A or C -->
5642
- <xsl:with-param name="value" select="substring(substring-before(substring-after(., $ace_tag), '_'), 2)"/> <!-- 1, 2, C -->
5680
+ <xsl:with-param name="kind">
5681
+ <xsl:choose>
5682
+ <xsl:when test="local-name() = 'change-open-tag' or local-name() = 'change-close-tag'">
5683
+ <xsl:value-of select="text()"/>
5684
+ </xsl:when>
5685
+ <xsl:otherwise>
5686
+ <xsl:value-of select="substring(substring-before(substring-after(., $ace_tag), '_'), 1, 1)"/> <!-- A or C -->
5687
+ </xsl:otherwise>
5688
+ </xsl:choose>
5689
+ </xsl:with-param>
5690
+ <xsl:with-param name="value">
5691
+ <xsl:choose>
5692
+ <xsl:when test="local-name() = 'change-open-tag' or local-name() = 'change-close-tag'">
5693
+ <xsl:value-of select="*[local-name() = 'sub']"/>
5694
+ </xsl:when>
5695
+ <xsl:otherwise>
5696
+ <xsl:value-of select="substring(substring-before(substring-after(., $ace_tag), '_'), 2)"/> <!-- 1, 2, C -->
5697
+ </xsl:otherwise>
5698
+ </xsl:choose>
5699
+ </xsl:with-param>
5643
5700
  </xsl:call-template>
5644
5701
  </xsl:variable>
5645
5702
  <xsl:choose>
@@ -5903,6 +5960,10 @@
5903
5960
  <fo:inline keep-with-next.within-line="always"><xsl:value-of select="."/></fo:inline>
5904
5961
  </xsl:template>
5905
5962
 
5963
+ <xsl:template match="*[local-name() = 'span'][contains(@style, 'text-transform:none')]//text()" priority="5">
5964
+ <xsl:value-of select="."/>
5965
+ </xsl:template>
5966
+
5906
5967
  <!-- ========================= -->
5907
5968
  <!-- END Rich text formatting -->
5908
5969
  <!-- ========================= -->
@@ -6533,7 +6594,7 @@
6533
6594
  </xsl:choose>
6534
6595
  </xsl:variable>
6535
6596
  <xsl:attribute name="id">
6536
- <xsl:value-of select="concat($id,'_',$row_number,'_',$col_number,'_',$divide)"/>
6597
+ <xsl:value-of select="concat($id,'@',$row_number,'_',$col_number,'_',$divide)"/>
6537
6598
  </xsl:attribute>
6538
6599
 
6539
6600
  <xsl:for-each select="*[local-name() = 'p']">
@@ -6541,7 +6602,7 @@
6541
6602
  <xsl:copy-of select="@*"/>
6542
6603
  <xsl:variable name="p_num" select="count(preceding-sibling::*[local-name() = 'p']) + 1"/>
6543
6604
  <xsl:attribute name="id">
6544
- <xsl:value-of select="concat($id,'_',$row_number,'_',$col_number,'_p_',$p_num,'_',$divide)"/>
6605
+ <xsl:value-of select="concat($id,'@',$row_number,'_',$col_number,'_p_',$p_num,'_',$divide)"/>
6545
6606
  </xsl:attribute>
6546
6607
 
6547
6608
  <!-- <xsl:copy-of select="node()" /> -->
@@ -6605,7 +6666,7 @@
6605
6666
  <xsl:variable name="num" select="count(preceding-sibling::word) + 1"/>
6606
6667
  <xsl:copy>
6607
6668
  <xsl:attribute name="id">
6608
- <xsl:value-of select="concat($id,'_',$row_number,'_',$col_number,'_word_',$num,'_',$divide)"/>
6669
+ <xsl:value-of select="concat($id,'@',$row_number,'_',$col_number,'_word_',$num,'_',$divide)"/>
6609
6670
  </xsl:attribute>
6610
6671
  <xsl:copy-of select="node()"/>
6611
6672
  </xsl:copy>
@@ -7842,11 +7903,17 @@
7842
7903
  </xsl:when>
7843
7904
  <xsl:otherwise>
7844
7905
 
7906
+ <xsl:variable name="image_class" select="ancestor::*[local-name() = 'image']/@class"/>
7907
+ <xsl:variable name="ancestor_table_cell" select="normalize-space(ancestor::*[local-name() = 'td'] or ancestor::*[local-name() = 'th'])"/>
7908
+
7845
7909
  <xsl:variable name="element">
7846
7910
  <xsl:choose>
7847
7911
  <xsl:when test="ancestor::*[local-name() = 'tr'] and $isGenerateTableIF = 'true'">
7848
7912
  <fo:inline xsl:use-attribute-sets="image-style" text-align="left"/>
7849
7913
  </xsl:when>
7914
+ <xsl:when test="not(ancestor::*[local-name() = 'figure'])">
7915
+ <fo:inline xsl:use-attribute-sets="image-style" text-align="left"/>
7916
+ </xsl:when>
7850
7917
  <xsl:otherwise>
7851
7918
  <fo:block xsl:use-attribute-sets="image-style">
7852
7919
  <xsl:if test="ancestor::*[local-name() = 'dt']">
@@ -7862,10 +7929,24 @@
7862
7929
  <xsl:copy-of select="@*"/>
7863
7930
  <!-- <fo:block xsl:use-attribute-sets="image-style"> -->
7864
7931
  <fo:instream-foreign-object fox:alt-text="{$alt-text}">
7865
- <xsl:if test="$isGenerateTableIF = 'false'">
7866
- <xsl:attribute name="width">100%</xsl:attribute>
7867
- </xsl:if>
7868
- <xsl:attribute name="content-height">100%</xsl:attribute>
7932
+
7933
+ <xsl:choose>
7934
+ <xsl:when test="$image_class = 'corrigenda-tag'">
7935
+ <xsl:attribute name="fox:alt-text">CorrigendaTag</xsl:attribute>
7936
+ <xsl:attribute name="baseline-shift">-10%</xsl:attribute>
7937
+ <xsl:if test="$ancestor_table_cell = 'true'">
7938
+ <xsl:attribute name="baseline-shift">-25%</xsl:attribute>
7939
+ </xsl:if>
7940
+ <xsl:attribute name="height">3.5mm</xsl:attribute>
7941
+ </xsl:when>
7942
+ <xsl:otherwise>
7943
+ <xsl:if test="$isGenerateTableIF = 'false'">
7944
+ <xsl:attribute name="width">100%</xsl:attribute>
7945
+ </xsl:if>
7946
+ <xsl:attribute name="content-height">100%</xsl:attribute>
7947
+ </xsl:otherwise>
7948
+ </xsl:choose>
7949
+
7869
7950
  <xsl:attribute name="content-width">scale-down-to-fit</xsl:attribute>
7870
7951
  <xsl:variable name="svg_width" select="xalan:nodeset($svg_content)/*/@width"/>
7871
7952
  <xsl:variable name="svg_height" select="xalan:nodeset($svg_content)/*/@height"/>
@@ -9379,7 +9460,7 @@
9379
9460
  <!-- ====== -->
9380
9461
  <xsl:template match="*[local-name() = 'termexample']">
9381
9462
  <fo:block id="{@id}" xsl:use-attribute-sets="termexample-style">
9382
-
9463
+ <xsl:call-template name="refine_termexample-style"/>
9383
9464
  <xsl:call-template name="setBlockSpanAll"/>
9384
9465
 
9385
9466
  <xsl:apply-templates select="*[local-name()='name']"/>
@@ -10060,13 +10141,19 @@
10060
10141
  <fo:block id="{@id}" font-size="1pt"><xsl:value-of select="$hair_space"/></fo:block>
10061
10142
  </xsl:when>
10062
10143
  <!-- if there isn't element with id 'from', then create 'bookmark' here -->
10063
- <xsl:when test="not(ancestor::*[contains(local-name(), '-standard')]//*[@id = $id_from])">
10144
+ <xsl:when test="ancestor::*[contains(local-name(), '-standard')] and not(ancestor::*[contains(local-name(), '-standard')]//*[@id = $id_from])">
10145
+ <fo:block id="{@from}" font-size="1pt"><xsl:value-of select="$hair_space"/></fo:block>
10146
+ </xsl:when>
10147
+ <xsl:when test="not(//*[@id = $id_from]) and not(preceding-sibling::*[@id = $id_from])">
10064
10148
  <fo:block id="{@from}" font-size="1pt"><xsl:value-of select="$hair_space"/></fo:block>
10065
10149
  </xsl:when>
10066
10150
  </xsl:choose>
10067
10151
 
10068
10152
  </xsl:template>
10069
10153
 
10154
+ <!-- https://github.com/metanorma/mn-samples-bsi/issues/312 -->
10155
+ <xsl:template match="*[local-name() = 'review'][@type = 'other']"/>
10156
+
10070
10157
  <xsl:template match="*[local-name() = 'name']/text()">
10071
10158
  <!-- 0xA0 to space replacement -->
10072
10159
  <xsl:value-of select="java:replaceAll(java:java.lang.String.new(.),' ',' ')"/>
@@ -11796,7 +11883,7 @@
11796
11883
 
11797
11884
  <xsl:template name="printEdition">
11798
11885
  <xsl:variable name="edition_i18n" select="normalize-space((//*[contains(local-name(), '-standard')])[1]/*[local-name() = 'bibdata']/*[local-name() = 'edition'][normalize-space(@language) != ''])"/>
11799
- <xsl:text> </xsl:text>
11886
+
11800
11887
  <xsl:choose>
11801
11888
  <xsl:when test="$edition_i18n != ''">
11802
11889
  <!-- Example: <edition language="fr">deuxième édition</edition> -->
@@ -9,14 +9,14 @@ module IsoDoc
9
9
  %w(en ja).include?(lang) or lang = "ja"
10
10
  tp = title_parts(isoxml, lang)
11
11
  tn = title_nums(isoxml)
12
- set_encoded(:doctitlemain, tp[:main])
12
+ tp[:main] and set(:doctitlemain, tp[:main].children.to_xml)
13
13
  main = compose_title(tp, tn, lang)
14
14
  set(:doctitle, main)
15
- set_encoded(:doctitleintro, tp[:intro])
15
+ tp[:intro] and set(:doctitleintro, tp[:intro].children.to_xml)
16
16
  set(:doctitlepartlabel, part_prefix(tn, lang))
17
- set_encoded(:doctitlepart, tp[:part])
17
+ tp[:part] and set(:doctitlepart, tp[:part].children.to_xml)
18
18
  set(:doctitleamdlabel, amd_prefix(tn, lang)) if tn[:amd]
19
- set_encoded(:doctitleamd, tp[:amd])
19
+ tp[:amd] and set(:doctitleamd, tp[:amd].children.to_xml)
20
20
  set(:doctitlecorrlabel, corr_prefix(tn, lang)) if tn[:corr]
21
21
  end
22
22
 
@@ -24,14 +24,14 @@ module IsoDoc
24
24
  lang = @lang == "ja" ? "en" : "ja"
25
25
  tp = title_parts(isoxml, lang)
26
26
  tn = title_nums(isoxml)
27
- set_encoded(:docsubtitlemain, tp[:main])
27
+ tp[:main] and set(:docsubtitlemain, tp[:main].children.to_xml)
28
28
  main = compose_title(tp, tn, lang)
29
29
  set(:docsubtitle, main)
30
- set_encoded(:docsubtitleintro, tp[:intro])
30
+ tp[:intro] and set(:docsubtitleintro, tp[:intro].children.to_xml)
31
31
  set(:docsubtitlepartlabel, part_prefix(tn, lang))
32
- set_encoded(:docsubtitlepart, tp[:part])
32
+ tp[:part] and set(:docsubtitlepart, tp[:part].children.to_xml)
33
33
  set(:docsubtitleamdlabel, amd_prefix(tn, lang)) if tn[:amd]
34
- set_encoded(:docsubtitleamd, tp[:amd])
34
+ tp[:amd] and set(:docsubtitleamd, tp[:amd].children.to_xml)
35
35
  set(:docsubtitlecorrlabel, corr_prefix(tn, lang)) if tn[:corr]
36
36
  end
37
37
 
@@ -244,6 +244,9 @@
244
244
  <data type="ID"/>
245
245
  </attribute>
246
246
  <attribute name="reviewer"/>
247
+ <optional>
248
+ <attribute name="type"/>
249
+ </optional>
247
250
  <optional>
248
251
  <attribute name="date">
249
252
  <data type="dateTime"/>
@@ -44,6 +44,10 @@ module Metanorma
44
44
  File.join(@libdir, "boilerplate-#{@lang}.adoc")
45
45
  end
46
46
 
47
+ def document_scheme(node)
48
+ node.attr("document-scheme")
49
+ end
50
+
47
51
  def html_converter(node)
48
52
  if node.nil?
49
53
  IsoDoc::JIS::HtmlConvert.new({})
@@ -68,17 +68,16 @@ module Metanorma
68
68
  ret = node.attr(attr + suffix) and return ret
69
69
  ret = langs.each_with_object({}).each do |l, m|
70
70
  x = node.attr("#{attr}-#{l}#{suffix}") and m[l] = x
71
- end.compact
71
+ end
72
72
  ret.empty? and return nil
73
- ret
73
+ compact_blank(ret)
74
74
  end
75
75
 
76
76
  def extract_org_attrs_complex(node, opts, source, suffix)
77
- { name: multiling_docattr(node, source, suffix, LANGS),
78
- role: opts[:role], desc: opts[:desc],
79
- abbr: multiling_docattr(node, "#{source}-abbr", suffix, LANGS),
80
- logo: multiling_docattr(node, "#{source}_logo", suffix, LANGS) }
81
- .compact
77
+ compact_blank({ name: multiling_docattr(node, source, suffix, LANGS),
78
+ role: opts[:role], desc: opts[:desc],
79
+ abbr: multiling_docattr(node, "#{source}-abbr", suffix, LANGS),
80
+ logo: multiling_docattr(node, "#{source}_logo", suffix, LANGS) })
82
81
  .merge(extract_org_attrs_address(node, opts, suffix))
83
82
  end
84
83
 
@@ -142,7 +141,6 @@ module Metanorma
142
141
  xml.docidentifier id.sub(/^JIS /, ""), **attr_code(type: "JIS")
143
142
  else iso_id(node, xml)
144
143
  end
145
- xml.docnumber node.attr("docnumber")
146
144
  end
147
145
 
148
146
  def get_typeabbr(node, amd: false)
@@ -168,12 +166,13 @@ module Metanorma
168
166
  publisher: pub[0],
169
167
  copublisher: pub[1..-1] }.compact
170
168
  ret[:copublisher].empty? and ret.delete(:copublisher)
171
- ret
169
+ compact_blank(ret)
172
170
  end
173
171
 
174
172
  def iso_id_params_add(node)
175
- { number: node.attr("amendment-number"),
176
- year: iso_id_year(node) }.compact
173
+ ret = { number: node.attr("amendment-number"),
174
+ year: iso_id_year(node) }
175
+ compact_blank(ret)
177
176
  end
178
177
 
179
178
  def iso_id_out(xml, params, _with_prf)
@@ -17,7 +17,7 @@
17
17
  these elements; we just want one namespace for any child grammars
18
18
  of this.
19
19
  -->
20
- <!-- VERSION v1.2.12 -->
20
+ <!-- VERSION v1.3.0 -->
21
21
  <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">
22
22
  <include href="reqt.rng"/>
23
23
  <include href="basicdoc.rng">
@@ -146,6 +146,9 @@
146
146
  <data type="boolean"/>
147
147
  </attribute>
148
148
  </optional>
149
+ <optional>
150
+ <attribute name="style"/>
151
+ </optional>
149
152
  <oneOrMore>
150
153
  <ref name="PureTextElement"/>
151
154
  </oneOrMore>
@@ -1,6 +1,6 @@
1
1
  module Metanorma
2
2
  module JIS
3
- VERSION = "0.2.0".freeze
3
+ VERSION = "0.2.2".freeze
4
4
  end
5
5
  end
6
6
 
@@ -31,7 +31,7 @@ Gem::Specification.new do |spec|
31
31
  spec.required_ruby_version = Gem::Requirement.new(">= 2.7.0")
32
32
 
33
33
  spec.add_dependency "japanese_calendar", "~> 0"
34
- spec.add_dependency "metanorma-iso", "~> 2.7.0"
34
+ spec.add_dependency "metanorma-iso", "~> 2.7.2"
35
35
  spec.add_dependency "pubid-jis"
36
36
 
37
37
  spec.add_development_dependency "debug"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-jis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-09 00:00:00.000000000 Z
11
+ date: 2024-02-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: japanese_calendar
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 2.7.0
33
+ version: 2.7.2
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 2.7.0
40
+ version: 2.7.2
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: pubid-jis
43
43
  requirement: !ruby/object:Gem::Requirement