asciidoctor-csd 0.4.5 → 0.4.6

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
  SHA256:
3
- metadata.gz: db09e64e71d053c8d6f96dace3585128671e73b2d17fa457c94874437d395be6
4
- data.tar.gz: 229faf5e732ae9dab4c76439f8f68bde91d7fd6bbee0f8c19c3456f0953393b3
3
+ metadata.gz: c4f6402e466e5c7298fa452d547effe17cf805ec35c02debe05496a40828a878
4
+ data.tar.gz: 1513ffd17d5d8d866ffd898b2e5a417f9659d64d3138f384609a43dc999a9d92
5
5
  SHA512:
6
- metadata.gz: 92e902e976ab3c90c717bbde1d1fbbb2e0b1fad4bf9c7b8e6f7fb1f5677b9011afde70fab98aa202387e5318186384fa2fb090e0c96230541383900d417c7043
7
- data.tar.gz: 4a226694a83f6b0bdbd699bab3cc1f5986c81413834566752e544afbe964f2f74e559c3cf7822463740654a589ad60bae1ae441c3b1e6767f89d1caeba6f66bb
6
+ metadata.gz: 8fba9c2c502e1e33501f86521ca90e748e662138fd2dc1f0a237629e3cef0e259b2f5289b46ab77ddfe211f29a3e5f4acf80d06e98cc105148f244e244aeec0e
7
+ data.tar.gz: ca0a97d643b6c24d6111e89482bf4f098a72df8296d2249ac41f0f4299b49cc3da5713107e988ddc5772b8aca5ca64d1c7fa03e65a9ac6a3d768c0dd092b5889
@@ -1,9 +1,11 @@
1
- = AsciiCSD: Asciidoctor processor for CSD standards
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/asciidoctor-iso
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/asciidoctor-iso/wiki/Guidance-for-authoring
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 'asciidoctor-csd' a.adoc
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 asciidoctor-csd
74
+ $ gem install metanorma-csd
73
75
  ----
74
76
 
75
77
  === PDF output
@@ -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/asciidoctor-csd"
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" }
@@ -1,5 +1,5 @@
1
1
  module Asciidoctor
2
2
  module Csd
3
- VERSION = "0.4.5"
3
+ VERSION = "0.4.6"
4
4
  end
5
5
  end
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.5
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-13 00:00:00.000000000 Z
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/asciidoctor-csd
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