metanorma-itu 2.1.11 → 2.1.12

Sign up to get free protection for your applications and to get access to all the features.
@@ -219,7 +219,7 @@
219
219
  <fo:page-sequence master-reference="TR-first-page">
220
220
  <fo:flow flow-name="xsl-region-body">
221
221
  <fo:block>
222
- <fo:table width="175mm" table-layout="fixed" border-top="1.5pt solid black">
222
+ <fo:table width="175mm" table-layout="fixed" border-top="1.5pt solid black" id="__internal_layout__meeting_{generate-id()}">
223
223
  <fo:table-column column-width="29mm"/>
224
224
  <fo:table-column column-width="45mm"/>
225
225
  <fo:table-column column-width="28mm"/>
@@ -252,7 +252,7 @@
252
252
  </fo:table-body>
253
253
  </fo:table>
254
254
 
255
- <fo:table width="175mm" table-layout="fixed">
255
+ <fo:table width="175mm" table-layout="fixed" id="__internal_layout__groups_{generate-id()}">
256
256
  <fo:table-column column-width="29mm"/>
257
257
  <fo:table-column column-width="10mm"/>
258
258
  <fo:table-column column-width="35mm"/>
@@ -300,7 +300,7 @@
300
300
  </fo:table>
301
301
 
302
302
  <xsl:if test="/itu:itu-standard/itu:bibdata/itu:contributor/itu:person">
303
- <fo:table width="175mm" table-layout="fixed" line-height="110%">
303
+ <fo:table width="175mm" table-layout="fixed" line-height="110%" id="__internal_layout__person_{generate-id()}">
304
304
  <fo:table-column column-width="29mm"/>
305
305
  <fo:table-column column-width="75mm"/>
306
306
  <fo:table-column column-width="71mm"/>
@@ -538,7 +538,7 @@
538
538
  </fo:block-container>
539
539
  <fo:block-container font-family="Arial">
540
540
  <xsl:variable name="annexid" select="normalize-space(/itu:itu-standard/itu:bibdata/itu:ext/itu:structuredidentifier/itu:annexid)"/>
541
- <fo:table width="100%" table-layout="fixed"> <!-- 175.4mm-->
541
+ <fo:table width="100%" table-layout="fixed" id="__internal_layout__coverpage_{generate-id()}"> <!-- 175.4mm-->
542
542
  <fo:table-column column-width="25.2mm"/>
543
543
  <fo:table-column column-width="44.4mm"/>
544
544
  <fo:table-column column-width="35.8mm"/>
@@ -2467,6 +2467,14 @@
2467
2467
 
2468
2468
  </xsl:attribute-set>
2469
2469
 
2470
+ <xsl:attribute-set name="pre-style">
2471
+ <xsl:attribute name="font-family">Courier New, <xsl:value-of select="$font_noto_sans_mono"/></xsl:attribute>
2472
+ <xsl:attribute name="margin-bottom">6pt</xsl:attribute>
2473
+
2474
+ <xsl:attribute name="margin-top">6pt</xsl:attribute>
2475
+
2476
+ </xsl:attribute-set>
2477
+
2470
2478
  <xsl:attribute-set name="permission-style">
2471
2479
 
2472
2480
  </xsl:attribute-set>
@@ -2570,6 +2578,11 @@
2570
2578
  </xsl:variable>
2571
2579
  <xsl:variable name="table-border" select="normalize-space($table-border_)"/>
2572
2580
 
2581
+ <xsl:variable name="table-cell-border_">
2582
+
2583
+ </xsl:variable>
2584
+ <xsl:variable name="table-cell-border" select="normalize-space($table-cell-border_)"/>
2585
+
2573
2586
  <xsl:attribute-set name="table-container-style">
2574
2587
  <xsl:attribute name="margin-left">0mm</xsl:attribute>
2575
2588
  <xsl:attribute name="margin-right">0mm</xsl:attribute>
@@ -2582,8 +2595,6 @@
2582
2595
  <xsl:attribute-set name="table-style">
2583
2596
  <xsl:attribute name="table-omit-footer-at-break">true</xsl:attribute>
2584
2597
  <xsl:attribute name="table-layout">fixed</xsl:attribute>
2585
- <xsl:attribute name="margin-left">0mm</xsl:attribute>
2586
- <xsl:attribute name="margin-right">0mm</xsl:attribute>
2587
2598
 
2588
2599
  </xsl:attribute-set><!-- table-style -->
2589
2600
 
@@ -3698,6 +3709,12 @@
3698
3709
  <xsl:variable name="table_attributes">
3699
3710
 
3700
3711
  <xsl:element name="table_attributes" use-attribute-sets="table-style">
3712
+
3713
+ <xsl:if test="$margin-side != 0">
3714
+ <xsl:attribute name="margin-left">0mm</xsl:attribute>
3715
+ <xsl:attribute name="margin-right">0mm</xsl:attribute>
3716
+ </xsl:if>
3717
+
3701
3718
  <xsl:attribute name="width"><xsl:value-of select="normalize-space($table_width)"/></xsl:attribute>
3702
3719
 
3703
3720
  <xsl:if test="$doctype = 'service-publication'">
@@ -4481,6 +4498,10 @@
4481
4498
  <xsl:template match="*[local-name()='tr']">
4482
4499
  <fo:table-row xsl:use-attribute-sets="table-body-row-style">
4483
4500
 
4501
+ <xsl:if test="*[local-name() = 'th']">
4502
+ <xsl:attribute name="keep-with-next">always</xsl:attribute>
4503
+ </xsl:if>
4504
+
4484
4505
  <xsl:call-template name="setTableRowAttributes"/>
4485
4506
  <xsl:apply-templates/>
4486
4507
  </fo:table-row>
@@ -6492,6 +6513,9 @@
6492
6513
  <xsl:value-of select="substring($str, 2)"/>
6493
6514
  </xsl:template>
6494
6515
 
6516
+ <!-- ======================================= -->
6517
+ <!-- math -->
6518
+ <!-- ======================================= -->
6495
6519
  <xsl:template match="mathml:math">
6496
6520
  <xsl:variable name="isAdded" select="@added"/>
6497
6521
  <xsl:variable name="isDeleted" select="@deleted"/>
@@ -6542,14 +6566,57 @@
6542
6566
  <xsl:value-of select="$comment_text"/>
6543
6567
  </xsl:template>
6544
6568
 
6569
+ <xsl:template match="*[local-name() = 'asciimath']">
6570
+ <xsl:param name="process" select="'false'"/>
6571
+ <xsl:if test="$process = 'true'">
6572
+ <xsl:apply-templates/>
6573
+ </xsl:if>
6574
+ </xsl:template>
6575
+
6576
+ <xsl:template match="*[local-name() = 'latexmath']"/>
6577
+
6578
+ <xsl:template name="getMathml_asciimath_text">
6579
+ <xsl:variable name="asciimath" select="../*[local-name() = 'asciimath']"/>
6580
+ <xsl:variable name="latexmath">
6581
+
6582
+ </xsl:variable>
6583
+ <xsl:variable name="asciimath_text_following">
6584
+ <xsl:choose>
6585
+ <xsl:when test="normalize-space($latexmath) != ''">
6586
+ <xsl:value-of select="$latexmath"/>
6587
+ </xsl:when>
6588
+ <xsl:when test="normalize-space($asciimath) != ''">
6589
+ <xsl:value-of select="$asciimath"/>
6590
+ </xsl:when>
6591
+ <xsl:otherwise>
6592
+ <xsl:value-of select="following-sibling::node()[1][self::comment()]"/>
6593
+ </xsl:otherwise>
6594
+ </xsl:choose>
6595
+ </xsl:variable>
6596
+ <xsl:variable name="asciimath_text_">
6597
+ <xsl:choose>
6598
+ <xsl:when test="normalize-space($asciimath_text_following) != ''">
6599
+ <xsl:value-of select="$asciimath_text_following"/>
6600
+ </xsl:when>
6601
+ <xsl:otherwise>
6602
+ <xsl:value-of select="normalize-space(translate(.,' ⁢',' '))"/>
6603
+ </xsl:otherwise>
6604
+ </xsl:choose>
6605
+ </xsl:variable>
6606
+ <xsl:variable name="asciimath_text_2" select="java:org.metanorma.fop.Util.unescape($asciimath_text_)"/>
6607
+ <xsl:variable name="asciimath_text" select="java:trim(java:java.lang.String.new($asciimath_text_2))"/>
6608
+ <xsl:value-of select="$asciimath_text"/>
6609
+ </xsl:template>
6610
+
6545
6611
  <xsl:template name="mathml_instream_object">
6546
- <xsl:param name="comment_text"/>
6612
+ <xsl:param name="asciimath_text"/>
6547
6613
  <xsl:param name="mathml_content"/>
6548
6614
 
6549
- <xsl:variable name="comment_text_">
6615
+ <xsl:variable name="asciimath_text_">
6550
6616
  <xsl:choose>
6551
- <xsl:when test="normalize-space($comment_text) != ''"><xsl:value-of select="$comment_text"/></xsl:when>
6552
- <xsl:otherwise><xsl:call-template name="getMathml_comment_text"/></xsl:otherwise>
6617
+ <xsl:when test="normalize-space($asciimath_text) != ''"><xsl:value-of select="$asciimath_text"/></xsl:when>
6618
+ <!-- <xsl:otherwise><xsl:call-template name="getMathml_comment_text"/></xsl:otherwise> -->
6619
+ <xsl:otherwise><xsl:call-template name="getMathml_asciimath_text"/></xsl:otherwise>
6553
6620
  </xsl:choose>
6554
6621
  </xsl:variable>
6555
6622
 
@@ -6566,10 +6633,10 @@
6566
6633
  </xsl:attribute>
6567
6634
 
6568
6635
  <!-- <xsl:if test="$add_math_as_text = 'true'"> -->
6569
- <xsl:if test="normalize-space($comment_text_) != ''">
6636
+ <xsl:if test="normalize-space($asciimath_text_) != ''">
6570
6637
  <!-- put Mathin Alternate Text -->
6571
6638
  <xsl:attribute name="fox:alt-text">
6572
- <xsl:value-of select="$comment_text_"/>
6639
+ <xsl:value-of select="$asciimath_text_"/>
6573
6640
  </xsl:attribute>
6574
6641
  </xsl:if>
6575
6642
  <!-- </xsl:if> -->
@@ -6642,6 +6709,29 @@
6642
6709
  <xsl:value-of select="."/><xsl:value-of select="$zero_width_space"/>
6643
6710
  </xsl:template>
6644
6711
 
6712
+ <!-- Examples:
6713
+ <stem type="AsciiMath">x = 1</stem>
6714
+ <stem type="AsciiMath"><asciimath>x = 1</asciimath></stem>
6715
+ <stem type="AsciiMath"><asciimath>x = 1</asciimath><latexmath>x = 1</latexmath></stem>
6716
+ -->
6717
+ <xsl:template match="*[local-name() = 'stem'][@type = 'AsciiMath'][count(*) = 0]/text() | *[local-name() = 'stem'][@type = 'AsciiMath'][*[local-name() = 'asciimath']]" priority="3">
6718
+ <fo:inline xsl:use-attribute-sets="mathml-style">
6719
+
6720
+ <xsl:choose>
6721
+ <xsl:when test="self::text()"><xsl:value-of select="."/></xsl:when>
6722
+ <xsl:otherwise>
6723
+ <xsl:apply-templates>
6724
+ <xsl:with-param name="process">true</xsl:with-param>
6725
+ </xsl:apply-templates>
6726
+ </xsl:otherwise>
6727
+ </xsl:choose>
6728
+
6729
+ </fo:inline>
6730
+ </xsl:template>
6731
+ <!-- ======================================= -->
6732
+ <!-- END: math -->
6733
+ <!-- ======================================= -->
6734
+
6645
6735
  <xsl:template match="*[local-name()='localityStack']"/>
6646
6736
 
6647
6737
  <xsl:template match="*[local-name()='link']" name="link">
@@ -7986,9 +8076,9 @@
7986
8076
  <xsl:apply-templates mode="contents_item"/>
7987
8077
  </xsl:template>
7988
8078
 
7989
- <!-- ====== -->
7990
- <!-- sourcecode -->
7991
- <!-- ====== -->
8079
+ <!-- =============== -->
8080
+ <!-- sourcecode -->
8081
+ <!-- =============== -->
7992
8082
  <xsl:template match="*[local-name()='sourcecode']" name="sourcecode">
7993
8083
 
7994
8084
  <fo:block-container xsl:use-attribute-sets="sourcecode-container-style">
@@ -8287,8 +8377,22 @@
8287
8377
  </fo:block>
8288
8378
  </xsl:if>
8289
8379
  </xsl:template>
8290
- <!-- ====== -->
8291
- <!-- ====== -->
8380
+ <!-- =============== -->
8381
+ <!-- END sourcecode -->
8382
+ <!-- =============== -->
8383
+
8384
+ <!-- =============== -->
8385
+ <!-- pre -->
8386
+ <!-- =============== -->
8387
+ <xsl:template match="*[local-name()='pre']" name="pre">
8388
+ <fo:block xsl:use-attribute-sets="pre-style">
8389
+ <xsl:copy-of select="@id"/>
8390
+ <xsl:apply-templates/>
8391
+ </fo:block>
8392
+ </xsl:template>
8393
+ <!-- =============== -->
8394
+ <!-- pre -->
8395
+ <!-- =============== -->
8292
8396
 
8293
8397
  <!-- ========== -->
8294
8398
  <!-- permission -->
@@ -9786,7 +9890,7 @@
9786
9890
  <fo:table-column column-width="80%"/>
9787
9891
  <fo:table-body>
9788
9892
  <fo:table-row>
9789
- <fo:table-cell><fo:block><xsl:copy-of select="$bibitem_label"/></fo:block></fo:table-cell>
9893
+ <fo:table-cell><fo:block><xsl:value-of select="$bibitem_label"/></fo:block></fo:table-cell>
9790
9894
  <fo:table-cell><fo:block><xsl:copy-of select="$bibitem_body"/></fo:block></fo:table-cell>
9791
9895
  </fo:table-row>
9792
9896
  </fo:table-body>
@@ -9803,7 +9907,7 @@
9803
9907
  <fo:list-item>
9804
9908
  <fo:list-item-label end-indent="label-end()">
9805
9909
  <fo:block>
9806
- <xsl:copy-of select="$bibitem_label"/>
9910
+ <xsl:value-of select="$bibitem_label"/>
9807
9911
  </fo:block>
9808
9912
  </fo:list-item-label>
9809
9913
  <fo:list-item-body start-indent="body-start()">
@@ -10876,13 +10980,14 @@
10876
10980
  </xsl:template>
10877
10981
 
10878
10982
  <xsl:template name="setId">
10983
+ <xsl:param name="prefix"/>
10879
10984
  <xsl:attribute name="id">
10880
10985
  <xsl:choose>
10881
10986
  <xsl:when test="@id">
10882
- <xsl:value-of select="@id"/>
10987
+ <xsl:value-of select="concat($prefix, @id)"/>
10883
10988
  </xsl:when>
10884
10989
  <xsl:otherwise>
10885
- <xsl:value-of select="generate-id()"/>
10990
+ <xsl:value-of select="concat($prefix, generate-id())"/>
10886
10991
  </xsl:otherwise>
10887
10992
  </xsl:choose>
10888
10993
  </xsl:attribute>
@@ -188,6 +188,11 @@
188
188
  <value>adapter</value>
189
189
  <value>translator</value>
190
190
  <value>distributor</value>
191
+ <value>realizer</value>
192
+ <value>owner</value>
193
+ <value>authorizer</value>
194
+ <value>enabler</value>
195
+ <value>subject</value>
191
196
  </choice>
192
197
  </attribute>
193
198
  <zeroOrMore>
@@ -177,11 +177,7 @@
177
177
  </optional>
178
178
  <optional>
179
179
  <attribute name="style">
180
- <choice>
181
- <value>basic</value>
182
- <value>full</value>
183
- <value>short</value>
184
- </choice>
180
+ <ref name="XrefStyleType"/>
185
181
  </attribute>
186
182
  </optional>
187
183
  <ref name="XrefBody"/>
@@ -1031,6 +1027,7 @@
1031
1027
  <ref name="stem"/>
1032
1028
  <ref name="index"/>
1033
1029
  <ref name="eref"/>
1030
+ <ref name="erefstack"/>
1034
1031
  <ref name="xref"/>
1035
1032
  <ref name="hyperlink"/>
1036
1033
  </choice>
@@ -1045,6 +1042,7 @@
1045
1042
  <ref name="stem"/>
1046
1043
  <ref name="index"/>
1047
1044
  <ref name="eref"/>
1045
+ <ref name="erefstack"/>
1048
1046
  <ref name="xref"/>
1049
1047
  <ref name="hyperlink"/>
1050
1048
  </choice>
@@ -1058,6 +1056,7 @@
1058
1056
  <ref name="PureTextElement"/>
1059
1057
  <ref name="index"/>
1060
1058
  <ref name="eref"/>
1059
+ <ref name="erefstack"/>
1061
1060
  <ref name="xref"/>
1062
1061
  <ref name="hyperlink"/>
1063
1062
  </choice>
@@ -1195,6 +1194,7 @@
1195
1194
  <ref name="add"/>
1196
1195
  <ref name="del"/>
1197
1196
  <ref name="span"/>
1197
+ <ref name="erefstack"/>
1198
1198
  </choice>
1199
1199
  </define>
1200
1200
  <define name="add">
@@ -1202,6 +1202,7 @@
1202
1202
  <choice>
1203
1203
  <ref name="PureTextElement"/>
1204
1204
  <ref name="eref"/>
1205
+ <ref name="erefstack"/>
1205
1206
  <ref name="stem"/>
1206
1207
  <ref name="keyword"/>
1207
1208
  <ref name="xref"/>
@@ -1214,6 +1215,7 @@
1214
1215
  <choice>
1215
1216
  <ref name="PureTextElement"/>
1216
1217
  <ref name="eref"/>
1218
+ <ref name="erefstack"/>
1217
1219
  <ref name="stem"/>
1218
1220
  <ref name="keyword"/>
1219
1221
  <ref name="xref"/>
@@ -1278,6 +1280,7 @@
1278
1280
  </optional>
1279
1281
  <choice>
1280
1282
  <ref name="eref"/>
1283
+ <ref name="erefstack"/>
1281
1284
  <ref name="xref"/>
1282
1285
  <ref name="termref"/>
1283
1286
  </choice>
@@ -1970,6 +1973,7 @@
1970
1973
  </element>
1971
1974
  <choice>
1972
1975
  <ref name="eref"/>
1976
+ <ref name="erefstack"/>
1973
1977
  <ref name="xref"/>
1974
1978
  <ref name="termref"/>
1975
1979
  </choice>
@@ -2525,6 +2529,7 @@
2525
2529
  <ref name="xref"/>
2526
2530
  <ref name="hyperlink"/>
2527
2531
  <ref name="eref"/>
2532
+ <ref name="erefstack"/>
2528
2533
  </choice>
2529
2534
  <oneOrMore>
2530
2535
  <element name="coords">
@@ -2572,6 +2577,7 @@
2572
2577
  <ref name="xref"/>
2573
2578
  <ref name="hyperlink"/>
2574
2579
  <ref name="eref"/>
2580
+ <ref name="erefstack"/>
2575
2581
  </choice>
2576
2582
  </element>
2577
2583
  </zeroOrMore>
@@ -2620,6 +2626,15 @@
2620
2626
  <ref name="PureTextElement"/>
2621
2627
  </oneOrMore>
2622
2628
  </define>
2629
+ <define name="XrefConnectiveType">
2630
+ <choice>
2631
+ <value>and</value>
2632
+ <value>or</value>
2633
+ <value>from</value>
2634
+ <value>to</value>
2635
+ <value/>
2636
+ </choice>
2637
+ </define>
2623
2638
  <define name="XrefTarget">
2624
2639
  <element name="location">
2625
2640
  <attribute name="target">
@@ -2628,16 +2643,35 @@
2628
2643
  </data>
2629
2644
  </attribute>
2630
2645
  <attribute name="connective">
2631
- <choice>
2632
- <value>and</value>
2633
- <value>or</value>
2634
- <value>from</value>
2635
- <value>to</value>
2636
- <value/>
2637
- </choice>
2646
+ <ref name="XrefConnectiveType"/>
2638
2647
  </attribute>
2639
2648
  </element>
2640
2649
  </define>
2650
+ <define name="XrefStyleType">
2651
+ <choice>
2652
+ <value>basic</value>
2653
+ <value>full</value>
2654
+ <value>short</value>
2655
+ <value>id</value>
2656
+ </choice>
2657
+ </define>
2658
+ <define name="erefTypeWithConnective">
2659
+ <optional>
2660
+ <attribute name="connective">
2661
+ <ref name="XrefConnectiveType"/>
2662
+ </attribute>
2663
+ </optional>
2664
+ <ref name="erefType"/>
2665
+ </define>
2666
+ <define name="erefstack">
2667
+ <element name="erefstack">
2668
+ <oneOrMore>
2669
+ <element name="eref">
2670
+ <ref name="erefTypeWithConnective"/>
2671
+ </element>
2672
+ </oneOrMore>
2673
+ </element>
2674
+ </define>
2641
2675
  <start>
2642
2676
  <ref name="standard-document"/>
2643
2677
  </start>
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module ITU
3
- VERSION = "2.1.11".freeze
3
+ VERSION = "2.1.12".freeze
4
4
  end
5
5
  end
@@ -17,12 +17,13 @@ Gem::Specification.new do |spec|
17
17
  spec.license = "BSD-2-Clause"
18
18
 
19
19
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
20
- f.match(%r{^(test|spec|features)/})
20
+ f.match(%r{^(test|spec|features|bin|.github)/}) \
21
+ || f.match(%r{Rakefile|bin/rspec})
21
22
  end
22
23
  spec.bindir = "exe"
23
24
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
24
25
  spec.require_paths = ["lib"]
25
- spec.required_ruby_version = Gem::Requirement.new(">= 2.5.0")
26
+ spec.required_ruby_version = Gem::Requirement.new(">= 2.7.0")
26
27
 
27
28
  spec.add_dependency "htmlentities", "~> 4.3.4"
28
29
  spec.add_dependency "metanorma-standoc", "~> 2.2.4"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-itu
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.11
4
+ version: 2.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-10-24 00:00:00.000000000 Z
11
+ date: 2022-11-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: htmlentities
@@ -257,9 +257,6 @@ executables: []
257
257
  extensions: []
258
258
  extra_rdoc_files: []
259
259
  files:
260
- - ".github/workflows/automerge.yml"
261
- - ".github/workflows/rake.yml"
262
- - ".github/workflows/release.yml"
263
260
  - ".gitignore"
264
261
  - ".hound.yml"
265
262
  - ".rubocop.yml"
@@ -267,10 +264,6 @@ files:
267
264
  - Gemfile
268
265
  - LICENSE
269
266
  - README.adoc
270
- - Rakefile
271
- - bin/console
272
- - bin/rspec
273
- - bin/setup
274
267
  - lib/isodoc/itu.rb
275
268
  - lib/isodoc/itu/base_convert.rb
276
269
  - lib/isodoc/itu/cleanup.rb
@@ -354,14 +347,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
354
347
  requirements:
355
348
  - - ">="
356
349
  - !ruby/object:Gem::Version
357
- version: 2.5.0
350
+ version: 2.7.0
358
351
  required_rubygems_version: !ruby/object:Gem::Requirement
359
352
  requirements:
360
353
  - - ">="
361
354
  - !ruby/object:Gem::Version
362
355
  version: '0'
363
356
  requirements: []
364
- rubygems_version: 3.1.6
357
+ rubygems_version: 3.3.7
365
358
  signing_key:
366
359
  specification_version: 4
367
360
  summary: Metanorma for the ITU
@@ -1,31 +0,0 @@
1
- # Auto-generated by Cimas: Do not edit it manually!
2
- # See https://github.com/metanorma/cimas
3
- # source: https://github.com/marketplace/actions/merge-pull-requests#usage
4
- name: automerge
5
- on:
6
- pull_request:
7
- types:
8
- - labeled
9
- - unlabeled
10
- - synchronize
11
- - opened
12
- - edited
13
- - ready_for_review
14
- - reopened
15
- - unlocked
16
- pull_request_review:
17
- types:
18
- - submitted
19
- check_suite:
20
- types:
21
- - completed
22
- status: {}
23
- jobs:
24
- automerge:
25
- runs-on: ubuntu-latest
26
- steps:
27
- - id: automerge
28
- name: automerge
29
- uses: "pascalgn/automerge-action@v0.15.3"
30
- env:
31
- GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
@@ -1,15 +0,0 @@
1
- # Auto-generated by Cimas: Do not edit it manually!
2
- # See https://github.com/metanorma/cimas
3
- name: rake
4
-
5
- on:
6
- push:
7
- branches: [ master, main ]
8
- tags: [ v* ]
9
- pull_request:
10
-
11
- jobs:
12
- notify:
13
- uses: metanorma/ci/.github/workflows/mn-processor-rake.yml@main
14
- secrets:
15
- pat_token: ${{ secrets.METANORMA_CI_PAT_TOKEN }}
@@ -1,24 +0,0 @@
1
- # Auto-generated by Cimas: Do not edit it manually!
2
- # See https://github.com/metanorma/cimas
3
- name: release
4
-
5
- on:
6
- workflow_dispatch:
7
- inputs:
8
- next_version:
9
- description: |
10
- Next release version. Possible values: x.y.z, major, minor, patch or pre|rc|etc
11
- required: true
12
- default: 'skip'
13
- push:
14
- tags: [ v* ]
15
-
16
- jobs:
17
- release:
18
- uses: metanorma/ci/.github/workflows/rubygems-release.yml@main
19
- with:
20
- next_version: ${{ github.event.inputs.next_version }}
21
- secrets:
22
- rubygems-api-key: ${{ secrets.METANORMA_CI_RUBYGEMS_API_KEY }}
23
- pat_token: ${{ secrets.METANORMA_CI_PAT_TOKEN }}
24
-
data/Rakefile DELETED
@@ -1,8 +0,0 @@
1
- require "bundler/gem_tasks"
2
- require "rspec/core/rake_task"
3
- require "isodoc/gem_tasks"
4
-
5
- IsoDoc::GemTasks.install
6
- RSpec::Core::RakeTask.new(:spec)
7
-
8
- task default: :spec
data/bin/console DELETED
@@ -1,14 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require "bundler/setup"
4
- require "metanorma/itu"
5
-
6
- # You can add fixtures and/or initialization code here to make experimenting
7
- # with your gem easier. You can also use a different console, if you like.
8
-
9
- # (If you use this, don't forget to add pry to your Gemfile!)
10
- # require "pry"
11
- # Pry.start
12
-
13
- require "irb"
14
- IRB.start(__FILE__)
data/bin/rspec DELETED
@@ -1,17 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- # This file was generated by Bundler.
4
- #
5
- # The application 'rspec' is installed as part of a gem, and
6
- # this file is here to facilitate running it.
7
- #
8
-
9
- require "pathname"
10
- ENV["BUNDLE_GEMFILE"] ||= File.expand_path(
11
- "../../Gemfile", Pathname.new(__FILE__).realpath
12
- )
13
-
14
- require "rubygems"
15
- require "bundler/setup"
16
-
17
- load Gem.bin_path("rspec-core", "rspec")
data/bin/setup DELETED
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
- set -vx
5
-
6
- bundle install
7
-
8
- # Do any other automated setup that you need to do here