metanorma-cli 1.3.1 → 1.3.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 370299374d6064f4be2b1bce3ffe74d816a3221a197e85189e2d076173f4d843
4
- data.tar.gz: 2a1a633b009ec2e34c809405d7d07f747a598f7a6eaa5d9d7be772d7a53811c0
3
+ metadata.gz: '089f63693166f74ba4c49d9d562c20cc4d79a012da3109a5483806ef2fcc43ed'
4
+ data.tar.gz: ea4809e6d1b1382565a83eca79ea12806f27800e796244369a16e820bcc2a9a9
5
5
  SHA512:
6
- metadata.gz: 503038584c4e2e3e869c00225439da73b93427f95a8f3ec3fe93b22c58c703483a4a980be0ae4cd2d9c97aa954db335b5762bc28d82ab9534d8e214894e95f75
7
- data.tar.gz: bf08778ca3688e38f8df865daf162a02b008530faf2dfb14294609c6d1f329631df721e22b6b220c636aed6084b400bcd6c668dab4616a9a092f5ee7abf9832b
6
+ metadata.gz: 81adac4e4e3ec9efc50f300229cffb185723fdf1fdaf6ca4719fc64b9435a8e1457ebda92a6b83fe69f935821b956541820e2216bdd0180edde6cdba7e9a72ce
7
+ data.tar.gz: 87f31a6be12ee8e2771ef8f6f261c54707016bebf266c3b3c195085972d8e3032ef6bcce3b00d640778919876ac51905dbf42c2b6a3647d7283ec75008a24b05
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- metanorma-cli (1.3.1)
5
- fontist (~> 1.0.0)
4
+ metanorma-cli (1.3.2)
5
+ fontist (~> 1.0)
6
6
  git (~> 1.5)
7
7
  isodoc (~> 1.1.0)
8
8
  metanorma (~> 1.1.0)
@@ -21,7 +21,7 @@ PATH
21
21
  metanorma-standoc (~> 1.4.0)
22
22
  metanorma-un (~> 0.4.0)
23
23
  relaton-cli (>= 0.8.2)
24
- thor (~> 0.20.3)
24
+ thor (~> 1.0)
25
25
 
26
26
  GEM
27
27
  remote: https://rubygems.org/
@@ -29,7 +29,7 @@ GEM
29
29
  addressable (2.7.0)
30
30
  public_suffix (>= 2.0.2, < 5.0)
31
31
  asciidoctor (2.0.10)
32
- asciimath (2.0.0)
32
+ asciimath (2.0.1)
33
33
  bibtex-ruby (5.1.4)
34
34
  latex-decode (~> 0.0)
35
35
  byebug (10.0.2)
@@ -38,7 +38,7 @@ GEM
38
38
  cnccs (0.1.6)
39
39
  coderay (1.1.3)
40
40
  concurrent-ruby (1.1.6)
41
- diff-lcs (1.4.2)
41
+ diff-lcs (1.4.4)
42
42
  domain_name (0.5.20190701)
43
43
  unf (>= 0.0.5, < 1.0.0)
44
44
  down (5.1.1)
@@ -74,7 +74,7 @@ GEM
74
74
  image_size (2.0.2)
75
75
  iso-639 (0.3.5)
76
76
  iso639 (1.3.2)
77
- isodoc (1.1.0)
77
+ isodoc (1.1.1)
78
78
  asciimath
79
79
  html2doc (~> 1.0.0)
80
80
  htmlentities (~> 4.3.4)
@@ -95,15 +95,15 @@ GEM
95
95
  mathml2asciimath (0.0.10)
96
96
  htmlentities (~> 4.3.4)
97
97
  nokogiri (>= 1.10.4)
98
- metanorma (1.1.0)
98
+ metanorma (1.1.2)
99
99
  asciidoctor
100
100
  htmlentities
101
101
  mn2pdf (~> 1)
102
102
  nokogiri
103
- metanorma-cc (1.4.0)
103
+ metanorma-cc (1.4.1)
104
104
  isodoc (~> 1.1.0)
105
105
  metanorma-standoc (~> 1.4.0)
106
- metanorma-csa (1.5.0)
106
+ metanorma-csa (1.5.1)
107
107
  htmlentities (~> 4.3.4)
108
108
  image_size
109
109
  isodoc (~> 1.1.0)
@@ -112,22 +112,22 @@ GEM
112
112
  ruby-jing
113
113
  thread_safe
114
114
  uuidtools
115
- metanorma-gb (1.4.0)
115
+ metanorma-gb (1.4.1)
116
116
  gb-agencies (~> 0.0.4)
117
117
  htmlentities (~> 4.3.4)
118
118
  isodoc (~> 1.1.0)
119
119
  metanorma-iso (~> 1.4.0)
120
120
  twitter_cldr (~> 4.4.4)
121
- metanorma-generic (1.5.0)
121
+ metanorma-generic (1.5.1)
122
122
  htmlentities (~> 4.3.4)
123
123
  isodoc (~> 1.1.0)
124
124
  metanorma-standoc (~> 1.4.0)
125
125
  ruby-jing
126
- metanorma-iec (1.1.0)
126
+ metanorma-iec (1.1.1)
127
127
  isodoc (~> 1.1.0)
128
128
  metanorma-iso (~> 1.4.0)
129
129
  ruby-jing
130
- metanorma-ietf (2.1.0)
130
+ metanorma-ietf (2.1.2)
131
131
  isodoc (~> 1.1.0)
132
132
  mathml2asciimath
133
133
  metanorma-standoc (~> 1.4.0)
@@ -136,19 +136,19 @@ GEM
136
136
  isodoc (~> 1.1.0)
137
137
  metanorma-generic (~> 1.5.0)
138
138
  metanorma-standoc (~> 1.4.0)
139
- metanorma-iso (1.4.0)
139
+ metanorma-iso (1.4.1)
140
140
  isodoc (~> 1.1.0)
141
141
  metanorma-standoc (~> 1.4.0)
142
142
  mn2sts (~> 1.2.0)
143
143
  ruby-jing
144
144
  tokenizer (~> 0.3.0)
145
145
  twitter_cldr
146
- metanorma-itu (1.1.0)
146
+ metanorma-itu (1.1.1)
147
147
  htmlentities (~> 4.3.4)
148
148
  isodoc (~> 1.1.0)
149
149
  metanorma-standoc (~> 1.4.0)
150
150
  ruby-jing
151
- metanorma-m3aawg (1.4.0)
151
+ metanorma-m3aawg (1.4.1)
152
152
  htmlentities (~> 4.3.4)
153
153
  image_size
154
154
  isodoc (~> 1.1.0)
@@ -157,7 +157,7 @@ GEM
157
157
  ruby-jing
158
158
  thread_safe
159
159
  uuidtools
160
- metanorma-nist (1.1.0)
160
+ metanorma-nist (1.1.1)
161
161
  htmlentities (~> 4.3.4)
162
162
  iso-639
163
163
  isodoc (~> 1.1.0)
@@ -165,13 +165,13 @@ GEM
165
165
  ruby-jing
166
166
  twitter_cldr
167
167
  tzinfo-data
168
- metanorma-ogc (1.1.0)
168
+ metanorma-ogc (1.1.1)
169
169
  htmlentities (~> 4.3.4)
170
170
  iso-639
171
171
  isodoc (~> 1.1.0)
172
172
  metanorma-standoc (~> 1.4.0)
173
173
  ruby-jing
174
- metanorma-standoc (1.4.2)
174
+ metanorma-standoc (1.4.3)
175
175
  asciidoctor (~> 2.0.0)
176
176
  concurrent-ruby
177
177
  iev (~> 0.2.1)
@@ -183,7 +183,7 @@ GEM
183
183
  ruby-jing
184
184
  sterile (~> 1.0.14)
185
185
  unicode2latex (~> 0.0.1)
186
- metanorma-un (0.4.0)
186
+ metanorma-un (0.4.1)
187
187
  htmlentities (~> 4.3.4)
188
188
  iso-639
189
189
  isodoc (~> 1.1.0)
@@ -201,7 +201,7 @@ GEM
201
201
  mn2pdf (1.18)
202
202
  mn2sts (1.2.0)
203
203
  multipart-post (2.1.1)
204
- nokogiri (1.10.9)
204
+ nokogiri (1.10.10)
205
205
  mini_portile2 (~> 2.4.0)
206
206
  optout (0.0.2)
207
207
  pry (0.13.1)
@@ -224,7 +224,7 @@ GEM
224
224
  relaton-omg (~> 1.2.0)
225
225
  relaton-un (~> 1.2.0)
226
226
  relaton-w3c (~> 1.2.0)
227
- relaton-bib (1.2.0)
227
+ relaton-bib (1.2.4)
228
228
  addressable
229
229
  bibtex-ruby
230
230
  iso639
@@ -250,7 +250,7 @@ GEM
250
250
  relaton-bib (~> 1.2.0)
251
251
  relaton-iev (1.0.0)
252
252
  relaton (~> 1)
253
- relaton-iho (1.2.0)
253
+ relaton-iho (1.2.3)
254
254
  relaton-bib (~> 1.2.0)
255
255
  relaton-iso (1.2.0)
256
256
  relaton-iec (~> 1.2.0)
@@ -260,7 +260,7 @@ GEM
260
260
  relaton-bib (~> 1.2.0)
261
261
  relaton-itu (1.2.0)
262
262
  relaton-bib (~> 1.2.0)
263
- relaton-nist (1.2.0)
263
+ relaton-nist (1.2.2)
264
264
  relaton-bib (~> 1.2.0)
265
265
  rubyzip
266
266
  relaton-ogc (1.2.0)
@@ -301,9 +301,9 @@ GEM
301
301
  rubyzip (2.3.0)
302
302
  sassc (2.4.0)
303
303
  ffi (~> 1.9)
304
- sterile (1.0.16)
304
+ sterile (1.0.17)
305
305
  nokogiri (>= 1.10.8)
306
- thor (0.20.3)
306
+ thor (1.0.1)
307
307
  thread_safe (0.3.6)
308
308
  tokenizer (0.3.0)
309
309
  twitter_cldr (4.4.5)
@@ -318,7 +318,7 @@ GEM
318
318
  unf_ext
319
319
  unf_ext (0.0.7.7)
320
320
  unicode2latex (0.0.3)
321
- uuidtools (2.1.5)
321
+ uuidtools (2.2.0)
322
322
 
323
323
  PLATFORMS
324
324
  ruby
@@ -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
@@ -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]
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Cli
3
- VERSION = "1.3.1"
3
+ VERSION = "1.3.2"
4
4
  end
5
5
  end
@@ -31,7 +31,7 @@ Gem::Specification.new do |spec|
31
31
  spec.add_development_dependency "equivalent-xml", "~> 0.6"
32
32
  spec.add_development_dependency "rspec-core", "~> 3.4"
33
33
 
34
- spec.add_runtime_dependency "thor", "~> 0.20.3"
34
+ spec.add_runtime_dependency "thor", "~> 1.0"
35
35
  spec.add_runtime_dependency "metanorma-iso", "~> 1.4.0"
36
36
  spec.add_runtime_dependency 'metanorma-ietf', "~> 2.1.0"
37
37
  spec.add_runtime_dependency 'metanorma-gb', "~> 1.4.0"
@@ -53,5 +53,5 @@ Gem::Specification.new do |spec|
53
53
  #spec.add_runtime_dependency 'nokogiri', ">= 1"
54
54
  spec.add_runtime_dependency "git", "~> 1.5"
55
55
  spec.add_runtime_dependency "relaton-cli", ">= 0.8.2"
56
- spec.add_runtime_dependency "fontist", "~> 1.0.0"
56
+ spec.add_runtime_dependency "fontist", "~> 1.0"
57
57
  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.2
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-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry
@@ -114,14 +114,14 @@ 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
@@ -380,14 +380,14 @@ dependencies:
380
380
  requirements:
381
381
  - - "~>"
382
382
  - !ruby/object:Gem::Version
383
- version: 1.0.0
383
+ version: '1.0'
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.0'
391
391
  description: Executable to process any Metanorma standard.
392
392
  email:
393
393
  - open.source@ribose.com