metanorma 0.1.1 → 0.1.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 +4 -4
- data/CHANGELOG.adoc +8 -0
- data/README.adoc +15 -1
- data/exe/metanorma +6 -0
- data/lib/metanorma/version.rb +1 -1
- data/metanorma.gemspec +1 -0
- metadata +16 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dcc404bc49c5430dc6d35a87f0b09c281fddc0e7
|
|
4
|
+
data.tar.gz: a7541af56c0e18246d3d5187dcef6ee2365c1406
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 39142717ffe33f72fa948ba5ab748643f2b61454f93dff1e97561bafa6e6508a62c6ba1f32682c6f8ad87d9d9e5b5db749df6d4fbdb15e9ec1b3425ed9aab494
|
|
7
|
+
data.tar.gz: 64456db2d03469a3e86ee1758ba5b5cf8b7be0f6f5114c3136f970f73f82791978a713de630635f9ff14273202eb880e825b183b1a5d30405bf9e3b7667ebbe4
|
data/CHANGELOG.adoc
CHANGED
data/README.adoc
CHANGED
|
@@ -20,6 +20,7 @@ Metanorma includes the following sub-projects:
|
|
|
20
20
|
* ISO Standards: the AsciiISO syntax, the https://github.com/riboseinc/isodoc-models/[IsoDoc Models], the https://github.com/riboseinc/asciidoctor-iso/[asciidoctor-iso IsoDoc implementation]
|
|
21
21
|
* CalConnect Standard Documents (CSD): the AsciiCSD syntax, https://github.com/riboseinc/csd[CSD Models], the https://github.com/riboseinc/asciidoctor-csd/[asciidoctor-csd implementation]
|
|
22
22
|
* Chinese GuoBiao (GB) Standards: the AsciiGB syntax, https://github.com/riboseinc/gbdoc[GbDoc Models], the https://github.com/riboseinc/asciidoctor-gb/[asciidoctor-gb implementation]
|
|
23
|
+
* Cloud Security Alliance Normal Documents (CSAND): the AsciiCSAND syntax, https://github.com/riboseinc/csand[CSAND Models], the https://github.com/riboseinc/asciidoctor-csand/[asciidoctor-csand implementation]
|
|
23
24
|
//* Ribose Specification Documents (RSD): AsciiRSD, RSD XML schema, and the https://github.com/riboseinc/asciidoctor-rsd[asciidoctor-rsd implementation]
|
|
24
25
|
|
|
25
26
|
|
|
@@ -35,6 +36,19 @@ gem install metanorma
|
|
|
35
36
|
|
|
36
37
|
== Usage
|
|
37
38
|
|
|
39
|
+
Help command:
|
|
40
|
+
|
|
41
|
+
[source,sh]
|
|
42
|
+
----
|
|
43
|
+
$ metanorma -h
|
|
44
|
+
Usage: metanorma [options] <file>
|
|
45
|
+
-t, --type TYPE Type of standard to generate: rfc2, rfc3, iso, gb, csd
|
|
46
|
+
-f, --format FORMAT Format of source file: asciidoc (current default, only format supported)
|
|
47
|
+
-h, --help Show this message
|
|
48
|
+
----
|
|
49
|
+
|
|
50
|
+
Basically it is used like this:
|
|
51
|
+
|
|
38
52
|
[source,sh]
|
|
39
53
|
----
|
|
40
54
|
metanorma --type <chosen-type> [--format input-format] iso-my-standard-document.adoc
|
|
@@ -43,7 +57,7 @@ metanorma --type <chosen-type> [--format input-format] iso-my-standard-document.
|
|
|
43
57
|
Options:
|
|
44
58
|
|
|
45
59
|
//, `rsd`
|
|
46
|
-
`type`:: (specified via `--type` or `-t`) takes one of the following types:
|
|
60
|
+
`type`:: (mandatory, specified via `--type` or `-t`) takes one of the following types:
|
|
47
61
|
`rfc2`, `rfc3`, `iso`, `gb`, `csd`
|
|
48
62
|
|
|
49
63
|
`format`:: (specified via `--format` or `-f`) only accepts `asciidoc` for now
|
data/exe/metanorma
CHANGED
data/lib/metanorma/version.rb
CHANGED
data/metanorma.gemspec
CHANGED
|
@@ -31,5 +31,6 @@ Gem::Specification.new do |spec|
|
|
|
31
31
|
spec.add_runtime_dependency 'asciidoctor-rfc'
|
|
32
32
|
spec.add_runtime_dependency 'asciidoctor-gb'
|
|
33
33
|
spec.add_runtime_dependency 'asciidoctor-csd'
|
|
34
|
+
spec.add_runtime_dependency 'asciidoctor-csand'
|
|
34
35
|
# spec.add_runtime_dependency 'asciidoctor-rsd'
|
|
35
36
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: metanorma
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.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: 2018-05-
|
|
11
|
+
date: 2018-05-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -108,6 +108,20 @@ dependencies:
|
|
|
108
108
|
- - ">="
|
|
109
109
|
- !ruby/object:Gem::Version
|
|
110
110
|
version: '0'
|
|
111
|
+
- !ruby/object:Gem::Dependency
|
|
112
|
+
name: asciidoctor-csand
|
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
|
114
|
+
requirements:
|
|
115
|
+
- - ">="
|
|
116
|
+
- !ruby/object:Gem::Version
|
|
117
|
+
version: '0'
|
|
118
|
+
type: :runtime
|
|
119
|
+
prerelease: false
|
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
121
|
+
requirements:
|
|
122
|
+
- - ">="
|
|
123
|
+
- !ruby/object:Gem::Version
|
|
124
|
+
version: '0'
|
|
111
125
|
description: Metanorma is the standard of standards; the metanorma gem allows you
|
|
112
126
|
to create any standard document type supported by Metanorma.
|
|
113
127
|
email:
|