metanorma 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f58eea8d81a80f20ba3729359a18cbe7f8ab9796
4
- data.tar.gz: 0a6ab0db7db9cf8df23d352d617ce2c3013b1e8d
3
+ metadata.gz: dcc404bc49c5430dc6d35a87f0b09c281fddc0e7
4
+ data.tar.gz: a7541af56c0e18246d3d5187dcef6ee2365c1406
5
5
  SHA512:
6
- metadata.gz: aded98acd0cf4d565ed8708677a0d0ec9edaffedd77897b252638b95be4539cb3aeeee935d3e474d91d44932a72c81f9f7de4c954ebfe95b7e030871ccae1d2f
7
- data.tar.gz: 45c3a389ebdb0ed01c7e1da1ecd48da4d00aae2d40cc8a8766aa3fbae715ab0ea490ec606180de6b5eb614b25f8c37f0b4839a62036d2b52cf80df3b4fb4970e
6
+ metadata.gz: 39142717ffe33f72fa948ba5ab748643f2b61454f93dff1e97561bafa6e6508a62c6ba1f32682c6f8ad87d9d9e5b5db749df6d4fbdb15e9ec1b3425ed9aab494
7
+ data.tar.gz: 64456db2d03469a3e86ee1758ba5b5cf8b7be0f6f5114c3136f970f73f82791978a713de630635f9ff14273202eb880e825b183b1a5d30405bf9e3b7667ebbe4
@@ -1,4 +1,12 @@
1
1
  == Changelog
2
2
 
3
+ === 0.1.2 [05-17-2018]
4
+
5
+ * Added CSA Normal Document (CSAND) processor
6
+
7
+ === 0.1.1 [05-15-2018]
8
+
9
+ * Improved usage of metanorma executable
10
+
3
11
  === 0.1.0 [05-12-2018]
4
12
  * Initial push
@@ -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
@@ -34,6 +34,12 @@ supported_backends = [
34
34
  asciidoctor_backend: "csd"
35
35
  },
36
36
 
37
+ {
38
+ short: :csand,
39
+ load_path: "asciidoctor/csand/converter",
40
+ asciidoctor_backend: "csand"
41
+ },
42
+
37
43
  # {
38
44
  # short: :rsd,
39
45
  # load_path: "asciidoctor/rsd/converter",
@@ -1,3 +1,3 @@
1
1
  module Metanorma
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
@@ -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.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-14 00:00:00.000000000 Z
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: