metanorma-generic 2.2.3 → 2.2.5

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: 6819c1980c2e5bbe996be858acfd849ed3a418cf3979bb738cf498616718c74f
4
- data.tar.gz: 8f2d6e8b5b3a201a10d885fa4278eba17620763c3b6e0141f9997b7024b8ed26
3
+ metadata.gz: fbce166fafcaf89a0035517529d34b5c5e4d8788cbcdf49d2c1f504732caf42f
4
+ data.tar.gz: 832bb3bfdb95e608d0c7b0e64f1b536803ec278a5bd9aded93a4b7eb0ae0aeec
5
5
  SHA512:
6
- metadata.gz: 38cbc49619136da5fb74eb9316cd0ff649210e785efd6deab3c8fde147dcf2cd259ba8ace98890aa2fe7ad776f0837cd210b818743ebebdd4793b0362c3f395e
7
- data.tar.gz: fa946993f35f7d43b67e3aa76aa74e874b37392039c92fc1f1a710976a4ea99564f0bb4bcb4090842e7a0c8b647b3f6bc13ed3c28c699dcc00ca1c12aa87724a
6
+ metadata.gz: 5412b613208a44150f8555ef094d8514effe93870fcf8554c5ed4187f984094437dae20390fbeb86b07252897944aa6184c196b71d4abe4f951795c5c3e70c97
7
+ data.tar.gz: 32b9857423366b31fb11a3052f3f0ba5a9765f6d81487498ba87df30068be81810cf322aeb4bc6dd15326e912ebcf799f05281620c558277bb1f33ac45634ba7
@@ -568,6 +568,7 @@ p.MsoToc1, li.MsoToc1, div.MsoToc1
568
568
  {mso-style-priority:39;
569
569
  mso-style-unhide:no;
570
570
  mso-style-next:Normal;
571
+ mso-style-name:"TOC 1";
571
572
  margin-top:6.0pt;
572
573
  margin-right:25.0pt;
573
574
  margin-bottom:0cm;
@@ -589,6 +590,7 @@ p.MsoToc2, li.MsoToc2, div.MsoToc2
589
590
  {mso-style-noshow:yes;
590
591
  mso-style-priority:39;
591
592
  mso-style-unhide:no;
593
+ mso-style-name:"TOC 2";
592
594
  mso-style-parent:"TOC 1";
593
595
  mso-style-next:Normal;
594
596
  margin-top:0cm;
@@ -612,6 +614,7 @@ p.MsoToc3, li.MsoToc3, div.MsoToc3
612
614
  {mso-style-noshow:yes;
613
615
  mso-style-priority:39;
614
616
  mso-style-unhide:no;
617
+ mso-style-name:"TOC 3";
615
618
  mso-style-parent:"TOC 2";
616
619
  mso-style-next:Normal;
617
620
  margin-top:0cm;
@@ -631,6 +634,150 @@ p.MsoToc3, li.MsoToc3, div.MsoToc3
631
634
  mso-ansi-language:EN-GB;
632
635
  font-weight:bold;
633
636
  mso-bidi-font-weight:normal;}
637
+ p.MsoToc4, li.MsoToc4, div.MsoToc4
638
+ {mso-style-noshow:yes;
639
+ mso-style-priority:39;
640
+ mso-style-unhide:no;
641
+ mso-style-name:"TOC 4";
642
+ mso-style-parent:"TOC 3";
643
+ mso-style-next:Normal;
644
+ margin-top:0cm;
645
+ margin-right:25.0pt;
646
+ margin-bottom:0cm;
647
+ margin-left:36.0pt;
648
+ margin-bottom:.0001pt;
649
+ text-indent:-36.0pt;
650
+ line-height:12.0pt;
651
+ mso-pagination:widow-orphan;
652
+ mso-hyphenate:none;
653
+ tab-stops:20.15pt 47.9pt right dotted 487.6pt;
654
+ font-size:10.5pt;
655
+ font-family:$bodyfont;
656
+ mso-fareast-font-family:$bodyfont;
657
+ mso-bidi-font-family:$bodyfont;
658
+ mso-ansi-language:EN-GB;
659
+ font-weight:bold;
660
+ mso-bidi-font-weight:normal;}
661
+ p.MsoToc5, li.MsoToc5, div.MsoToc5
662
+ {mso-style-noshow:yes;
663
+ mso-style-priority:39;
664
+ mso-style-unhide:no;
665
+ mso-style-name:"TOC 5";
666
+ mso-style-parent:"TOC 4";
667
+ mso-style-next:Normal;
668
+ margin-top:0cm;
669
+ margin-right:25.0pt;
670
+ margin-bottom:0cm;
671
+ margin-left:36.0pt;
672
+ margin-bottom:.0001pt;
673
+ text-indent:-36.0pt;
674
+ line-height:12.0pt;
675
+ mso-pagination:widow-orphan;
676
+ mso-hyphenate:none;
677
+ tab-stops:20.15pt 47.9pt right dotted 487.6pt;
678
+ font-size:10.5pt;
679
+ font-family:$bodyfont;
680
+ mso-fareast-font-family:$bodyfont;
681
+ mso-bidi-font-family:$bodyfont;
682
+ mso-ansi-language:EN-GB;
683
+ font-weight:bold;
684
+ mso-bidi-font-weight:normal;}
685
+ p.MsoToc6, li.MsoToc6, div.MsoToc6
686
+ {mso-style-noshow:yes;
687
+ mso-style-priority:39;
688
+ mso-style-unhide:no;
689
+ mso-style-name:"TOC 6";
690
+ mso-style-parent:"TOC 5";
691
+ mso-style-next:Normal;
692
+ margin-top:0cm;
693
+ margin-right:25.0pt;
694
+ margin-bottom:0cm;
695
+ margin-left:36.0pt;
696
+ margin-bottom:.0001pt;
697
+ text-indent:-36.0pt;
698
+ line-height:12.0pt;
699
+ mso-pagination:widow-orphan;
700
+ mso-hyphenate:none;
701
+ tab-stops:20.15pt 55.0pt right dotted 487.6pt;
702
+ font-size:10.5pt;
703
+ font-family:$bodyfont;
704
+ mso-fareast-font-family:$bodyfont;
705
+ mso-bidi-font-family:$bodyfont;
706
+ mso-ansi-language:EN-GB;
707
+ font-weight:bold;
708
+ mso-bidi-font-weight:normal;}
709
+ p.MsoToc7, li.MsoToc7, div.MsoToc7
710
+ {mso-style-noshow:yes;
711
+ mso-style-priority:39;
712
+ mso-style-unhide:no;
713
+ mso-style-name:"TOC 7";
714
+ mso-style-parent:"TOC 6";
715
+ mso-style-next:Normal;
716
+ margin-top:0cm;
717
+ margin-right:25.0pt;
718
+ margin-bottom:0cm;
719
+ margin-left:36.0pt;
720
+ margin-bottom:.0001pt;
721
+ text-indent:-36.0pt;
722
+ line-height:12.0pt;
723
+ mso-pagination:widow-orphan;
724
+ mso-hyphenate:none;
725
+ tab-stops:20.15pt 62.7pt right dotted 487.6pt;
726
+ font-size:10.5pt;
727
+ font-family:$bodyfont;
728
+ mso-fareast-font-family:$bodyfont;
729
+ mso-bidi-font-family:$bodyfont;
730
+ mso-ansi-language:EN-GB;
731
+ font-weight:bold;
732
+ mso-bidi-font-weight:normal;}
733
+ p.MsoToc8, li.MsoToc8, div.MsoToc8
734
+ {mso-style-noshow:yes;
735
+ mso-style-priority:39;
736
+ mso-style-unhide:no;
737
+ mso-style-name:"TOC 8";
738
+ mso-style-parent:"TOC 7";
739
+ mso-style-next:Normal;
740
+ margin-top:0cm;
741
+ margin-right:25.0pt;
742
+ margin-bottom:0cm;
743
+ margin-left:36.0pt;
744
+ margin-bottom:.0001pt;
745
+ text-indent:-36.0pt;
746
+ line-height:12.0pt;
747
+ mso-pagination:widow-orphan;
748
+ mso-hyphenate:none;
749
+ tab-stops:20.15pt 70.3pt right dotted 487.6pt;
750
+ font-size:10.5pt;
751
+ font-family:$bodyfont;
752
+ mso-fareast-font-family:$bodyfont;
753
+ mso-bidi-font-family:$bodyfont;
754
+ mso-ansi-language:EN-GB;
755
+ font-weight:bold;
756
+ mso-bidi-font-weight:normal;}
757
+ p.MsoToc9, li.MsoToc9, div.MsoToc9
758
+ {mso-style-noshow:yes;
759
+ mso-style-priority:39;
760
+ mso-style-unhide:no;
761
+ mso-style-name:"TOC 9";
762
+ mso-style-parent:"TOC 8";
763
+ mso-style-next:Normal;
764
+ margin-top:0cm;
765
+ margin-right:25.0pt;
766
+ margin-bottom:0cm;
767
+ margin-left:36.0pt;
768
+ margin-bottom:.0001pt;
769
+ text-indent:-36.0pt;
770
+ line-height:12.0pt;
771
+ mso-pagination:widow-orphan;
772
+ mso-hyphenate:none;
773
+ tab-stops:20.15pt 78.0pt right dotted 487.6pt;
774
+ font-size:10.5pt;
775
+ font-family:$bodyfont;
776
+ mso-fareast-font-family:$bodyfont;
777
+ mso-bidi-font-family:$bodyfont;
778
+ mso-ansi-language:EN-GB;
779
+ font-weight:bold;
780
+ mso-bidi-font-weight:normal;}
634
781
  span.MsoFootnoteReference
635
782
  {mso-style-priority:99;
636
783
  vertical-align:super;}
@@ -0,0 +1,164 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <grammar xmlns="http://relaxng.org/ns/structure/1.0">
3
+ <!--
4
+ Add-ons to biblio.rnc for standoc model: defines the extension point BibDataExtensionType
5
+ of relaton
6
+
7
+ Specialisations as for biblio.rnc. Extension point can be redefined completely for a flavour of standoc
8
+ (SDO); but other elements in Bibdata can only be extended (more specialised vocabularies for Bibdata)
9
+ -->
10
+ <include href="biblio.rng">
11
+ <define name="BibData">
12
+ <ref name="BibliographicItem"/>
13
+ <optional>
14
+ <ref name="ext"/>
15
+ </optional>
16
+ </define>
17
+ </include>
18
+ <define name="ext">
19
+ <element name="ext">
20
+ <ref name="BibDataExtensionType"/>
21
+ </element>
22
+ </define>
23
+ <define name="BibDataExtensionType">
24
+ <optional>
25
+ <attribute name="schema-version"/>
26
+ </optional>
27
+ <ref name="doctype"/>
28
+ <optional>
29
+ <ref name="docsubtype"/>
30
+ </optional>
31
+ <optional>
32
+ <ref name="editorialgroup"/>
33
+ </optional>
34
+ <zeroOrMore>
35
+ <ref name="ics"/>
36
+ </zeroOrMore>
37
+ <zeroOrMore>
38
+ <ref name="structuredidentifier"/>
39
+ </zeroOrMore>
40
+ </define>
41
+ <define name="doctype">
42
+ <element name="doctype">
43
+ <optional>
44
+ <attribute name="abbreviation"/>
45
+ </optional>
46
+ <ref name="DocumentType"/>
47
+ </element>
48
+ </define>
49
+ <define name="DocumentType">
50
+ <value>document</value>
51
+ </define>
52
+ <define name="docsubtype">
53
+ <element name="subdoctype">
54
+ <ref name="DocumentSubtype"/>
55
+ </element>
56
+ </define>
57
+ <define name="DocumentSubtype">
58
+ <text/>
59
+ </define>
60
+ <define name="editorialgroup">
61
+ <element name="editorialgroup">
62
+ <oneOrMore>
63
+ <ref name="technical-committee"/>
64
+ </oneOrMore>
65
+ </element>
66
+ </define>
67
+ <define name="technical-committee">
68
+ <element name="technical-committee">
69
+ <ref name="IsoWorkgroup"/>
70
+ </element>
71
+ </define>
72
+ <define name="IsoWorkgroup">
73
+ <optional>
74
+ <attribute name="number"/>
75
+ </optional>
76
+ <optional>
77
+ <attribute name="type"/>
78
+ </optional>
79
+ <optional>
80
+ <attribute name="identifier"/>
81
+ </optional>
82
+ <optional>
83
+ <attribute name="prefix"/>
84
+ </optional>
85
+ <text/>
86
+ </define>
87
+ <define name="ics">
88
+ <element name="ics">
89
+ <element name="code">
90
+ <text/>
91
+ </element>
92
+ <optional>
93
+ <element name="text">
94
+ <text/>
95
+ </element>
96
+ </optional>
97
+ </element>
98
+ </define>
99
+ <define name="structuredidentifier">
100
+ <element name="structuredidentifier">
101
+ <optional>
102
+ <attribute name="type"/>
103
+ </optional>
104
+ <oneOrMore>
105
+ <element name="agency">
106
+ <text/>
107
+ </element>
108
+ </oneOrMore>
109
+ <optional>
110
+ <element name="class">
111
+ <text/>
112
+ </element>
113
+ </optional>
114
+ <element name="docnumber">
115
+ <text/>
116
+ </element>
117
+ <optional>
118
+ <element name="partnumber">
119
+ <text/>
120
+ </element>
121
+ </optional>
122
+ <optional>
123
+ <element name="edition">
124
+ <text/>
125
+ </element>
126
+ </optional>
127
+ <optional>
128
+ <element name="version">
129
+ <text/>
130
+ </element>
131
+ </optional>
132
+ <optional>
133
+ <element name="supplementtype">
134
+ <text/>
135
+ </element>
136
+ </optional>
137
+ <optional>
138
+ <element name="supplementnumber">
139
+ <text/>
140
+ </element>
141
+ </optional>
142
+ <optional>
143
+ <element name="amendment">
144
+ <text/>
145
+ </element>
146
+ </optional>
147
+ <optional>
148
+ <element name="corrigendum">
149
+ <text/>
150
+ </element>
151
+ </optional>
152
+ <optional>
153
+ <element name="language">
154
+ <text/>
155
+ </element>
156
+ </optional>
157
+ <optional>
158
+ <element name="year">
159
+ <text/>
160
+ </element>
161
+ </optional>
162
+ </element>
163
+ </define>
164
+ </grammar>
@@ -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>
@@ -1153,7 +1152,7 @@
1153
1152
  <data type="boolean"/>
1154
1153
  </attribute>
1155
1154
  </optional>
1156
- <ref name="BibliographicItem"/>
1155
+ <ref name="ReducedBibliographicItem"/>
1157
1156
  </element>
1158
1157
  </define>
1159
1158
  <define name="image" combine="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 Generic
3
- VERSION = "2.2.3".freeze
3
+ VERSION = "2.2.5".freeze
4
4
  end
5
5
  end
@@ -19,12 +19,13 @@ Gem::Specification.new do |spec|
19
19
  spec.license = "BSD-2-Clause"
20
20
 
21
21
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
22
- f.match(%r{^(test|spec|features)/})
22
+ f.match(%r{^(test|spec|features|bin|.github)/}) \
23
+ || f.match(%r{Rakefile|bin/rspec})
23
24
  end
24
25
  spec.bindir = "exe"
25
26
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
26
27
  spec.require_paths = ["lib"]
27
- spec.required_ruby_version = Gem::Requirement.new(">= 2.5.0")
28
+ spec.required_ruby_version = Gem::Requirement.new(">= 2.7.0")
28
29
 
29
30
  spec.add_dependency "htmlentities", "~> 4.3.4"
30
31
  spec.add_dependency "metanorma-standoc", "~> 2.2.4"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-generic
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.3
4
+ version: 2.2.5
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-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: htmlentities
@@ -202,9 +202,6 @@ executables: []
202
202
  extensions: []
203
203
  extra_rdoc_files: []
204
204
  files:
205
- - ".github/workflows/automerge.yml"
206
- - ".github/workflows/rake.yml"
207
- - ".github/workflows/release.yml"
208
205
  - ".gitignore"
209
206
  - ".hound.yml"
210
207
  - ".rubocop.yml"
@@ -212,10 +209,6 @@ files:
212
209
  - Gemfile
213
210
  - LICENSE
214
211
  - README.adoc
215
- - Rakefile
216
- - bin/console
217
- - bin/rspec
218
- - bin/setup
219
212
  - lib/asciidoctor/generic.rb
220
213
  - lib/asciidoctor/generic/converter.rb
221
214
  - lib/asciidoctor/generic/deprecated.rb
@@ -243,6 +236,7 @@ files:
243
236
  - lib/metanorma-generic.rb
244
237
  - lib/metanorma/generic.rb
245
238
  - lib/metanorma/generic/basicdoc.rng
239
+ - lib/metanorma/generic/biblio-standoc.rng
246
240
  - lib/metanorma/generic/biblio.rng
247
241
  - lib/metanorma/generic/converter.rb
248
242
  - lib/metanorma/generic/fonts_manifest.yaml
@@ -267,14 +261,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
267
261
  requirements:
268
262
  - - ">="
269
263
  - !ruby/object:Gem::Version
270
- version: 2.5.0
264
+ version: 2.7.0
271
265
  required_rubygems_version: !ruby/object:Gem::Requirement
272
266
  requirements:
273
267
  - - ">="
274
268
  - !ruby/object:Gem::Version
275
269
  version: '0'
276
270
  requirements: []
277
- rubygems_version: 3.1.6
271
+ rubygems_version: 3.3.7
278
272
  signing_key:
279
273
  specification_version: 4
280
274
  summary: Metanorma template gem for customisation.
@@ -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,6 +0,0 @@
1
- require "bundler/gem_tasks"
2
- require "rspec/core/rake_task"
3
-
4
- RSpec::Core::RakeTask.new(:spec)
5
-
6
- task :default => :spec
data/bin/console DELETED
@@ -1,14 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require "bundler/setup"
4
- require "metanorma/acme"
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