metanorma-cli 1.3.1 → 1.3.5

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 (50) 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/README.adoc +31 -0
  11. data/docs/installation.adoc +61 -0
  12. data/docs/navigation.adoc +7 -0
  13. data/docs/usage.adoc +74 -0
  14. data/lib/metanorma/cli/command.rb +10 -1
  15. data/lib/metanorma/cli/setup.rb +14 -9
  16. data/lib/metanorma/cli/version.rb +1 -1
  17. data/metanorma-cli.gemspec +25 -19
  18. metadata +47 -69
  19. data/05-020r26.rxl +0 -75
  20. data/05-020r26.xml.zip +0 -0
  21. data/Gemfile.lock +0 -337
  22. data/a +0 -5
  23. data/a.json +0 -33
  24. data/a.rb +0 -13
  25. data/a.rxl +0 -45
  26. data/b +0 -85
  27. data/csd-tofix 2.zip +0 -0
  28. data/csd-tofix.zip +0 -0
  29. data/exe/metanorma.old +0 -178
  30. data/extract/sourcecode/sourcecode-0000.txt +0 -5
  31. data/files.zip +0 -0
  32. data/relaton/cache/version +0 -1
  33. data/rice.rxl +0 -51
  34. data/sourcecode/0 +0 -5
  35. data/test.rxl +0 -52
  36. data/tmp/my-custom-csd/Gemfile +0 -4
  37. data/tmp/my-custom-csd/Makefile +0 -144
  38. data/tmp/my-custom-csd/Makefile.win +0 -116
  39. data/tmp/my-custom-csd/appveyor.yml +0 -29
  40. data/tmp/my-custom-csd/metanorma.yml +0 -4
  41. data/tmp/my-document/Gemfile +0 -4
  42. data/tmp/my-document/Makefile +0 -144
  43. data/tmp/my-document/Makefile.win +0 -116
  44. data/tmp/my-document/appveyor.yml +0 -29
  45. data/tmp/my-document/metanorma.yml +0 -4
  46. data/tmp/my-local-document/Gemfile +0 -4
  47. data/tmp/my-local-document/Makefile +0 -144
  48. data/tmp/my-local-document/Makefile.win +0 -116
  49. data/tmp/my-local-document/appveyor.yml +0 -29
  50. data/tmp/my-local-document/metanorma.yml +0 -4
@@ -41,6 +41,37 @@ for advanced details regarding dependencies and Windows installation notes.
41
41
 
42
42
  == Usage
43
43
 
44
+ === Setting up
45
+
46
+ Metanorma CLI helps you install necessary fonts used by particular flavors,
47
+ as long as those fonts have a license that allow you to install them.
48
+
49
+ For example, ISO relies on Cambria while ITU relies on Arial, which are both not
50
+ supplied by default on Linux. Due to licensing terms, you are allowed to
51
+ install them yourself.
52
+
53
+ By running the `metanorma setup` command, Metanorma will identify fonts not
54
+ available on your system, and helps you install them once you agree to
55
+ the license terms presented by those fonts.
56
+
57
+ Typically run the command below.
58
+
59
+ [source, sh]
60
+ ----
61
+ metanorma setup
62
+ ----
63
+
64
+ If you are sure you want to agree with all the font licensing terms,
65
+ such as during non-interactive runs for continuous integration,
66
+ you can explicitly agree to all terms using the `--agree-to-terms`
67
+ option.
68
+
69
+ [source, sh]
70
+ ----
71
+ metanorma setup --agree-to-terms
72
+ ----
73
+
74
+
44
75
  === Generate a new Metanorma document using a template (`metanorma new`)
45
76
 
46
77
  Metanorma CLI allows you to create a new document using an official
@@ -0,0 +1,61 @@
1
+ = Installation
2
+
3
+ You can get the `metanorma` command-line executable by installing this Ruby gem.
4
+
5
+ [IMPORTANT]
6
+ ====
7
+ To install the Metanorma toolchain we recommend to use one of the ways described in
8
+ https://www.metanorma.com/author/topics/install/[Metanorma installation] topic.
9
+ Installing this gem by hand may not be the easiest way.
10
+
11
+ When following this installation method, to start building documents you may have to take care
12
+ of manually installing some required third-party software as well.
13
+ Which exactly depends on what documents you’re building, below notes cover some of that.
14
+ ====
15
+
16
+
17
+ == Installing the Metanorma CLI gem
18
+
19
+ [source,console]
20
+ ----
21
+ gem install metanorma-cli
22
+ ----
23
+
24
+ Installing the gem will also install all officially supported Metanorma flavors
25
+ (such as ISO, CalConnect, IETF, etc).
26
+
27
+
28
+ == Dependencies
29
+
30
+ === Java
31
+
32
+ You will have to have a Java runtime installed. (Use `brew cask install java` on macOS.)
33
+
34
+ === Puppeteer
35
+
36
+ *If you are going to generate PDFs from HTML* (which applies to CalConnect Standard Documents),
37
+ you will also need to install the https://github.com/GoogleChrome/puppeteer[Puppeteer] Node library.
38
+
39
+ * Ensure you have Node of at least version 7.6.0:
40
+ ** https://nodejs.org/en/download/
41
+ ** On macOS you should be able to `brew install node`
42
+ * Ensure you have NPM: https://docs.npmjs.com/getting-started/installing-node
43
+ * Install Puppeteer globally in your system: `npm install -g --save --save-exact puppeteer`
44
+
45
+ === PlantUML
46
+
47
+ *If your documents include link:/author/topics/document-format/diagrams/[PlantUML diagrams]*,
48
+ PlantUML will have to be installed.
49
+
50
+ * `brew install plantuml` on MacOS.
51
+ * For Linux, link the PlantUML jar file into a command line executable; see
52
+ `.travis.yml` for an example.
53
+
54
+ If PlantUML is not installed locally, the source PlantUML is incorporated into
55
+ the output document as sourcecode.
56
+
57
+
58
+ == Installation notes for Windows
59
+
60
+ To be able to compile gem with a native extension you must have `RIDK` installed.
61
+ If you are installing metanorma with chocolatey installation script will do this for you
@@ -0,0 +1,7 @@
1
+ ---
2
+ items:
3
+ - { title: Installation, path: installation/ }
4
+ - { title: Usage, path: usage/ }
5
+ ---
6
+
7
+ = Navigation
@@ -0,0 +1,74 @@
1
+ = Using the Metanorma CLI
2
+
3
+ == Usage sample
4
+
5
+ [source,sh]
6
+ ----
7
+ $ metanorma --type iso -x html iso-my-standard-document.adoc
8
+ ----
9
+
10
+ == Full syntax & options
11
+
12
+ [source,sh]
13
+ ----
14
+ $ metanorma --type <chosen-type> \
15
+ [--format input-format] \
16
+ [--extensions EXT1,EXT2...] \
17
+ iso-my-standard-document.adoc
18
+ ----
19
+
20
+ `type`:: (mandatory, specified via `--type` or `-t`) takes one of the following types:
21
+ `rfc2`, `rfc3`, `iso`, `gb`, `csd`, `csand`, `m3d`, `rsd`. Each of these corresponds to a
22
+ standards class and a Metanorma gem; the list of standards classes supported by the script
23
+ by default will grow (see also `require`).
24
+
25
+ `extension`:: (optional) specifies the output formats to be generated. If not specified,
26
+ all possible output formats are generated. The output formats generated are constrained by
27
+ what has been defined for each standard type. All standards can generate Metanorma XML (`xml`),
28
+ and at least one of HTML (`html`), DOC (`doc`), PDF (`pdf`). Some standards generate alternative
29
+ HTML renderings (e.g. `html_alt` for ISO).
30
+
31
+ `wrapper`:: create a separate folder for each instance of HTML output generated; the folder is named
32
+ the same as the output file, without the `.html` suffix. Used to make distribution of HTML outputs
33
+ more straightforward.
34
+
35
+ `format`:: (optional, defaults to `asciidoc`, specified via `--format` or `-f`) only accepts `asciidoc` for now
36
+
37
+ `require`:: If you wish to use metanorma with a document class which has not been included in the types recognised
38
+ by the metanorma script, you will need to name the corresponding Metnorma gem explicitly with the `-r`
39
+ option. For example:
40
+
41
+ [source,sh]
42
+ ----
43
+ $ metanorma -t mpfd mpfd-bpn.adoc
44
+
45
+ [metanorma] Error: mpfd is not a supported standard type.
46
+
47
+ $ metanorma -t mpfd -r metanorma-mpfd mpfd-bpn.adoc
48
+ ----
49
+
50
+ == Command-line help
51
+
52
+ [source,sh]
53
+ ----
54
+ $ metanorma -h
55
+ Usage: metanorma [options] <file>
56
+ -t, --type TYPE Type of standard to generate: rfc2, rfc3, iso, gb, csd, csand, m3d
57
+ -x, --extensions EXT1,EXT2,... | all Type of extension to generate per type:
58
+ {
59
+ :rfc2=>{:xmlrfc=>"v2.xml"},
60
+ :rfc3=>{:xmlrfc=>"v3.xml"},
61
+ :iso=>{:html=>"html", :html_alt=>"alt.html", :doc=>"doc"},
62
+ :gb=>{:html=>"html", :doc=>"doc"},
63
+ :csd=>{:html=>"html", :pdf=>"pdf"},
64
+ :csand=>{:html=>"html"},
65
+ :m3d=>{:html=>"html", :doc=>"doc"},
66
+ :rsd=>{:html=>"html"}
67
+ }
68
+ In addition, xml (outside of rfc2, rfc3) generates IsoDoc XML. If the argument is "all" or the option is
69
+ missing, all available extensions are generated.
70
+ -f, --format FORMAT Format of source file: asciidoc (current default, only format supported)
71
+ -r, --require LIBRARY Require LIBRARY prior to execution
72
+ -w, --wrapper Create wrapper folder for HTML output
73
+ -h, --help Show this message
74
+ ----
@@ -29,6 +29,7 @@ module Metanorma
29
29
  option :relaton, aliases: "-R", desc: "Export Relaton XML for document to nominated filename"
30
30
  option :extract, aliases: "-e", desc: "Export sourcecode fragments from this document to nominated directory"
31
31
  option :version, aliases: "-v", desc: "Print version of code (accompanied with -t)"
32
+ option "output-dir", aliases: "-o", desc: "Directory to save compiled files"
32
33
 
33
34
  def compile(file_name = nil)
34
35
  if file_name && !options[:version]
@@ -53,6 +54,7 @@ module Metanorma
53
54
  option :format, aliases: "-f", default: :asciidoc, desc: "Format of source file: eg. asciidoc"
54
55
 
55
56
  def version
57
+ Metanorma::Cli.load_flavors
56
58
  backend_version(options[:type]) || supported_backends
57
59
  rescue NameError => error
58
60
  UI.say(error)
@@ -119,7 +121,7 @@ module Metanorma
119
121
  end
120
122
 
121
123
  def find_backend(type)
122
- require "metanorma-#{type}"
124
+ load_flavours(type)
123
125
  Metanorma::Registry.instance.find_processor(type&.to_sym)
124
126
  end
125
127
 
@@ -160,6 +162,13 @@ module Metanorma
160
162
  end
161
163
  end.compact.flatten.uniq
162
164
  end
165
+
166
+ def load_flavours(type)
167
+ Metanorma::Cli.load_flavors
168
+ unless Metanorma::Registry.instance.find_processor(type&.to_sym)
169
+ require "metanorma-#{type}"
170
+ end
171
+ end
163
172
  end
164
173
  end
165
174
  end
@@ -69,19 +69,24 @@ module Metanorma
69
69
 
70
70
  def message(license)
71
71
  <<~MSG
72
- Metanorma has detected that you do not have the necessary fonts installed
73
- for PDF generation. The generated PDF will use generic fonts that may not
74
- resemble the desired styling. Metanorma can download these files for you
75
- if you accept the font licensing conditions for the font #{font_name}.
72
+ FONT LICENSE ACCEPTANCE REQUIRED:
76
73
 
77
- ----------
74
+ Metanorma has detected that you do not have the necessary fonts installed
75
+ for PDF generation. Without those fonts, the generated PDF will use
76
+ generic fonts that may not resemble the desired styling.
78
77
 
79
- #{license}
78
+ Metanorma can download these files for you if you accept the font
79
+ licensing conditions for the font "#{font_name}".
80
80
 
81
- ----------
81
+ FONT LICENSE BEGIN ("#{font_name}")
82
+ -----------------------------------------------------------------------
83
+ #{license}
84
+ -----------------------------------------------------------------------
85
+ FONT LICENSE END ("#{font_name}")
82
86
 
83
- If you want Metanorma to download these fonts for you and indicate your
84
- acceptance of the font licenses, type "Yes" / "No":
87
+ Do you accept all presented font licenses, and want Metanorma to
88
+ download these fonts for you?
89
+ => TYPE "Yes" or "No":
85
90
  MSG
86
91
  end
87
92
  end
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Cli
3
- VERSION = "1.3.1"
3
+ VERSION = "1.3.5"
4
4
  end
5
5
  end
@@ -14,8 +14,14 @@ Gem::Specification.new do |spec|
14
14
  spec.homepage = "https://www.metanorma.com"
15
15
  spec.license = "BSD-2-Clause"
16
16
 
17
+ =begin
17
18
  spec.files = Dir['**/*'].reject { |f| f.match(%r{^(test|spec|features|templates|.git)/|.(gem|gif|png|jpg|jpeg|xml|html|doc|pdf|dtd|ent)$}) }
18
19
  spec.files += Dir.glob("templates/base/**", File::FNM_DOTMATCH).reject { |f| File.directory?(f) }
20
+ =end
21
+
22
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
23
+ f.match(%r{^(test|spec|features)/})
24
+ end
19
25
 
20
26
  spec.extra_rdoc_files = %w[README.adoc LICENSE]
21
27
  spec.bindir = "exe"
@@ -31,27 +37,27 @@ Gem::Specification.new do |spec|
31
37
  spec.add_development_dependency "equivalent-xml", "~> 0.6"
32
38
  spec.add_development_dependency "rspec-core", "~> 3.4"
33
39
 
34
- spec.add_runtime_dependency "thor", "~> 0.20.3"
35
- spec.add_runtime_dependency "metanorma-iso", "~> 1.4.0"
36
- spec.add_runtime_dependency 'metanorma-ietf', "~> 2.1.0"
37
- spec.add_runtime_dependency 'metanorma-gb', "~> 1.4.0"
38
- spec.add_runtime_dependency 'metanorma-iec', "~> 1.1.0"
39
- spec.add_runtime_dependency 'metanorma-cc', "~> 1.4.0"
40
- spec.add_runtime_dependency 'metanorma-csa', "~> 1.5.0"
41
- #spec.add_runtime_dependency 'metanorma-ribose', "~> 1.5.0"
42
- spec.add_runtime_dependency 'metanorma-m3aawg', "~> 1.4.0"
43
- spec.add_runtime_dependency 'metanorma-generic', "~> 1.5.0"
44
- spec.add_runtime_dependency 'metanorma-standoc', "~> 1.4.0"
45
- #spec.add_runtime_dependency 'metanorma-mpfa', "~> 0.4.0"
46
- spec.add_runtime_dependency 'metanorma-un', "~> 0.4.0"
47
- spec.add_runtime_dependency 'metanorma-ogc', "~> 1.1.0"
48
- spec.add_runtime_dependency 'metanorma-nist', "~> 1.1.0"
49
- spec.add_runtime_dependency 'metanorma-itu', "~> 1.1.0"
50
- spec.add_runtime_dependency 'metanorma-iho', "~> 0.1.0"
51
- spec.add_runtime_dependency 'isodoc', "~> 1.1.0"
40
+ spec.add_runtime_dependency "thor", "~> 1.0"
41
+ spec.add_runtime_dependency "metanorma-iso", "~> 1.5.0"
42
+ spec.add_runtime_dependency 'metanorma-ietf', "~> 2.2.0"
43
+ spec.add_runtime_dependency 'metanorma-gb', "~> 1.5.0"
44
+ spec.add_runtime_dependency 'metanorma-iec', "~> 1.2.0"
45
+ spec.add_runtime_dependency 'metanorma-cc', "~> 1.5.0"
46
+ spec.add_runtime_dependency 'metanorma-csa', "~> 1.6.0"
47
+ #spec.add_runtime_dependency 'metanorma-ribose', "~> 1.6.0"
48
+ spec.add_runtime_dependency 'metanorma-m3aawg', "~> 1.5.0"
49
+ spec.add_runtime_dependency 'metanorma-generic', "~> 1.6.0"
50
+ spec.add_runtime_dependency 'metanorma-standoc', "~> 1.5.0"
51
+ #spec.add_runtime_dependency 'metanorma-mpfa', "~> 0.5.0"
52
+ spec.add_runtime_dependency 'metanorma-un', "~> 0.5.0"
53
+ spec.add_runtime_dependency 'metanorma-ogc', "~> 1.2.0"
54
+ spec.add_runtime_dependency 'metanorma-nist', "~> 1.2.0"
55
+ spec.add_runtime_dependency 'metanorma-itu', "~> 1.2.0"
56
+ spec.add_runtime_dependency 'metanorma-iho', "~> 0.2.0"
57
+ spec.add_runtime_dependency 'isodoc', "~> 1.2.0"
52
58
  spec.add_runtime_dependency 'metanorma', "~> 1.1.0"
53
59
  #spec.add_runtime_dependency 'nokogiri', ">= 1"
54
60
  spec.add_runtime_dependency "git", "~> 1.5"
55
61
  spec.add_runtime_dependency "relaton-cli", ">= 0.8.2"
56
- spec.add_runtime_dependency "fontist", "~> 1.0.0"
62
+ spec.add_runtime_dependency "fontist", "~> 1.2"
57
63
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.3.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: 2020-06-28 00:00:00.000000000 Z
11
+ date: 2020-08-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry
@@ -114,224 +114,224 @@ dependencies:
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: 0.20.3
117
+ version: '1.0'
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: 0.20.3
124
+ version: '1.0'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: metanorma-iso
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: 1.4.0
131
+ version: 1.5.0
132
132
  type: :runtime
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - "~>"
137
137
  - !ruby/object:Gem::Version
138
- version: 1.4.0
138
+ version: 1.5.0
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: metanorma-ietf
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: 2.1.0
145
+ version: 2.2.0
146
146
  type: :runtime
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - "~>"
151
151
  - !ruby/object:Gem::Version
152
- version: 2.1.0
152
+ version: 2.2.0
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: metanorma-gb
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
157
  - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: 1.4.0
159
+ version: 1.5.0
160
160
  type: :runtime
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - "~>"
165
165
  - !ruby/object:Gem::Version
166
- version: 1.4.0
166
+ version: 1.5.0
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: metanorma-iec
169
169
  requirement: !ruby/object:Gem::Requirement
170
170
  requirements:
171
171
  - - "~>"
172
172
  - !ruby/object:Gem::Version
173
- version: 1.1.0
173
+ version: 1.2.0
174
174
  type: :runtime
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - "~>"
179
179
  - !ruby/object:Gem::Version
180
- version: 1.1.0
180
+ version: 1.2.0
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: metanorma-cc
183
183
  requirement: !ruby/object:Gem::Requirement
184
184
  requirements:
185
185
  - - "~>"
186
186
  - !ruby/object:Gem::Version
187
- version: 1.4.0
187
+ version: 1.5.0
188
188
  type: :runtime
189
189
  prerelease: false
190
190
  version_requirements: !ruby/object:Gem::Requirement
191
191
  requirements:
192
192
  - - "~>"
193
193
  - !ruby/object:Gem::Version
194
- version: 1.4.0
194
+ version: 1.5.0
195
195
  - !ruby/object:Gem::Dependency
196
196
  name: metanorma-csa
197
197
  requirement: !ruby/object:Gem::Requirement
198
198
  requirements:
199
199
  - - "~>"
200
200
  - !ruby/object:Gem::Version
201
- version: 1.5.0
201
+ version: 1.6.0
202
202
  type: :runtime
203
203
  prerelease: false
204
204
  version_requirements: !ruby/object:Gem::Requirement
205
205
  requirements:
206
206
  - - "~>"
207
207
  - !ruby/object:Gem::Version
208
- version: 1.5.0
208
+ version: 1.6.0
209
209
  - !ruby/object:Gem::Dependency
210
210
  name: metanorma-m3aawg
211
211
  requirement: !ruby/object:Gem::Requirement
212
212
  requirements:
213
213
  - - "~>"
214
214
  - !ruby/object:Gem::Version
215
- version: 1.4.0
215
+ version: 1.5.0
216
216
  type: :runtime
217
217
  prerelease: false
218
218
  version_requirements: !ruby/object:Gem::Requirement
219
219
  requirements:
220
220
  - - "~>"
221
221
  - !ruby/object:Gem::Version
222
- version: 1.4.0
222
+ version: 1.5.0
223
223
  - !ruby/object:Gem::Dependency
224
224
  name: metanorma-generic
225
225
  requirement: !ruby/object:Gem::Requirement
226
226
  requirements:
227
227
  - - "~>"
228
228
  - !ruby/object:Gem::Version
229
- version: 1.5.0
229
+ version: 1.6.0
230
230
  type: :runtime
231
231
  prerelease: false
232
232
  version_requirements: !ruby/object:Gem::Requirement
233
233
  requirements:
234
234
  - - "~>"
235
235
  - !ruby/object:Gem::Version
236
- version: 1.5.0
236
+ version: 1.6.0
237
237
  - !ruby/object:Gem::Dependency
238
238
  name: metanorma-standoc
239
239
  requirement: !ruby/object:Gem::Requirement
240
240
  requirements:
241
241
  - - "~>"
242
242
  - !ruby/object:Gem::Version
243
- version: 1.4.0
243
+ version: 1.5.0
244
244
  type: :runtime
245
245
  prerelease: false
246
246
  version_requirements: !ruby/object:Gem::Requirement
247
247
  requirements:
248
248
  - - "~>"
249
249
  - !ruby/object:Gem::Version
250
- version: 1.4.0
250
+ version: 1.5.0
251
251
  - !ruby/object:Gem::Dependency
252
252
  name: metanorma-un
253
253
  requirement: !ruby/object:Gem::Requirement
254
254
  requirements:
255
255
  - - "~>"
256
256
  - !ruby/object:Gem::Version
257
- version: 0.4.0
257
+ version: 0.5.0
258
258
  type: :runtime
259
259
  prerelease: false
260
260
  version_requirements: !ruby/object:Gem::Requirement
261
261
  requirements:
262
262
  - - "~>"
263
263
  - !ruby/object:Gem::Version
264
- version: 0.4.0
264
+ version: 0.5.0
265
265
  - !ruby/object:Gem::Dependency
266
266
  name: metanorma-ogc
267
267
  requirement: !ruby/object:Gem::Requirement
268
268
  requirements:
269
269
  - - "~>"
270
270
  - !ruby/object:Gem::Version
271
- version: 1.1.0
271
+ version: 1.2.0
272
272
  type: :runtime
273
273
  prerelease: false
274
274
  version_requirements: !ruby/object:Gem::Requirement
275
275
  requirements:
276
276
  - - "~>"
277
277
  - !ruby/object:Gem::Version
278
- version: 1.1.0
278
+ version: 1.2.0
279
279
  - !ruby/object:Gem::Dependency
280
280
  name: metanorma-nist
281
281
  requirement: !ruby/object:Gem::Requirement
282
282
  requirements:
283
283
  - - "~>"
284
284
  - !ruby/object:Gem::Version
285
- version: 1.1.0
285
+ version: 1.2.0
286
286
  type: :runtime
287
287
  prerelease: false
288
288
  version_requirements: !ruby/object:Gem::Requirement
289
289
  requirements:
290
290
  - - "~>"
291
291
  - !ruby/object:Gem::Version
292
- version: 1.1.0
292
+ version: 1.2.0
293
293
  - !ruby/object:Gem::Dependency
294
294
  name: metanorma-itu
295
295
  requirement: !ruby/object:Gem::Requirement
296
296
  requirements:
297
297
  - - "~>"
298
298
  - !ruby/object:Gem::Version
299
- version: 1.1.0
299
+ version: 1.2.0
300
300
  type: :runtime
301
301
  prerelease: false
302
302
  version_requirements: !ruby/object:Gem::Requirement
303
303
  requirements:
304
304
  - - "~>"
305
305
  - !ruby/object:Gem::Version
306
- version: 1.1.0
306
+ version: 1.2.0
307
307
  - !ruby/object:Gem::Dependency
308
308
  name: metanorma-iho
309
309
  requirement: !ruby/object:Gem::Requirement
310
310
  requirements:
311
311
  - - "~>"
312
312
  - !ruby/object:Gem::Version
313
- version: 0.1.0
313
+ version: 0.2.0
314
314
  type: :runtime
315
315
  prerelease: false
316
316
  version_requirements: !ruby/object:Gem::Requirement
317
317
  requirements:
318
318
  - - "~>"
319
319
  - !ruby/object:Gem::Version
320
- version: 0.1.0
320
+ version: 0.2.0
321
321
  - !ruby/object:Gem::Dependency
322
322
  name: isodoc
323
323
  requirement: !ruby/object:Gem::Requirement
324
324
  requirements:
325
325
  - - "~>"
326
326
  - !ruby/object:Gem::Version
327
- version: 1.1.0
327
+ version: 1.2.0
328
328
  type: :runtime
329
329
  prerelease: false
330
330
  version_requirements: !ruby/object:Gem::Requirement
331
331
  requirements:
332
332
  - - "~>"
333
333
  - !ruby/object:Gem::Version
334
- version: 1.1.0
334
+ version: 1.2.0
335
335
  - !ruby/object:Gem::Dependency
336
336
  name: metanorma
337
337
  requirement: !ruby/object:Gem::Requirement
@@ -380,49 +380,46 @@ dependencies:
380
380
  requirements:
381
381
  - - "~>"
382
382
  - !ruby/object:Gem::Version
383
- version: 1.0.0
383
+ version: '1.2'
384
384
  type: :runtime
385
385
  prerelease: false
386
386
  version_requirements: !ruby/object:Gem::Requirement
387
387
  requirements:
388
388
  - - "~>"
389
389
  - !ruby/object:Gem::Version
390
- version: 1.0.0
390
+ version: '1.2'
391
391
  description: Executable to process any Metanorma standard.
392
392
  email:
393
393
  - open.source@ribose.com
394
394
  executables:
395
395
  - metanorma
396
396
  - metanorma-manifest
397
- - metanorma.old
398
397
  extensions: []
399
398
  extra_rdoc_files:
400
399
  - README.adoc
401
400
  - LICENSE
402
401
  files:
403
- - 05-020r26.rxl
404
- - 05-020r26.xml.zip
402
+ - ".github/workflows/dependent_repos.env"
403
+ - ".github/workflows/macos.yml"
404
+ - ".github/workflows/ubuntu.yml"
405
+ - ".github/workflows/windows.yml"
406
+ - ".gitignore"
407
+ - ".hound.yml"
408
+ - ".rspec"
409
+ - ".rubocop.yml"
405
410
  - CODE_OF_CONDUCT.md
406
411
  - Gemfile
407
- - Gemfile.lock
408
412
  - LICENSE
409
413
  - README.adoc
410
414
  - Rakefile
411
- - a
412
- - a.json
413
- - a.rb
414
- - a.rxl
415
- - b
416
415
  - bin/console
417
416
  - bin/rspec
418
417
  - bin/setup
419
- - csd-tofix 2.zip
420
- - csd-tofix.zip
418
+ - docs/installation.adoc
419
+ - docs/navigation.adoc
420
+ - docs/usage.adoc
421
421
  - exe/metanorma
422
422
  - exe/metanorma-manifest
423
- - exe/metanorma.old
424
- - extract/sourcecode/sourcecode-0000.txt
425
- - files.zip
426
423
  - i18n.yaml
427
424
  - lib/metanorma-cli.rb
428
425
  - lib/metanorma/cli.rb
@@ -437,9 +434,6 @@ files:
437
434
  - lib/metanorma/cli/ui.rb
438
435
  - lib/metanorma/cli/version.rb
439
436
  - metanorma-cli.gemspec
440
- - relaton/cache/version
441
- - rice.rxl
442
- - sourcecode/0
443
437
  - templates/base/.gitignore
444
438
  - templates/base/.gitlab-ci.yml
445
439
  - templates/base/.travis.yml
@@ -448,22 +442,6 @@ files:
448
442
  - templates/base/Makefile.win
449
443
  - templates/base/appveyor.yml
450
444
  - templates/base/metanorma.yml
451
- - test.rxl
452
- - tmp/my-custom-csd/Gemfile
453
- - tmp/my-custom-csd/Makefile
454
- - tmp/my-custom-csd/Makefile.win
455
- - tmp/my-custom-csd/appveyor.yml
456
- - tmp/my-custom-csd/metanorma.yml
457
- - tmp/my-document/Gemfile
458
- - tmp/my-document/Makefile
459
- - tmp/my-document/Makefile.win
460
- - tmp/my-document/appveyor.yml
461
- - tmp/my-document/metanorma.yml
462
- - tmp/my-local-document/Gemfile
463
- - tmp/my-local-document/Makefile
464
- - tmp/my-local-document/Makefile.win
465
- - tmp/my-local-document/appveyor.yml
466
- - tmp/my-local-document/metanorma.yml
467
445
  homepage: https://www.metanorma.com
468
446
  licenses:
469
447
  - BSD-2-Clause