metanorma-cli 1.3.3 → 1.3.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (59) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/dependent_repos.env +3 -0
  3. data/.github/workflows/macos.yml +38 -0
  4. data/.github/workflows/ubuntu.yml +72 -0
  5. data/.github/workflows/windows.yml +40 -0
  6. data/.gitignore +21 -0
  7. data/.hound.yml +3 -0
  8. data/.rspec +2 -0
  9. data/.rubocop.yml +515 -0
  10. data/docs/installation.adoc +61 -0
  11. data/docs/navigation.adoc +7 -0
  12. data/docs/usage.adoc +74 -0
  13. data/lib/metanorma/cli/command.rb +25 -1
  14. data/lib/metanorma/cli/setup.rb +9 -30
  15. data/lib/metanorma/cli/version.rb +1 -1
  16. data/metanorma-cli.gemspec +24 -19
  17. data/templates/base/.github/workflows/docker.yml +74 -0
  18. data/templates/base/.github/workflows/macos.yml +50 -0
  19. data/templates/base/.github/workflows/ubuntu.yml +55 -0
  20. data/templates/base/.github/workflows/windows.yml +42 -0
  21. data/templates/base/.gitlab-ci.yml +34 -4
  22. data/templates/base/Makefile +111 -59
  23. data/templates/base/Makefile.win +136 -36
  24. data/templates/base/metanorma.yml +1 -1
  25. metadata +49 -83
  26. data/05-020r26.rxl +0 -75
  27. data/05-020r26.xml.zip +0 -0
  28. data/Gemfile.lock +0 -336
  29. data/a +0 -3
  30. data/a.json +0 -33
  31. data/a.rb +0 -13
  32. data/a.rxl +0 -45
  33. data/b +0 -85
  34. data/csd-tofix 2.zip +0 -0
  35. data/csd-tofix.zip +0 -0
  36. data/exe/metanorma.old +0 -178
  37. data/extract/sourcecode/sourcecode-0000.txt +0 -5
  38. data/files.zip +0 -0
  39. data/relaton/cache/version +0 -1
  40. data/rice.rxl +0 -51
  41. data/sourcecode/0 +0 -5
  42. data/templates/base/.travis.yml +0 -30
  43. data/templates/base/appveyor.yml +0 -29
  44. data/test.rxl +0 -52
  45. data/tmp/my-custom-csd/Gemfile +0 -4
  46. data/tmp/my-custom-csd/Makefile +0 -144
  47. data/tmp/my-custom-csd/Makefile.win +0 -116
  48. data/tmp/my-custom-csd/appveyor.yml +0 -29
  49. data/tmp/my-custom-csd/metanorma.yml +0 -4
  50. data/tmp/my-document/Gemfile +0 -4
  51. data/tmp/my-document/Makefile +0 -144
  52. data/tmp/my-document/Makefile.win +0 -116
  53. data/tmp/my-document/appveyor.yml +0 -29
  54. data/tmp/my-document/metanorma.yml +0 -4
  55. data/tmp/my-local-document/Gemfile +0 -4
  56. data/tmp/my-local-document/Makefile +0 -144
  57. data/tmp/my-local-document/Makefile.win +0 -116
  58. data/tmp/my-local-document/appveyor.yml +0 -29
  59. data/tmp/my-local-document/metanorma.yml +0 -4
Binary file
@@ -1,336 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- metanorma-cli (1.3.2)
5
- fontist (~> 1.0)
6
- git (~> 1.5)
7
- isodoc (~> 1.1.0)
8
- metanorma (~> 1.1.0)
9
- metanorma-cc (~> 1.4.0)
10
- metanorma-csa (~> 1.5.0)
11
- metanorma-gb (~> 1.4.0)
12
- metanorma-generic (~> 1.5.0)
13
- metanorma-iec (~> 1.1.0)
14
- metanorma-ietf (~> 2.1.0)
15
- metanorma-iho (~> 0.1.0)
16
- metanorma-iso (~> 1.4.0)
17
- metanorma-itu (~> 1.1.0)
18
- metanorma-m3aawg (~> 1.4.0)
19
- metanorma-nist (~> 1.1.0)
20
- metanorma-ogc (~> 1.1.0)
21
- metanorma-standoc (~> 1.4.0)
22
- metanorma-un (~> 0.4.0)
23
- relaton-cli (>= 0.8.2)
24
- thor (~> 1.0)
25
-
26
- GEM
27
- remote: https://rubygems.org/
28
- specs:
29
- addressable (2.7.0)
30
- public_suffix (>= 2.0.2, < 5.0)
31
- asciidoctor (2.0.10)
32
- asciimath (2.0.1)
33
- bibtex-ruby (5.1.4)
34
- latex-decode (~> 0.0)
35
- byebug (10.0.2)
36
- camertron-eprun (1.1.1)
37
- cldr-plurals-runtime-rb (1.0.1)
38
- cnccs (0.1.6)
39
- coderay (1.1.3)
40
- concurrent-ruby (1.1.6)
41
- diff-lcs (1.4.4)
42
- domain_name (0.5.20190701)
43
- unf (>= 0.0.5, < 1.0.0)
44
- down (5.1.1)
45
- addressable (~> 2.5)
46
- equivalent-xml (0.6.0)
47
- nokogiri (>= 1.4.3)
48
- faraday (1.0.1)
49
- multipart-post (>= 1.2, < 3)
50
- ffi (1.13.1)
51
- ffi-compiler2 (2.0.0)
52
- ffi (>= 1.0.0)
53
- rake
54
- fontist (1.1.0)
55
- down (~> 5.0)
56
- libmspack (~> 0.1.0)
57
- rubyzip (~> 2.3.0)
58
- gb-agencies (0.0.6)
59
- git (1.7.0)
60
- rchardet (~> 1.8)
61
- html2doc (1.0.3)
62
- asciimath (~> 2.0.0)
63
- htmlentities (~> 4.3.4)
64
- image_size
65
- mime-types
66
- nokogiri (>= 1.10.4)
67
- thread_safe
68
- uuidtools
69
- htmlentities (4.3.4)
70
- http-cookie (1.0.3)
71
- domain_name (~> 0.5)
72
- iev (0.2.3)
73
- nokogiri (>= 1.10.4)
74
- image_size (2.0.2)
75
- iso-639 (0.3.5)
76
- iso639 (1.3.2)
77
- isodoc (1.1.2)
78
- asciimath
79
- html2doc (~> 1.0.0)
80
- htmlentities (~> 4.3.4)
81
- liquid
82
- metanorma (~> 1.1.0)
83
- nokogiri (>= 1.10.4)
84
- rake (~> 12.0)
85
- roman-numerals
86
- thread_safe
87
- uuidtools
88
- isoics (0.1.8)
89
- latex-decode (0.3.1)
90
- libmspack (0.1.0)
91
- ffi
92
- ffi-compiler2 (>= 2.0.0)
93
- liquid (4.0.3)
94
- mathml2asciimath (0.0.10)
95
- htmlentities (~> 4.3.4)
96
- nokogiri (>= 1.10.4)
97
- metanorma (1.1.2)
98
- asciidoctor
99
- htmlentities
100
- mn2pdf (~> 1)
101
- nokogiri
102
- metanorma-cc (1.4.2)
103
- isodoc (~> 1.1.0)
104
- metanorma-standoc (~> 1.4.0)
105
- metanorma-csa (1.5.2)
106
- htmlentities (~> 4.3.4)
107
- image_size
108
- isodoc (~> 1.1.0)
109
- metanorma-standoc (~> 1.4.0)
110
- mime-types
111
- ruby-jing
112
- thread_safe
113
- uuidtools
114
- metanorma-gb (1.4.2)
115
- gb-agencies (~> 0.0.4)
116
- htmlentities (~> 4.3.4)
117
- isodoc (~> 1.1.0)
118
- metanorma-iso (~> 1.4.0)
119
- twitter_cldr (~> 4.4.4)
120
- metanorma-generic (1.5.1)
121
- htmlentities (~> 4.3.4)
122
- isodoc (~> 1.1.0)
123
- metanorma-standoc (~> 1.4.0)
124
- ruby-jing
125
- metanorma-iec (1.1.2)
126
- isodoc (~> 1.1.0)
127
- metanorma-iso (~> 1.4.0)
128
- ruby-jing
129
- metanorma-ietf (2.1.3)
130
- isodoc (~> 1.1.0)
131
- mathml2asciimath
132
- metanorma-standoc (~> 1.4.0)
133
- metanorma-iho (0.1.1)
134
- htmlentities (~> 4.3.4)
135
- isodoc (~> 1.1.0)
136
- metanorma-generic (~> 1.5.0)
137
- metanorma-standoc (~> 1.4.0)
138
- metanorma-iso (1.4.2)
139
- isodoc (~> 1.1.0)
140
- metanorma-standoc (~> 1.4.0)
141
- mn2sts (~> 1.2.0)
142
- ruby-jing
143
- tokenizer (~> 0.3.0)
144
- twitter_cldr
145
- metanorma-itu (1.1.2)
146
- htmlentities (~> 4.3.4)
147
- isodoc (~> 1.1.0)
148
- metanorma-standoc (~> 1.4.0)
149
- ruby-jing
150
- metanorma-m3aawg (1.4.2)
151
- htmlentities (~> 4.3.4)
152
- image_size
153
- metanorma-standoc (~> 1.4.0)
154
- mime-types
155
- ruby-jing
156
- thread_safe
157
- uuidtools
158
- metanorma-nist (1.1.2)
159
- htmlentities (~> 4.3.4)
160
- iso-639
161
- isodoc (~> 1.1.0)
162
- metanorma-standoc (~> 1.4.0)
163
- ruby-jing
164
- twitter_cldr
165
- tzinfo-data
166
- metanorma-ogc (1.1.2)
167
- htmlentities (~> 4.3.4)
168
- iso-639
169
- isodoc (~> 1.1.0)
170
- metanorma-standoc (~> 1.4.0)
171
- ruby-jing
172
- metanorma-standoc (1.4.4)
173
- asciidoctor (~> 2.0.0)
174
- concurrent-ruby
175
- iev (~> 0.2.1)
176
- isodoc (~> 1.1.0)
177
- mathml2asciimath
178
- mimemagic
179
- relaton (~> 1.2.0)
180
- relaton-iev (~> 1.0.0)
181
- ruby-jing
182
- sterile (~> 1.0.14)
183
- unicode2latex (~> 0.0.1)
184
- metanorma-un (0.4.2)
185
- htmlentities (~> 4.3.4)
186
- iso-639
187
- isodoc (~> 1.1.0)
188
- metanorma-standoc (~> 1.4.0)
189
- roman-numerals
190
- ruby-jing
191
- twitter_cldr
192
- method_source (1.0.0)
193
- mime-types (3.3.1)
194
- mime-types-data (~> 3.2015)
195
- mime-types-data (3.2020.0512)
196
- mimemagic (0.3.5)
197
- mini_portile2 (2.4.0)
198
- mixlib-shellout (2.4.4)
199
- mn2pdf (1.18)
200
- mn2sts (1.2.0)
201
- multipart-post (2.1.1)
202
- nokogiri (1.10.10)
203
- mini_portile2 (~> 2.4.0)
204
- optout (0.0.2)
205
- pry (0.13.1)
206
- coderay (~> 1.1)
207
- method_source (~> 1.0)
208
- public_suffix (4.0.5)
209
- rake (12.3.3)
210
- rchardet (1.8.0)
211
- relaton (1.2.0)
212
- relaton-calconnect (~> 1.2.0)
213
- relaton-gb (~> 1.2.0)
214
- relaton-iec (~> 1.2.0)
215
- relaton-ieee (~> 1.2.0)
216
- relaton-ietf (~> 1.2.0)
217
- relaton-iho (~> 1.2.0)
218
- relaton-iso (~> 1.2.0)
219
- relaton-itu (~> 1.2.0)
220
- relaton-nist (~> 1.2.0)
221
- relaton-ogc (~> 1.2.0)
222
- relaton-omg (~> 1.2.0)
223
- relaton-un (~> 1.2.0)
224
- relaton-w3c (~> 1.2.0)
225
- relaton-bib (1.2.4)
226
- addressable
227
- bibtex-ruby
228
- iso639
229
- nokogiri
230
- relaton-calconnect (1.2.0)
231
- faraday
232
- relaton-bib (~> 1.2.0)
233
- relaton-cli (1.2.0)
234
- liquid
235
- relaton (~> 1.2.0)
236
- thor
237
- relaton-gb (1.2.0)
238
- cnccs (~> 0.1.1)
239
- gb-agencies (~> 0.0.1)
240
- relaton-iso-bib (>= 1.2.0)
241
- relaton-iec (1.2.0)
242
- addressable
243
- relaton-iso-bib (~> 1.2.0)
244
- relaton-ieee (1.2.0)
245
- faraday (~> 1.0.0)
246
- relaton-bib (~> 1.2.0)
247
- relaton-ietf (1.2.1)
248
- relaton-bib (~> 1.2.0)
249
- relaton-iev (1.0.0)
250
- relaton (~> 1)
251
- relaton-iho (1.2.3)
252
- relaton-bib (~> 1.2.0)
253
- relaton-iso (1.2.0)
254
- relaton-iec (~> 1.2.0)
255
- relaton-iso-bib (~> 1.2.0)
256
- relaton-iso-bib (1.2.0)
257
- isoics (~> 0.1.6)
258
- relaton-bib (~> 1.2.0)
259
- relaton-itu (1.2.0)
260
- relaton-bib (~> 1.2.0)
261
- relaton-nist (1.2.2)
262
- relaton-bib (~> 1.2.0)
263
- rubyzip
264
- relaton-ogc (1.2.0)
265
- faraday (~> 1.0.0)
266
- relaton-iso-bib (~> 1.2.0)
267
- relaton-omg (1.2.0)
268
- relaton-bib (~> 1.2.0)
269
- relaton-un (1.2.1)
270
- faraday
271
- http-cookie
272
- relaton-bib (~> 1.2.0)
273
- unf_ext (>= 0.0.7.7)
274
- relaton-w3c (1.2.0)
275
- relaton-bib (>= 1.2.0)
276
- roman-numerals (0.3.0)
277
- rspec (3.9.0)
278
- rspec-core (~> 3.9.0)
279
- rspec-expectations (~> 3.9.0)
280
- rspec-mocks (~> 3.9.0)
281
- rspec-command (1.0.3)
282
- mixlib-shellout (~> 2.0)
283
- rspec (~> 3.2)
284
- rspec-its (~> 1.2)
285
- rspec-core (3.9.2)
286
- rspec-support (~> 3.9.3)
287
- rspec-expectations (3.9.2)
288
- diff-lcs (>= 1.2.0, < 2.0)
289
- rspec-support (~> 3.9.0)
290
- rspec-its (1.3.0)
291
- rspec-core (>= 3.0.0)
292
- rspec-expectations (>= 3.0.0)
293
- rspec-mocks (3.9.1)
294
- diff-lcs (>= 1.2.0, < 2.0)
295
- rspec-support (~> 3.9.0)
296
- rspec-support (3.9.3)
297
- ruby-jing (0.0.1)
298
- optout (>= 0.0.2)
299
- rubyzip (2.3.0)
300
- sassc (2.4.0)
301
- ffi (~> 1.9)
302
- sterile (1.0.17)
303
- nokogiri (>= 1.10.8)
304
- thor (1.0.1)
305
- thread_safe (0.3.6)
306
- tokenizer (0.3.0)
307
- twitter_cldr (4.4.5)
308
- camertron-eprun
309
- cldr-plurals-runtime-rb (~> 1.0)
310
- tzinfo
311
- tzinfo (2.0.2)
312
- concurrent-ruby (~> 1.0)
313
- tzinfo-data (1.2020.1)
314
- tzinfo (>= 1.0.0)
315
- unf (0.1.4)
316
- unf_ext
317
- unf_ext (0.0.7.7)
318
- unicode2latex (0.0.3)
319
- uuidtools (2.2.0)
320
-
321
- PLATFORMS
322
- ruby
323
-
324
- DEPENDENCIES
325
- byebug (~> 10.0)
326
- equivalent-xml (~> 0.6)
327
- metanorma-cli!
328
- pry
329
- rake (~> 12.0)
330
- rspec (~> 3.0)
331
- rspec-command (~> 1.0.3)
332
- rspec-core (~> 3.4)
333
- sassc (= 2.4.0)
334
-
335
- BUNDLED WITH
336
- 2.1.4
data/a DELETED
@@ -1,3 +0,0 @@
1
- git add lib/metanorma/cli/command.rb metanorma-cli.gemspec spec/acceptance/setup_spec.rb
2
-
3
-
data/a.json DELETED
@@ -1,33 +0,0 @@
1
- {
2
- "id": "<GUID>",
3
- "actor": {
4
- "name": "<Student Name>",
5
- "mbox": "<Student Email Address>",
6
- "objectType": "Person"
7
- },
8
- "verb": {
9
- "id": "http://adlnet.gov/expapi/verbs/completed",
10
- "display": {
11
- "en-US": "completed"
12
- }
13
- },
14
- "object": {
15
- "id": "<Activity URL>",
16
- "definition": {
17
- "name": {
18
- "en-US": "<Activity name>"
19
- },
20
- "description": {
21
- "en-US": "<Activity description>"
22
- },
23
- "type": "http://id.tincanapi.com/activitytype/resource"
24
- },
25
- "objectType": "Activity"
26
- },
27
- "result": {
28
- "completion": "<Boolean>",
29
- "duration": "<Cumulative ISO 8601 Duration>"
30
- },
31
- "timestamp": "<Start, ISO 8601 DATE>"
32
- }
33
-
data/a.rb DELETED
@@ -1,13 +0,0 @@
1
- def a
2
- validate or return nil
3
- puts "OK"
4
- end
5
-
6
- def validate
7
- unless false
8
- return nil
9
- end
10
- true
11
- end
12
-
13
- a
data/a.rxl DELETED
@@ -1,45 +0,0 @@
1
- <bibdata type="standard">
2
-
3
-
4
-
5
-
6
-
7
- <contributor>
8
- <role type="author"/>
9
- <organization>
10
- <name>International Organization for Standardization</name>
11
- <abbreviation>ISO</abbreviation>
12
- </organization>
13
- </contributor>
14
- <contributor>
15
- <role type="publisher"/>
16
- <organization>
17
- <name>International Organization for Standardization</name>
18
- <abbreviation>ISO</abbreviation>
19
- </organization>
20
- </contributor>
21
-
22
- <language>en</language>
23
- <script>Latn</script>
24
- <status>
25
- <stage>60</stage>
26
- <substage>60</substage>
27
- </status>
28
- <copyright>
29
- <from>2020</from>
30
- <owner>
31
- <organization>
32
- <name>International Organization for Standardization</name>
33
- <abbreviation>ISO</abbreviation>
34
- </organization>
35
- </owner>
36
- </copyright>
37
- <ext>
38
- <doctype>article</doctype>
39
- <editorialgroup>
40
- <technical-committee/>
41
- <subcommittee/>
42
- <workgroup/>
43
- </editorialgroup>
44
- </ext>
45
- </bibdata>
data/b DELETED
@@ -1,85 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <gb-standard xmlns="http://riboseinc.com/gbstandard">
3
- <bibdata type="standard">
4
- <title>
5
-
6
- </title>
7
- <title>
8
-
9
- </title>
10
- <docidentifier type="gb">T/AAA 123</docidentifier>
11
- <docidentifier type="gb-structured">
12
- <project-number>T/AAA 123</project-number>
13
- </docidentifier>
14
- <docnumber>123</docnumber>
15
- <contributor>
16
- <role type="author"/>
17
- <person>
18
- <name>
19
- <surname>Author</surname>
20
- </name>
21
- </person>
22
- </contributor>
23
- <contributor>
24
- <role type="author"/>
25
- <organization>
26
- <name>GB</name>
27
- </organization>
28
- </contributor>
29
- <contributor>
30
- <role type="publisher"/>
31
- <organization>
32
- <name>GB</name>
33
- </organization>
34
- </contributor>
35
- <contributor>
36
- <role type="authority"/>
37
- <organization>
38
- <name>GB</name>
39
- </organization>
40
- </contributor>
41
- <contributor>
42
- <role type="proposer"/>
43
- <organization>
44
- <name>GB</name>
45
- </organization>
46
- </contributor>
47
- <contributor>
48
- <role type="issuer"/>
49
- <organization>
50
- <name>GB</name>
51
- </organization>
52
- </contributor>
53
-
54
- <language>en</language>
55
- <script>Latn</script>
56
- <status>
57
- <stage>60</stage>
58
- <substage>60</substage>
59
- </status>
60
- <copyright>
61
- <from>2019</from>
62
- <owner>
63
- <organization>
64
- <name>GB</name>
65
- </organization>
66
- </owner>
67
- </copyright>
68
- <relation type="nonequivalent">
69
- <bibitem>
70
- <title> Televisual Frequencies</title>
71
- <docidentifier>ISO 1012</docidentifier>
72
- </bibitem>
73
- </relation>
74
- <ext>
75
- <doctype>recommendation</doctype>
76
- <gbtype>
77
- <gbscope>social-group</gbscope>
78
- <gbprefix>AAA</gbprefix>
79
- <gbmandate>recommendation</gbmandate>
80
- <gbtopic>basic</gbtopic>
81
- </gbtype>
82
- </ext>
83
- </bibdata>
84
- <sections/>
85
- </gb-standard