asciidoctor-csd 0.4.5 → 0.4.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/README.adoc +7 -5
- data/asciidoctor-csd.gemspec +2 -1
- data/lib/asciidoctor/csd/converter.rb +5 -0
- data/lib/asciidoctor/csd/version.rb +1 -1
- 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: c4f6402e466e5c7298fa452d547effe17cf805ec35c02debe05496a40828a878
|
4
|
+
data.tar.gz: 1513ffd17d5d8d866ffd898b2e5a417f9659d64d3138f384609a43dc999a9d92
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8fba9c2c502e1e33501f86521ca90e748e662138fd2dc1f0a237629e3cef0e259b2f5289b46ab77ddfe211f29a3e5f4acf80d06e98cc105148f244e244aeec0e
|
7
|
+
data.tar.gz: ca0a97d643b6c24d6111e89482bf4f098a72df8296d2249ac41f0f4299b49cc3da5713107e988ddc5772b8aca5ca64d1c7fa03e65a9ac6a3d768c0dd092b5889
|
data/README.adoc
CHANGED
@@ -1,9 +1,11 @@
|
|
1
|
-
= AsciiCSD:
|
1
|
+
= AsciiCSD: Metanorma processor for CSD standards
|
2
2
|
|
3
3
|
image:https://img.shields.io/gem/v/asciidoctor-csd.svg["Gem Version", link="https://rubygems.org/gems/asciidoctor-csd"]
|
4
4
|
image:https://img.shields.io/travis/riboseinc/asciidoctor-csd/master.svg["Build Status", link="https://travis-ci.org/riboseinc/asciidoctor-csd"]
|
5
5
|
image:https://codeclimate.com/github/riboseinc/asciidoctor-csd/badges/gpa.svg["Code Climate", link="https://codeclimate.com/github/riboseinc/asciidoctor-csd"]
|
6
6
|
|
7
|
+
_Formerly known as_ `asciidoctor-csd`.
|
8
|
+
|
7
9
|
WARNING: This gem is still under development.
|
8
10
|
|
9
11
|
== Functionality
|
@@ -11,9 +13,9 @@ WARNING: This gem is still under development.
|
|
11
13
|
This gem processes http://asciidoctor.org/[Asciidoctor] documents following
|
12
14
|
a template for generating CSD International Standards.
|
13
15
|
|
14
|
-
The gem currently inherits from the https://github.com/riboseinc/
|
16
|
+
The gem currently inherits from the https://github.com/riboseinc/metanorma-iso
|
15
17
|
gem, and aligns closely to it. Refer to the ISO gem
|
16
|
-
for guidance, including https://github.com/riboseinc/
|
18
|
+
for guidance, including https://github.com/riboseinc/metanorma-iso/wiki/Guidance-for-authoring
|
17
19
|
|
18
20
|
The following outputs are generated.
|
19
21
|
|
@@ -57,7 +59,7 @@ The gem can also be invoked directly within asciidoctor, though this is deprecat
|
|
57
59
|
|
58
60
|
[source,console]
|
59
61
|
----
|
60
|
-
$ asciidoctor -b csd -r '
|
62
|
+
$ asciidoctor -b csd -r 'metanorma-csd' a.adoc
|
61
63
|
----
|
62
64
|
|
63
65
|
=== Installation
|
@@ -69,7 +71,7 @@ scripts such as this one. You need only run the following in a Terminal console:
|
|
69
71
|
[source,console]
|
70
72
|
----
|
71
73
|
$ bash <(curl -s https://raw.githubusercontent.com/riboseinc/metanorma-macos-setup/master/metanorma-setup)
|
72
|
-
$ gem install
|
74
|
+
$ gem install metanorma-csd
|
73
75
|
----
|
74
76
|
|
75
77
|
=== PDF output
|
data/asciidoctor-csd.gemspec
CHANGED
@@ -15,8 +15,9 @@ Gem::Specification.new do |spec|
|
|
15
15
|
This gem is in active development.
|
16
16
|
DESCRIPTION
|
17
17
|
|
18
|
-
spec.homepage = "https://github.com/riboseinc/
|
18
|
+
spec.homepage = "https://github.com/riboseinc/metanorma-csd"
|
19
19
|
spec.license = "BSD-2-Clause"
|
20
|
+
spec.post_install_message = "The asciidoctor-csd gem has been deprecated and has been replaced by metanorma-csd"
|
20
21
|
|
21
22
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
22
23
|
f.match(%r{^(test|spec|features)/})
|
@@ -13,6 +13,11 @@ module Asciidoctor
|
|
13
13
|
|
14
14
|
register_for "csd"
|
15
15
|
|
16
|
+
def initialize(backend, opts)
|
17
|
+
super
|
18
|
+
warn "The asciidoctor-csd gem has been deprecated and has been replaced by metanorma-csd"
|
19
|
+
end
|
20
|
+
|
16
21
|
def metadata_author(node, xml)
|
17
22
|
xml.contributor do |c|
|
18
23
|
c.role **{ type: "author" }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: asciidoctor-csd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.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: 2018-08-
|
11
|
+
date: 2018-08-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: asciidoctor-iso
|
@@ -235,11 +235,12 @@ files:
|
|
235
235
|
- lib/isodoc/csd/metadata.rb
|
236
236
|
- lib/metanorma/csd.rb
|
237
237
|
- lib/metanorma/csd/processor.rb
|
238
|
-
homepage: https://github.com/riboseinc/
|
238
|
+
homepage: https://github.com/riboseinc/metanorma-csd
|
239
239
|
licenses:
|
240
240
|
- BSD-2-Clause
|
241
241
|
metadata: {}
|
242
|
-
post_install_message:
|
242
|
+
post_install_message: The asciidoctor-csd gem has been deprecated and has been replaced
|
243
|
+
by metanorma-csd
|
243
244
|
rdoc_options: []
|
244
245
|
require_paths:
|
245
246
|
- lib
|