metanorma-iec 2.2.7 → 2.2.8

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: 8e1fc48630666c6749ec3bcd326cd1a0da5d5cf961cfd702e0f43f385d256919
4
- data.tar.gz: 370662a054ffa70d325da95ce080bbd9ca05a767ad938a2a42c32d9331bec1a6
3
+ metadata.gz: 18f6bc14680c197555785231faaa0869ab871b4512a7ccbd70b777496a6bba0e
4
+ data.tar.gz: 67a8eec620949d8ab8cf051ed565c841062dc65257abaccb641cd5b4f6cf4926
5
5
  SHA512:
6
- metadata.gz: 10fc31cc59820dca344cdb94069b3f90a7037be04c2715144355a753561e466cf00407200f2e25d2bd63fb06051d45a6b5156b44e79fac165e7693a2c867e5ae
7
- data.tar.gz: ae68e356bbe71bd9a02ea06cb9bb6ecc91b146cef7c9d0fa9e8c035a335b24c317ad0165aa7cc39d3235f6a28e25f808447b3d7d883daa17c2b082b84de0b0ec
6
+ metadata.gz: e07e419fb0656fff285c3026ff77faff0e0bca0f26f18a8666ac748f651fec0dd140cce944e10a20b9c3929988c27ae8740e456ece5774d66bba658c1564e6c4
7
+ data.tar.gz: 7438d74061aa138779b8d307379dc88dedbf6fa0de91fec335e7dcd54409ae7e7d9ff177b172940ea46072e81491c2ae81f2fe20856e550fb12a2636a5f7e31c
@@ -2589,7 +2589,8 @@
2589
2589
 
2590
2590
  <xsl:attribute name="font-weight">bold</xsl:attribute>
2591
2591
  <xsl:attribute name="text-align">center</xsl:attribute>
2592
- <xsl:attribute name="margin-bottom">6pt</xsl:attribute>
2592
+ <!-- <xsl:attribute name="margin-bottom">6pt</xsl:attribute> -->
2593
+ <xsl:attribute name="margin-bottom">-12pt</xsl:attribute>
2593
2594
  <xsl:attribute name="space-before">12pt</xsl:attribute>
2594
2595
 
2595
2596
  </xsl:attribute-set> <!-- table-name-style -->
@@ -2712,11 +2713,17 @@
2712
2713
  <!-- ========================== -->
2713
2714
  <!-- Definition's list styles -->
2714
2715
  <!-- ========================== -->
2716
+
2717
+ <xsl:attribute-set name="dl-block-style">
2718
+
2719
+ </xsl:attribute-set>
2720
+
2715
2721
  <xsl:attribute-set name="dt-row-style">
2716
2722
 
2717
2723
  </xsl:attribute-set>
2718
2724
 
2719
2725
  <xsl:attribute-set name="dt-cell-style">
2726
+
2720
2727
  </xsl:attribute-set>
2721
2728
 
2722
2729
  <xsl:attribute-set name="dt-block-style">
@@ -2734,6 +2741,7 @@
2734
2741
 
2735
2742
  <xsl:attribute-set name="dd-cell-style">
2736
2743
  <xsl:attribute name="padding-left">2mm</xsl:attribute>
2744
+
2737
2745
  </xsl:attribute-set>
2738
2746
 
2739
2747
  <!-- ========================== -->
@@ -2870,6 +2878,14 @@
2870
2878
 
2871
2879
  </xsl:attribute-set>
2872
2880
 
2881
+ <xsl:attribute-set name="figure-source-style">
2882
+
2883
+ <xsl:attribute name="font-size">6pt</xsl:attribute>
2884
+ <xsl:attribute name="font-style">italic</xsl:attribute>
2885
+ <xsl:attribute name="text-align">right</xsl:attribute>
2886
+
2887
+ </xsl:attribute-set>
2888
+
2873
2889
  <!-- Formula's styles -->
2874
2890
  <xsl:attribute-set name="formula-style">
2875
2891
  <xsl:attribute name="margin-top">6pt</xsl:attribute>
@@ -3419,7 +3435,7 @@
3419
3435
 
3420
3436
  <xsl:template name="processTables_Contents">
3421
3437
  <tables>
3422
- <xsl:for-each select="//*[local-name() = 'table'][@id and *[local-name() = 'name'] and normalize-space(@id) != '']">
3438
+ <xsl:for-each select="//*[local-name() = 'table'][not(ancestor::*[local-name() = 'metanorma-extension'])][@id and *[local-name() = 'name'] and normalize-space(@id) != '']">
3423
3439
  <table id="{@id}" alt-text="{*[local-name() = 'name']}">
3424
3440
  <xsl:copy-of select="*[local-name() = 'name']"/>
3425
3441
  </table>
@@ -3778,7 +3794,7 @@
3778
3794
  </xsl:attribute>
3779
3795
  </xsl:for-each>
3780
3796
 
3781
- <xsl:variable name="isNoteOrFnExist" select="./*[local-name()='note'] or .//*[local-name()='fn'][local-name(..) != 'name']"/>
3797
+ <xsl:variable name="isNoteOrFnExist" select="./*[local-name()='note'] or .//*[local-name()='fn'][local-name(..) != 'name'] or ./*[local-name()='source']"/>
3782
3798
  <xsl:if test="$isNoteOrFnExist = 'true'">
3783
3799
  <xsl:attribute name="border-bottom">0pt solid black</xsl:attribute> <!-- set 0pt border, because there is a separete table below for footer -->
3784
3800
  </xsl:if>
@@ -3822,7 +3838,7 @@
3822
3838
  <xsl:apply-templates select="*[local-name()='thead']" mode="process_tbody"/>
3823
3839
  </xsl:when>
3824
3840
  <xsl:otherwise>
3825
- <xsl:apply-templates select="node()[not(local-name() = 'name') and not(local-name() = 'note') and not(local-name() = 'dl') and not(local-name() = 'thead') and not(local-name() = 'tfoot')]"/> <!-- process all table' elements, except name, header, footer, note and dl which render separaterely -->
3841
+ <xsl:apply-templates select="node()[not(local-name() = 'name') and not(local-name() = 'note') and not(local-name() = 'dl') and not(local-name() = 'source') and not(local-name() = 'thead') and not(local-name() = 'tfoot')]"/> <!-- process all table' elements, except name, header, footer, note, source and dl which render separaterely -->
3826
3842
  </xsl:otherwise>
3827
3843
  </xsl:choose>
3828
3844
 
@@ -3917,6 +3933,11 @@
3917
3933
 
3918
3934
  <fo:block xsl:use-attribute-sets="table-name-style">
3919
3935
 
3936
+ <xsl:if test="$continued = 'true'">
3937
+ <xsl:attribute name="font-size">10pt</xsl:attribute>
3938
+ <xsl:attribute name="margin-bottom">6pt</xsl:attribute>
3939
+ </xsl:if>
3940
+
3920
3941
  <xsl:choose>
3921
3942
  <xsl:when test="$continued = 'true'">
3922
3943
 
@@ -3926,11 +3947,26 @@
3926
3947
  </xsl:otherwise>
3927
3948
  </xsl:choose>
3928
3949
 
3950
+ <xsl:if test="$continued = 'true'">
3951
+ <fo:inline font-weight="bold" font-style="normal">
3952
+ <fo:retrieve-table-marker retrieve-class-name="table_number"/>
3953
+ </fo:inline>
3954
+ <fo:inline font-weight="normal" font-style="italic">
3955
+ <xsl:text> </xsl:text>
3956
+ <fo:retrieve-table-marker retrieve-class-name="table_continued"/>
3957
+ </fo:inline>
3958
+ </xsl:if>
3959
+
3929
3960
  </fo:block>
3930
3961
 
3931
3962
  </xsl:if>
3932
3963
  </xsl:template> <!-- table/name -->
3933
3964
 
3965
+ <!-- SOURCE: ... -->
3966
+ <xsl:template match="*[local-name()='table']/*[local-name() = 'source']" priority="2">
3967
+ <xsl:call-template name="termsource"/>
3968
+ </xsl:template>
3969
+
3934
3970
  <xsl:template name="calculate-columns-numbers">
3935
3971
  <xsl:param name="table-row"/>
3936
3972
  <xsl:variable name="columns-count" select="count($table-row/*)"/>
@@ -4283,17 +4319,26 @@
4283
4319
  <xsl:param name="cols-count"/>
4284
4320
  <fo:table-header>
4285
4321
 
4322
+ <xsl:call-template name="table-header-title">
4323
+ <xsl:with-param name="cols-count" select="$cols-count"/>
4324
+ </xsl:call-template>
4325
+
4286
4326
  <xsl:apply-templates/>
4287
4327
  </fo:table-header>
4288
4328
  </xsl:template> <!-- thead -->
4289
4329
 
4290
- <!-- template is using for iso, jcgm, bsi only -->
4330
+ <!-- template is using for iec, iso, jcgm, bsi only -->
4291
4331
  <xsl:template name="table-header-title">
4292
4332
  <xsl:param name="cols-count"/>
4293
4333
  <!-- row for title -->
4294
4334
  <fo:table-row>
4295
4335
  <fo:table-cell number-columns-spanned="{$cols-count}" border-left="1.5pt solid white" border-right="1.5pt solid white" border-top="1.5pt solid white" border-bottom="1.5pt solid black">
4296
4336
 
4337
+ <xsl:attribute name="border-left">1pt solid white</xsl:attribute>
4338
+ <xsl:attribute name="border-right">1pt solid white</xsl:attribute>
4339
+ <xsl:attribute name="border-top">1pt solid white</xsl:attribute>
4340
+ <xsl:attribute name="border-bottom">none</xsl:attribute>
4341
+
4297
4342
  <xsl:apply-templates select="ancestor::*[local-name()='table']/*[local-name()='name']">
4298
4343
  <xsl:with-param name="continued">true</xsl:with-param>
4299
4344
  </xsl:apply-templates>
@@ -4330,7 +4375,7 @@
4330
4375
  <xsl:param name="colwidths"/>
4331
4376
  <xsl:param name="colgroup"/>
4332
4377
 
4333
- <xsl:variable name="isNoteOrFnExist" select="../*[local-name()='note'] or ../*[local-name()='dl'] or ..//*[local-name()='fn'][local-name(..) != 'name']"/>
4378
+ <xsl:variable name="isNoteOrFnExist" select="../*[local-name()='note'] or ../*[local-name()='dl'] or ..//*[local-name()='fn'][local-name(..) != 'name'] or ../*[local-name()='source']"/>
4334
4379
 
4335
4380
  <xsl:variable name="isNoteOrFnExistShowAfterTable">
4336
4381
 
@@ -4404,6 +4449,7 @@
4404
4449
 
4405
4450
  <xsl:apply-templates select="../*[local-name()='dl']"/>
4406
4451
  <xsl:apply-templates select="../*[local-name()='note']"/>
4452
+ <xsl:apply-templates select="../*[local-name()='source']"/>
4407
4453
 
4408
4454
  <xsl:variable name="isDisplayRowSeparator">
4409
4455
  true
@@ -4459,6 +4505,15 @@
4459
4505
  </xsl:choose>
4460
4506
  </xsl:variable>
4461
4507
 
4508
+ <!-- if there isn't 'thead' and there is a table's title -->
4509
+ <xsl:if test="not(ancestor::*[local-name()='table']/*[local-name()='thead']) and ancestor::*[local-name()='table']/*[local-name()='name']">
4510
+ <fo:table-header>
4511
+ <xsl:call-template name="table-header-title">
4512
+ <xsl:with-param name="cols-count" select="$cols-count"/>
4513
+ </xsl:call-template>
4514
+ </fo:table-header>
4515
+ </xsl:if>
4516
+
4462
4517
  <xsl:apply-templates select="../*[local-name()='thead']">
4463
4518
  <xsl:with-param name="cols-count" select="$cols-count"/>
4464
4519
  </xsl:apply-templates>
@@ -4469,6 +4524,41 @@
4469
4524
 
4470
4525
  <fo:table-body>
4471
4526
 
4527
+ <xsl:variable name="title_continued_">
4528
+ <xsl:call-template name="getTitle">
4529
+ <xsl:with-param name="name" select="'title-continued'"/>
4530
+ </xsl:call-template>
4531
+ </xsl:variable>
4532
+
4533
+ <xsl:variable name="title_continued">
4534
+ <xsl:value-of select="$title_continued_"/>
4535
+
4536
+ </xsl:variable>
4537
+
4538
+ <xsl:variable name="title_start" select="ancestor::*[local-name()='table'][1]/*[local-name()='name']/node()[1][self::text()]"/>
4539
+ <xsl:variable name="table_number" select="substring-before($title_start, '—')"/>
4540
+
4541
+ <fo:table-row height="0" keep-with-next.within-page="always">
4542
+ <fo:table-cell>
4543
+
4544
+ <fo:marker marker-class-name="table_number"/>
4545
+ <fo:marker marker-class-name="table_continued"/>
4546
+
4547
+ <fo:block/>
4548
+ </fo:table-cell>
4549
+ </fo:table-row>
4550
+ <fo:table-row height="0" keep-with-next.within-page="always">
4551
+ <fo:table-cell>
4552
+
4553
+ <fo:marker marker-class-name="table_number"><xsl:value-of select="normalize-space(translate($table_number, ' ', ' '))"/></fo:marker>
4554
+
4555
+ <fo:marker marker-class-name="table_continued">
4556
+ <xsl:value-of select="$title_continued"/>
4557
+ </fo:marker>
4558
+ <fo:block/>
4559
+ </fo:table-cell>
4560
+ </fo:table-row>
4561
+
4472
4562
  <xsl:apply-templates/>
4473
4563
 
4474
4564
  </fo:table-body>
@@ -5051,7 +5141,7 @@
5051
5141
  <xsl:variable name="isAdded" select="@added"/>
5052
5142
  <xsl:variable name="isDeleted" select="@deleted"/>
5053
5143
  <!-- <dl><xsl:copy-of select="."/></dl> -->
5054
- <fo:block-container>
5144
+ <fo:block-container xsl:use-attribute-sets="dl-block-style">
5055
5145
 
5056
5146
  <xsl:call-template name="setBlockSpanAll"/>
5057
5147
 
@@ -5059,6 +5149,18 @@
5059
5149
  <xsl:attribute name="margin-left">0mm</xsl:attribute>
5060
5150
  </xsl:if>
5061
5151
 
5152
+ <xsl:if test="ancestor::*[local-name() = 'sourcecode']">
5153
+ <!-- set font-size as sourcecode font-size -->
5154
+ <xsl:variable name="sourcecode_attributes">
5155
+ <xsl:call-template name="get_sourcecode_attributes"/>
5156
+ </xsl:variable>
5157
+ <xsl:for-each select="xalan:nodeset($sourcecode_attributes)/sourcecode_attributes/@font-size">
5158
+ <xsl:attribute name="{local-name()}">
5159
+ <xsl:value-of select="."/>
5160
+ </xsl:attribute>
5161
+ </xsl:for-each>
5162
+ </xsl:if>
5163
+
5062
5164
  <xsl:if test="parent::*[local-name() = 'note']">
5063
5165
  <xsl:attribute name="margin-left">
5064
5166
  <xsl:choose>
@@ -5506,6 +5608,7 @@
5506
5608
  <xsl:param name="split_keep-within-line"/>
5507
5609
 
5508
5610
  <fo:table-row xsl:use-attribute-sets="dt-row-style">
5611
+
5509
5612
  <xsl:call-template name="insert_dt_cell">
5510
5613
  <xsl:with-param name="key_iso" select="$key_iso"/>
5511
5614
  <xsl:with-param name="split_keep-within-line" select="$split_keep-within-line"/>
@@ -5527,6 +5630,7 @@
5527
5630
  <!-- border is mandatory, to calculate real width -->
5528
5631
  <xsl:attribute name="border">0.1pt solid black</xsl:attribute>
5529
5632
  <xsl:attribute name="text-align">left</xsl:attribute>
5633
+
5530
5634
  </xsl:if>
5531
5635
 
5532
5636
  <fo:block xsl:use-attribute-sets="dt-block-style">
@@ -6042,6 +6146,7 @@
6042
6146
  <fo:inline>
6043
6147
  <xsl:for-each select="$styles/style">
6044
6148
  <xsl:attribute name="{@name}"><xsl:value-of select="."/></xsl:attribute>
6149
+
6045
6150
  </xsl:for-each>
6046
6151
  <xsl:apply-templates/>
6047
6152
  </fo:inline>
@@ -7545,6 +7650,15 @@
7545
7650
  </fo:block>
7546
7651
  </xsl:template>
7547
7652
 
7653
+ <!-- SOURCE: ... -->
7654
+ <xsl:template match="*[local-name() = 'figure']/*[local-name() = 'source']" priority="2">
7655
+
7656
+ <fo:block xsl:use-attribute-sets="figure-source-style">
7657
+ <xsl:apply-templates/>
7658
+ </fo:block>
7659
+
7660
+ </xsl:template>
7661
+
7548
7662
  <xsl:template match="*[local-name() = 'image']">
7549
7663
  <xsl:variable name="isAdded" select="../@added"/>
7550
7664
  <xsl:variable name="isDeleted" select="../@deleted"/>
@@ -8687,9 +8801,11 @@
8687
8801
  <xsl:attribute name="margin-bottom">0pt</xsl:attribute>
8688
8802
  </xsl:if>
8689
8803
 
8690
- <xsl:apply-templates select="node()[not(local-name() = 'name')]"/>
8804
+ <xsl:apply-templates select="node()[not(local-name() = 'name' or local-name() = 'dl')]"/>
8691
8805
  </fo:block>
8692
8806
 
8807
+ <xsl:apply-templates select="*[local-name() = 'dl']"/> <!-- Key table -->
8808
+
8693
8809
  <xsl:apply-templates select="*[local-name()='name']"/> <!-- show sourcecode's name AFTER content -->
8694
8810
 
8695
8811
  </fo:block-container>
@@ -8721,11 +8837,22 @@
8721
8837
  <!-- add sourcecode highlighting -->
8722
8838
  <xsl:template match="*[local-name()='sourcecode']//*[local-name()='span'][@class]" priority="2">
8723
8839
  <xsl:variable name="class" select="@class"/>
8840
+
8841
+ <!-- Example: <1> -->
8842
+ <xsl:variable name="is_callout">
8843
+ <xsl:if test="parent::*[local-name() = 'dt']">
8844
+ <xsl:variable name="dt_id" select="../@id"/>
8845
+ <xsl:if test="ancestor::*[local-name() = 'sourcecode']//*[local-name() = 'callout'][@target = $dt_id]">true</xsl:if>
8846
+ </xsl:if>
8847
+ </xsl:variable>
8848
+
8724
8849
  <xsl:choose>
8725
8850
  <xsl:when test="$sourcecode_css//class[@name = $class]">
8726
8851
  <fo:inline>
8727
8852
  <xsl:apply-templates select="$sourcecode_css//class[@name = $class]" mode="css"/>
8853
+ <xsl:if test="$is_callout = 'true'">&lt;</xsl:if>
8728
8854
  <xsl:apply-templates/>
8855
+ <xsl:if test="$is_callout = 'true'">&gt;</xsl:if>
8729
8856
  </fo:inline>
8730
8857
  </xsl:when>
8731
8858
  <xsl:otherwise>
@@ -9149,6 +9276,10 @@
9149
9276
  </fo:block>
9150
9277
  </xsl:template>
9151
9278
 
9279
+ <xsl:template match="*[local-name() = 'div']">
9280
+ <fo:block><xsl:apply-templates/></fo:block>
9281
+ </xsl:template>
9282
+
9152
9283
  <xsl:template match="*[local-name() = 'inherit'] | *[local-name() = 'component'][@class = 'inherit'] | *[local-name() = 'div'][@type = 'requirement-inherit'] | *[local-name() = 'div'][@type = 'recommendation-inherit'] | *[local-name() = 'div'][@type = 'permission-inherit']">
9153
9284
  <fo:block xsl:use-attribute-sets="inherit-style">
9154
9285
  <xsl:text>Dependency </xsl:text><xsl:apply-templates/>
@@ -9852,13 +9983,8 @@
9852
9983
  </xsl:template>
9853
9984
 
9854
9985
  <xsl:template match="*[local-name() = 'deprecates']">
9855
- <xsl:variable name="title-deprecated">
9856
- <xsl:call-template name="getLocalizedString">
9857
- <xsl:with-param name="key">deprecated</xsl:with-param>
9858
- </xsl:call-template>
9859
- </xsl:variable>
9860
9986
  <fo:block xsl:use-attribute-sets="deprecates-style">
9861
- <xsl:value-of select="$title-deprecated"/>: <xsl:apply-templates/>
9987
+ <xsl:apply-templates/>
9862
9988
  </fo:block>
9863
9989
  </xsl:template>
9864
9990
 
@@ -11090,6 +11216,23 @@
11090
11216
  <xsl:template match="*[local-name() = 'stem'] | *[local-name() = 'image']" mode="update_xml_step1">
11091
11217
  <xsl:copy-of select="."/>
11092
11218
  </xsl:template>
11219
+
11220
+ <!-- add @id, redundant for table auto-layout algorithm -->
11221
+ <xsl:template match="*[local-name() = 'dl' or local-name() = 'table'][not(@id)]" mode="update_xml_step1">
11222
+ <xsl:copy>
11223
+ <xsl:copy-of select="@*"/>
11224
+ <xsl:call-template name="add_id"/>
11225
+ <xsl:apply-templates mode="update_xml_step1"/>
11226
+ </xsl:copy>
11227
+ </xsl:template>
11228
+
11229
+ <xsl:template name="add_id">
11230
+ <xsl:if test="not(@id)">
11231
+ <!-- add @id - first element with @id plus '_element_name' -->
11232
+ <xsl:attribute name="id"><xsl:value-of select="(.//*[@id])[1]/@id"/>_<xsl:value-of select="local-name()"/></xsl:attribute>
11233
+ </xsl:if>
11234
+ </xsl:template>
11235
+
11093
11236
  <!-- =========================================================================== -->
11094
11237
  <!-- END STEP1: Re-order elements in 'preface', 'sections' based on @displayorder -->
11095
11238
  <!-- =========================================================================== -->
@@ -382,6 +382,9 @@
382
382
  <optional>
383
383
  <ref name="dl"/>
384
384
  </optional>
385
+ <optional>
386
+ <ref name="source"/>
387
+ </optional>
385
388
  </element>
386
389
  </define>
387
390
  <define name="figure">
@@ -404,9 +407,6 @@
404
407
  <attribute name="class"/>
405
408
  </optional>
406
409
  <ref name="BlockAttributes"/>
407
- <optional>
408
- <ref name="source"/>
409
- </optional>
410
410
  <optional>
411
411
  <ref name="tname"/>
412
412
  </optional>
@@ -431,6 +431,20 @@
431
431
  <zeroOrMore>
432
432
  <ref name="note"/>
433
433
  </zeroOrMore>
434
+ <optional>
435
+ <ref name="source"/>
436
+ </optional>
437
+ </element>
438
+ </define>
439
+ <define name="source">
440
+ <element name="source">
441
+ <attribute name="status">
442
+ <ref name="SourceStatusType"/>
443
+ </attribute>
444
+ <ref name="origin"/>
445
+ <optional>
446
+ <ref name="modification"/>
447
+ </optional>
434
448
  </element>
435
449
  </define>
436
450
  <define name="sourcecode">
@@ -2099,10 +2113,7 @@
2099
2113
  <define name="termsource">
2100
2114
  <element name="termsource">
2101
2115
  <attribute name="status">
2102
- <choice>
2103
- <value>identical</value>
2104
- <value>modified</value>
2105
- </choice>
2116
+ <ref name="SourceStatusType"/>
2106
2117
  </attribute>
2107
2118
  <attribute name="type">
2108
2119
  <choice>
@@ -2116,6 +2127,17 @@
2116
2127
  </optional>
2117
2128
  </element>
2118
2129
  </define>
2130
+ <define name="SourceStatusType">
2131
+ <choice>
2132
+ <value>identical</value>
2133
+ <value>modified</value>
2134
+ <value>restyled</value>
2135
+ <value>context-added</value>
2136
+ <value>generalisation</value>
2137
+ <value>specialisation</value>
2138
+ <value>unspecified</value>
2139
+ </choice>
2140
+ </define>
2119
2141
  <define name="origin">
2120
2142
  <element name="origin">
2121
2143
  <choice>
@@ -1,6 +1,6 @@
1
1
  module Metanorma
2
2
  module Iec
3
- VERSION = "2.2.7".freeze
3
+ VERSION = "2.2.8".freeze
4
4
  end
5
5
  end
6
6
 
@@ -30,7 +30,7 @@ Gem::Specification.new do |spec|
30
30
  spec.test_files = `git ls-files -- {spec}/*`.split("\n")
31
31
  spec.required_ruby_version = Gem::Requirement.new(">= 2.7.0")
32
32
 
33
- spec.add_dependency "metanorma-iso", "~> 2.4.0"
33
+ spec.add_dependency "metanorma-iso", "~> 2.4.2"
34
34
  spec.add_dependency "ruby-jing"
35
35
 
36
36
  spec.add_development_dependency "debug"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-iec
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.7
4
+ version: 2.2.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-27 00:00:00.000000000 Z
11
+ date: 2023-04-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: metanorma-iso
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 2.4.0
19
+ version: 2.4.2
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 2.4.0
26
+ version: 2.4.2
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: ruby-jing
29
29
  requirement: !ruby/object:Gem::Requirement