metanorma-cli 1.1.5 → 1.1.6
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 +4 -4
- data/Gemfile.lock +24 -21
- data/README.adoc +3 -3
- data/appveyor.yml +1 -23
- data/exe/metanorma +9 -108
- data/extract/sourcecode/sourcecode-0000.txt +5 -0
- data/lib/metanorma/cli/version.rb +1 -1
- data/metanorma-cli.gemspec +1 -1
- data/test.rxl +47 -47
- metadata +5 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d6a9cbd149506055cfacef18d4d480b75c749ef06581c37a2f3867e5cb3c7efe
|
|
4
|
+
data.tar.gz: a5cb8f93eea8b289bcfb078a33f4469b7de71ae9177d547bb310e03915490675
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b1132b67a377d9102dde1f195de27ae799e72d4129a613fcf81a662b6a75841935267a2777cc784f9f7964a9d176c8cffed9133367573f5b8942af01296f30f7
|
|
7
|
+
data.tar.gz: a778b63c1890eada45ab18be45a612caa23bf83aa02803fa9a89d5cf389ed404302f81cff9b866ecb430fb924ad228fdc34025276c0000c6049b4b52ad91a41b
|
data/Gemfile.lock
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
metanorma-cli (1.1.
|
|
4
|
+
metanorma-cli (1.1.6)
|
|
5
5
|
isodoc (~> 0.9.0)
|
|
6
|
-
metanorma (~> 0.3.
|
|
6
|
+
metanorma (~> 0.3.9)
|
|
7
7
|
metanorma-acme (~> 1.1.0)
|
|
8
8
|
metanorma-csand (~> 1.1.0)
|
|
9
9
|
metanorma-csd (~> 1.1.0)
|
|
@@ -33,7 +33,7 @@ GEM
|
|
|
33
33
|
camertron-eprun (1.1.1)
|
|
34
34
|
cldr-plurals-runtime-rb (1.0.1)
|
|
35
35
|
cnccs (0.1.3)
|
|
36
|
-
concurrent-ruby (1.1.
|
|
36
|
+
concurrent-ruby (1.1.5)
|
|
37
37
|
diff-lcs (1.3)
|
|
38
38
|
equivalent-xml (0.6.0)
|
|
39
39
|
nokogiri (>= 1.4.3)
|
|
@@ -59,7 +59,7 @@ GEM
|
|
|
59
59
|
iso-bib-item (~> 0.4.2)
|
|
60
60
|
ietfbib (0.4.5)
|
|
61
61
|
iso-bib-item (~> 0.4.2)
|
|
62
|
-
iev (0.2.
|
|
62
|
+
iev (0.2.1)
|
|
63
63
|
nokogiri
|
|
64
64
|
image_size (2.0.0)
|
|
65
65
|
iso-639 (0.2.8)
|
|
@@ -71,7 +71,7 @@ GEM
|
|
|
71
71
|
algoliasearch
|
|
72
72
|
iecbib (~> 0.2.1)
|
|
73
73
|
iso-bib-item (~> 0.4.2)
|
|
74
|
-
isodoc (0.9.
|
|
74
|
+
isodoc (0.9.19)
|
|
75
75
|
asciimath
|
|
76
76
|
html2doc (~> 0.8.6)
|
|
77
77
|
htmlentities (~> 4.3.4)
|
|
@@ -86,17 +86,17 @@ GEM
|
|
|
86
86
|
uuidtools
|
|
87
87
|
isoics (0.1.7)
|
|
88
88
|
json (2.2.0)
|
|
89
|
-
liquid (4.0.
|
|
90
|
-
metanorma (0.3.
|
|
89
|
+
liquid (4.0.3)
|
|
90
|
+
metanorma (0.3.10)
|
|
91
91
|
asciidoctor
|
|
92
92
|
htmlentities
|
|
93
|
-
metanorma-acme (1.1.
|
|
93
|
+
metanorma-acme (1.1.3)
|
|
94
94
|
asciidoctor (~> 1.5.7)
|
|
95
95
|
htmlentities (~> 4.3.4)
|
|
96
96
|
isodoc (~> 0.9.0)
|
|
97
97
|
metanorma-standoc (~> 1.1.0)
|
|
98
98
|
ruby-jing
|
|
99
|
-
metanorma-csand (1.1.
|
|
99
|
+
metanorma-csand (1.1.3)
|
|
100
100
|
asciidoctor (~> 1.5.7)
|
|
101
101
|
asciimath
|
|
102
102
|
htmlentities (~> 4.3.4)
|
|
@@ -109,10 +109,10 @@ GEM
|
|
|
109
109
|
ruby-xslt
|
|
110
110
|
thread_safe
|
|
111
111
|
uuidtools
|
|
112
|
-
metanorma-csd (1.1.
|
|
112
|
+
metanorma-csd (1.1.3)
|
|
113
113
|
isodoc (~> 0.9.6)
|
|
114
114
|
metanorma-standoc (~> 1.1.0)
|
|
115
|
-
metanorma-gb (1.1.
|
|
115
|
+
metanorma-gb (1.1.4)
|
|
116
116
|
gb-agencies (~> 0.0.4)
|
|
117
117
|
isodoc (~> 0.9.1)
|
|
118
118
|
metanorma-iso (~> 1.1.0)
|
|
@@ -120,13 +120,13 @@ GEM
|
|
|
120
120
|
metanorma-ietf (1.0.1)
|
|
121
121
|
isodoc (~> 0.9.6)
|
|
122
122
|
metanorma-standoc (~> 1.1.0)
|
|
123
|
-
metanorma-iso (1.1.
|
|
123
|
+
metanorma-iso (1.1.4)
|
|
124
124
|
asciidoctor (~> 1.5.7)
|
|
125
125
|
iev (~> 0.2.0)
|
|
126
126
|
isodoc (~> 0.9.8)
|
|
127
127
|
metanorma-standoc (~> 1.1.0)
|
|
128
128
|
ruby-jing
|
|
129
|
-
metanorma-m3d (1.1.
|
|
129
|
+
metanorma-m3d (1.1.3)
|
|
130
130
|
asciidoctor (~> 1.5.7)
|
|
131
131
|
asciimath
|
|
132
132
|
htmlentities (~> 4.3.4)
|
|
@@ -139,42 +139,44 @@ GEM
|
|
|
139
139
|
ruby-xslt
|
|
140
140
|
thread_safe
|
|
141
141
|
uuidtools
|
|
142
|
-
metanorma-mpfd (0.1.
|
|
142
|
+
metanorma-mpfd (0.1.9)
|
|
143
143
|
asciidoctor (~> 1.5.7)
|
|
144
144
|
htmlentities (~> 4.3.4)
|
|
145
145
|
isodoc (~> 0.9.0)
|
|
146
146
|
metanorma-standoc (~> 1.1.0)
|
|
147
147
|
nokogiri
|
|
148
148
|
twitter_cldr
|
|
149
|
-
metanorma-nist (0.0.
|
|
149
|
+
metanorma-nist (0.0.5)
|
|
150
150
|
asciidoctor (~> 1.5.7)
|
|
151
151
|
htmlentities (~> 4.3.4)
|
|
152
152
|
isodoc (~> 0.9.0)
|
|
153
153
|
metanorma-standoc (~> 1.1.0)
|
|
154
154
|
ruby-jing
|
|
155
|
-
|
|
155
|
+
twitter_cldr
|
|
156
|
+
metanorma-ogc (0.0.7)
|
|
156
157
|
asciidoctor (~> 1.5.7)
|
|
157
158
|
htmlentities (~> 4.3.4)
|
|
158
159
|
iso-639
|
|
159
160
|
isodoc (~> 0.9.0)
|
|
160
161
|
metanorma-standoc (~> 1.1.0)
|
|
161
162
|
ruby-jing
|
|
162
|
-
metanorma-rsd (1.1.
|
|
163
|
+
metanorma-rsd (1.1.3)
|
|
163
164
|
asciidoctor (~> 1.5.7)
|
|
164
165
|
htmlentities (~> 4.3.4)
|
|
165
166
|
isodoc (~> 0.9.0)
|
|
166
167
|
metanorma-standoc (~> 1.1.0)
|
|
167
168
|
nokogiri
|
|
168
|
-
metanorma-standoc (1.1.
|
|
169
|
+
metanorma-standoc (1.1.5)
|
|
169
170
|
asciidoctor (~> 1.5.7)
|
|
170
171
|
concurrent-ruby
|
|
171
172
|
html2doc (~> 0.8.0)
|
|
172
|
-
iev (~> 0.2.
|
|
173
|
+
iev (~> 0.2.1)
|
|
173
174
|
isodoc (~> 0.9.0)
|
|
174
175
|
relaton (~> 0.3.1)
|
|
175
176
|
ruby-jing
|
|
176
177
|
sterile (~> 1.0.14)
|
|
177
|
-
|
|
178
|
+
unicode2latex (~> 0.0.1)
|
|
179
|
+
metanorma-unece (0.0.13)
|
|
178
180
|
asciidoctor (~> 1.5.7)
|
|
179
181
|
htmlentities (~> 4.3.4)
|
|
180
182
|
iso-639
|
|
@@ -196,7 +198,7 @@ GEM
|
|
|
196
198
|
rb-fsevent (0.10.3)
|
|
197
199
|
rb-inotify (0.10.0)
|
|
198
200
|
ffi (~> 1.0)
|
|
199
|
-
relaton (0.3.
|
|
201
|
+
relaton (0.3.2)
|
|
200
202
|
algoliasearch
|
|
201
203
|
gbbib (~> 0.4.0)
|
|
202
204
|
iecbib (~> 0.2.0)
|
|
@@ -245,6 +247,7 @@ GEM
|
|
|
245
247
|
tzinfo
|
|
246
248
|
tzinfo (2.0.0)
|
|
247
249
|
concurrent-ruby (~> 1.0)
|
|
250
|
+
unicode2latex (0.0.2)
|
|
248
251
|
uuidtools (2.1.5)
|
|
249
252
|
|
|
250
253
|
PLATFORMS
|
data/README.adoc
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
= Metanorma's command-line interface (CLI)
|
|
2
2
|
|
|
3
3
|
image:https://img.shields.io/gem/v/metanorma-cli.svg["Gem Version", link="https://rubygems.org/gems/metanorma-cli"]
|
|
4
|
-
image:https://img.shields.io/travis/
|
|
5
|
-
image:https://codeclimate.com/github/
|
|
6
|
-
image:https://ci.appveyor.com/api/projects/status/vqo2221uwcaov8kx?svg=true["Build Status", link="https://ci.appveyor.com/project/
|
|
4
|
+
image:https://img.shields.io/travis/metanorma/metanorma-cli/master.svg["Build Status", link="https://travis-ci.org/metanorma/metanorma-cli"]
|
|
5
|
+
image:https://codeclimate.com/github/metanorma/metanorma-cli/badges/gpa.svg["Code Climate", link="https://codeclimate.com/github/metanorma/metanorma-cli"]
|
|
6
|
+
image:https://ci.appveyor.com/api/projects/status/vqo2221uwcaov8kx?svg=true["Build Status", link="https://ci.appveyor.com/project/metanorma/metanorma-cli"]
|
|
7
7
|
|
|
8
8
|
== Installation
|
|
9
9
|
|
data/appveyor.yml
CHANGED
|
@@ -12,33 +12,11 @@ matrix:
|
|
|
12
12
|
- RUBY_VERSION: _trunk
|
|
13
13
|
|
|
14
14
|
install:
|
|
15
|
-
-
|
|
16
|
-
- gem install bundler -v 1.17.3
|
|
17
|
-
- npm install -g puppeteer
|
|
18
|
-
- npm install
|
|
19
|
-
# install libxml2 & libxslt
|
|
20
|
-
- ps: Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
|
|
15
|
+
- ps: . { iwr -useb https://raw.githubusercontent.com/metanorma/metanorma-build-scripts/master/appveyor.ps1 } | iex
|
|
21
16
|
- refreshenv
|
|
22
|
-
- cinst --x86 xsltproc
|
|
23
|
-
- set XSLT_PROC=%ChocolateyInstall%\lib\xsltproc\dist
|
|
24
|
-
# RUBY_DLL_PATH looks broken in ruby23
|
|
25
|
-
- if "%RUBY_VERSION%" == "23" (
|
|
26
|
-
XCOPY /Y %XSLT_PROC%\bin\lib*.dll C:\Ruby%RUBY_VERSION%\bin\*
|
|
27
|
-
) else (
|
|
28
|
-
XCOPY /Y %XSLT_PROC%\bin\libxml2*.dll %XSLT_PROC%\bin\libxml2.dll* &
|
|
29
|
-
XCOPY /Y %XSLT_PROC%\bin\libxslt*.dll %XSLT_PROC%\bin\libxslt.dll* &
|
|
30
|
-
XCOPY /Y %XSLT_PROC%\bin\libexslt*.dll %XSLT_PROC%\bin\libexslt.dll*
|
|
31
|
-
)
|
|
32
|
-
- echo @ECHO OFF > %ChocolateyInstall%\bin\xml2-config.bat
|
|
33
|
-
- echo @ECHO OFF > %ChocolateyInstall%\bin\xslt-config.bat
|
|
34
17
|
|
|
35
18
|
build_script:
|
|
36
|
-
# RUBY_DLL_PATH looks broken in ruby23
|
|
37
|
-
- if NOT "%RUBY_VERSION%" == "23" setx /M RUBY_DLL_PATH "%ChocolateyInstall%\lib\xsltproc\dist\bin;%RUBY_DLL_PATH%"
|
|
38
|
-
- refreshenv
|
|
39
19
|
- set PATH=C:\Ruby%RUBY_VERSION%\bin;%PATH%
|
|
40
|
-
- set XSLT_PROC=%ChocolateyInstall%\lib\xsltproc\dist
|
|
41
|
-
- bundle config build.ruby-xslt --with-xml2-include=%XSLT_PROC%\include\libxml2 --with-xslt-include=%XSLT_PROC%\include --with-xml2-lib=%XSLT_PROC%\lib --with-xslt-lib=%XSLT_PROC%\lib
|
|
42
20
|
- bundle update
|
|
43
21
|
- bundle install
|
|
44
22
|
|
data/exe/metanorma
CHANGED
|
@@ -89,10 +89,15 @@ opt_parser = OptionParser.new do |opts|
|
|
|
89
89
|
) { |v| options[:relaton] = v }
|
|
90
90
|
|
|
91
91
|
opts.on(
|
|
92
|
-
'-
|
|
93
|
-
'--
|
|
94
|
-
|
|
95
|
-
|
|
92
|
+
'-e',
|
|
93
|
+
'--extract DIR(,ASSET1,ASSET2...)',
|
|
94
|
+
Array,
|
|
95
|
+
'Export sourcecode fragments from this document to nominated directory. If ASSET1,ASSET2 are named, only those types of asset are extracted'
|
|
96
|
+
) do |v|
|
|
97
|
+
options[:extract] = v[0]
|
|
98
|
+
options[:extract_type] = []
|
|
99
|
+
v.size > 1 and options[:extract_type] = v[1..-1].map(&:to_sym)
|
|
100
|
+
end
|
|
96
101
|
|
|
97
102
|
opts.on_tail("-h", "--help", "Show this message") do
|
|
98
103
|
puts opts
|
|
@@ -129,108 +134,4 @@ end
|
|
|
129
134
|
|
|
130
135
|
filename = options[:filename]
|
|
131
136
|
|
|
132
|
-
=begin
|
|
133
|
-
options[:type] ||= registry&.find_processor(:iso)&.extract_metanorma_options(File.read(filename, encoding: "utf-8"))[:type]&.to_sym
|
|
134
|
-
standard_type = options[:type]
|
|
135
|
-
unless standard_type
|
|
136
|
-
puts "[metanorma] Error: Please specify a standard type."
|
|
137
|
-
puts opt_parser.help
|
|
138
|
-
exit 0
|
|
139
|
-
end
|
|
140
|
-
=end
|
|
141
|
-
|
|
142
|
-
=begin
|
|
143
|
-
unless registry.supported_backends.include? standard_type
|
|
144
|
-
puts "[metanorma] Warning: #{standard_type} is not a default standard type."
|
|
145
|
-
puts "[metanorma] Info: Attempting to load `metanorma-#{standard_type}` gem for standard type `#{standard_type}`."
|
|
146
|
-
|
|
147
|
-
begin
|
|
148
|
-
require "metanorma-#{standard_type}"
|
|
149
|
-
puts "[metanorma] Info: gem `metanorma-#{standard_type}` loaded."
|
|
150
|
-
rescue LoadError
|
|
151
|
-
puts "[metanorma] Error: loading gem `metanorma-#{standard_type}` failed. Exiting."
|
|
152
|
-
exit 0
|
|
153
|
-
end
|
|
154
|
-
|
|
155
|
-
unless registry.supported_backends.include? standard_type
|
|
156
|
-
puts "[metanorma] Error: The `metanorma-#{standard_type}` gem still doesn't support `#{standard_type}`. Exiting."
|
|
157
|
-
exit 0
|
|
158
|
-
end
|
|
159
|
-
end
|
|
160
|
-
=end
|
|
161
|
-
|
|
162
|
-
=begin
|
|
163
|
-
unless options[:format] == :asciidoc
|
|
164
|
-
puts "[metanorma] Error: Only source file format currently supported is 'asciidoc'."
|
|
165
|
-
exit 0
|
|
166
|
-
end
|
|
167
|
-
=end
|
|
168
|
-
|
|
169
|
-
=begin
|
|
170
|
-
options[:extension_keys] ||= registry&.find_processor(:iso)&.
|
|
171
|
-
extract_metanorma_options(File.read(filename, encoding: "utf-8"))[:extensions]&.split(/,[ ]*/)&.map(&:to_sym)
|
|
172
|
-
options[:extension_keys] = nil if options[:extension_keys] == [:all]
|
|
173
|
-
=end
|
|
174
|
-
|
|
175
|
-
=begin
|
|
176
|
-
case options[:format]
|
|
177
|
-
when :asciidoc
|
|
178
|
-
processor = registry.find_processor(options[:type].to_sym)
|
|
179
|
-
options[:extension_keys] ||= processor.output_formats.inject([]) do |memo, (k, _)|
|
|
180
|
-
memo << k; memo
|
|
181
|
-
end
|
|
182
|
-
extensions = options[:extension_keys].inject([]) do |memo, e|
|
|
183
|
-
if processor.output_formats[e]
|
|
184
|
-
memo << e
|
|
185
|
-
else
|
|
186
|
-
warn "[metanorma] Error: #{e} format is not supported for this standard."
|
|
187
|
-
end
|
|
188
|
-
memo
|
|
189
|
-
end
|
|
190
|
-
exit 0 if extensions.empty?
|
|
191
|
-
|
|
192
|
-
file, isodoc = case extname = File.extname(filename)
|
|
193
|
-
when ".adoc"
|
|
194
|
-
puts "[metanorma] Processing: Asciidoctor input."
|
|
195
|
-
file = File.read(filename, encoding: "utf-8")
|
|
196
|
-
[file, processor.input_to_isodoc(file, filename)]
|
|
197
|
-
when ".xml"
|
|
198
|
-
puts "[metanorma] Processing: Metanorma XML input."
|
|
199
|
-
|
|
200
|
-
# TODO NN: this is a hack -- we should provide/bridge the
|
|
201
|
-
# document attributes in Metanorma XML
|
|
202
|
-
|
|
203
|
-
["", File.read(filename, encoding: "utf-8")]
|
|
204
|
-
else
|
|
205
|
-
warn "[metanorma] Error: file extension #{extname} is not supported."
|
|
206
|
-
exit 1
|
|
207
|
-
end
|
|
208
|
-
|
|
209
|
-
if options[:relaton]
|
|
210
|
-
xml = Nokogiri::XML(isodoc)
|
|
211
|
-
bibdata = xml.at("//bibdata") || xml.at("//xmlns:bibdata")
|
|
212
|
-
#docid = bibdata&.at("./xmlns:docidentifier")&.text || options[:filename]
|
|
213
|
-
#outname = docid.sub(/^\s+/, "").sub(/\s+$/, "").gsub(/\s+/, "-") + ".xml"
|
|
214
|
-
File.open(options[:relaton], "w:UTF-8") { |f| f.write bibdata.to_xml }
|
|
215
|
-
end
|
|
216
|
-
|
|
217
|
-
extensions.each do |ext|
|
|
218
|
-
isodoc_options = processor.extract_options(file)
|
|
219
|
-
isodoc_options[:datauriimage] = true if options[:datauriimage]
|
|
220
|
-
file_extension = processor.output_formats[ext]
|
|
221
|
-
outfilename = options[:filename].sub(/\.[^.]+$/, ".#{file_extension}")
|
|
222
|
-
processor.output(isodoc, outfilename, ext, isodoc_options)
|
|
223
|
-
if options[:wrapper] and /html$/.match file_extension
|
|
224
|
-
outfilename = outfilename.sub(/\.html$/, "")
|
|
225
|
-
FileUtils.mkdir_p outfilename
|
|
226
|
-
FileUtils.mv "#{outfilename}.html", outfilename
|
|
227
|
-
FileUtils.mv "#{outfilename}_images", outfilename
|
|
228
|
-
end
|
|
229
|
-
end
|
|
230
|
-
else
|
|
231
|
-
warn "[metanorma] Error: output format (#{options[:format]}) not supported."
|
|
232
|
-
exit 1
|
|
233
|
-
end
|
|
234
|
-
=end
|
|
235
|
-
|
|
236
137
|
Metanorma::Compile.new().compile(filename, options)
|
data/metanorma-cli.gemspec
CHANGED
|
@@ -47,6 +47,6 @@ Gem::Specification.new do |spec|
|
|
|
47
47
|
spec.add_runtime_dependency 'metanorma-ogc', "~> 0.0.1"
|
|
48
48
|
spec.add_runtime_dependency 'metanorma-nist', "~> 0.0.1"
|
|
49
49
|
spec.add_runtime_dependency 'isodoc', "~> 0.9.0"
|
|
50
|
-
spec.add_runtime_dependency 'metanorma', "~> 0.3.
|
|
50
|
+
spec.add_runtime_dependency 'metanorma', "~> 0.3.9"
|
|
51
51
|
spec.add_runtime_dependency 'nokogiri', ">= 1"
|
|
52
52
|
end
|
data/test.rxl
CHANGED
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
<bibdata type="article">
|
|
2
|
-
<title>
|
|
3
|
-
|
|
4
|
-
</title>
|
|
5
|
-
<title>
|
|
6
|
-
|
|
7
|
-
</title>
|
|
8
|
-
<docidentifier type="iso">ISO 123</docidentifier>
|
|
9
|
-
<docidentifier type="iso-structured">
|
|
10
|
-
<project-number>ISO 123</project-number>
|
|
11
|
-
</docidentifier>
|
|
12
|
-
<docnumber>123</docnumber>
|
|
13
|
-
<contributor>
|
|
14
|
-
<role type="author"/>
|
|
15
|
-
<organization>
|
|
16
|
-
<name>International Organization for Standardization</name>
|
|
17
|
-
<abbreviation>ISO</abbreviation>
|
|
18
|
-
</organization>
|
|
19
|
-
</contributor>
|
|
20
|
-
<contributor>
|
|
21
|
-
<role type="publisher"/>
|
|
22
|
-
<organization>
|
|
23
|
-
<name>International Organization for Standardization</name>
|
|
24
|
-
<abbreviation>ISO</abbreviation>
|
|
25
|
-
</organization>
|
|
26
|
-
</contributor>
|
|
27
|
-
|
|
28
|
-
<language>en</language>
|
|
29
|
-
<script>script.html</script>
|
|
30
|
-
<status>
|
|
31
|
-
<stage>60</stage>
|
|
32
|
-
<substage>60</substage>
|
|
33
|
-
</status>
|
|
34
|
-
<copyright>
|
|
35
|
-
<from>2019</from>
|
|
36
|
-
<owner>
|
|
37
|
-
<organization>
|
|
38
|
-
<name>International Organization for Standardization</name>
|
|
39
|
-
<abbreviation>ISO</abbreviation>
|
|
40
|
-
</organization>
|
|
41
|
-
</owner>
|
|
42
|
-
</copyright>
|
|
43
|
-
<editorialgroup>
|
|
44
|
-
<technical-committee/>
|
|
45
|
-
<subcommittee/>
|
|
46
|
-
<workgroup/>
|
|
47
|
-
</editorialgroup>
|
|
1
|
+
<bibdata type="article">
|
|
2
|
+
<title>
|
|
3
|
+
|
|
4
|
+
</title>
|
|
5
|
+
<title>
|
|
6
|
+
|
|
7
|
+
</title>
|
|
8
|
+
<docidentifier type="iso">ISO 123</docidentifier>
|
|
9
|
+
<docidentifier type="iso-structured">
|
|
10
|
+
<project-number>ISO 123</project-number>
|
|
11
|
+
</docidentifier>
|
|
12
|
+
<docnumber>123</docnumber>
|
|
13
|
+
<contributor>
|
|
14
|
+
<role type="author"/>
|
|
15
|
+
<organization>
|
|
16
|
+
<name>International Organization for Standardization</name>
|
|
17
|
+
<abbreviation>ISO</abbreviation>
|
|
18
|
+
</organization>
|
|
19
|
+
</contributor>
|
|
20
|
+
<contributor>
|
|
21
|
+
<role type="publisher"/>
|
|
22
|
+
<organization>
|
|
23
|
+
<name>International Organization for Standardization</name>
|
|
24
|
+
<abbreviation>ISO</abbreviation>
|
|
25
|
+
</organization>
|
|
26
|
+
</contributor>
|
|
27
|
+
|
|
28
|
+
<language>en</language>
|
|
29
|
+
<script>script.html</script>
|
|
30
|
+
<status>
|
|
31
|
+
<stage>60</stage>
|
|
32
|
+
<substage>60</substage>
|
|
33
|
+
</status>
|
|
34
|
+
<copyright>
|
|
35
|
+
<from>2019</from>
|
|
36
|
+
<owner>
|
|
37
|
+
<organization>
|
|
38
|
+
<name>International Organization for Standardization</name>
|
|
39
|
+
<abbreviation>ISO</abbreviation>
|
|
40
|
+
</organization>
|
|
41
|
+
</owner>
|
|
42
|
+
</copyright>
|
|
43
|
+
<editorialgroup>
|
|
44
|
+
<technical-committee/>
|
|
45
|
+
<subcommittee/>
|
|
46
|
+
<workgroup/>
|
|
47
|
+
</editorialgroup>
|
|
48
48
|
</bibdata>
|
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.1.
|
|
4
|
+
version: 1.1.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-03-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -310,14 +310,14 @@ dependencies:
|
|
|
310
310
|
requirements:
|
|
311
311
|
- - "~>"
|
|
312
312
|
- !ruby/object:Gem::Version
|
|
313
|
-
version: 0.3.
|
|
313
|
+
version: 0.3.9
|
|
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.3.
|
|
320
|
+
version: 0.3.9
|
|
321
321
|
- !ruby/object:Gem::Dependency
|
|
322
322
|
name: nokogiri
|
|
323
323
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -360,6 +360,7 @@ files:
|
|
|
360
360
|
- exe/metanorma
|
|
361
361
|
- exe/metanorma-manifest
|
|
362
362
|
- exe/metanorma.old
|
|
363
|
+
- extract/sourcecode/sourcecode-0000.txt
|
|
363
364
|
- i18n.yaml
|
|
364
365
|
- lib/metanorma-cli.rb
|
|
365
366
|
- lib/metanorma/cli.rb
|