metanorma-csa 1.4.3 → 1.4.4
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/lib/asciidoctor/csa/converter.rb +2 -2
- data/lib/asciidoctor/csa/csa.rng +1 -1
- data/lib/isodoc/csa/metadata.rb +1 -1
- data/lib/metanorma/csa/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 39b9bbb2fdda182fcb30aea6c694b1447f8cf20ef7ea77473c4157c638256c8b
|
|
4
|
+
data.tar.gz: cf509fbf6d98e06de5b5f21126f898c95092ace3ecbd54e6a784a7ee8dc2b158
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8daec0901b1e3067f9283ef7a0dc2c4c790ab8f0ca13ff1830248b61e91423f21e87cc17ed0e8222556b5b100a6beaa262ba40602e2e400f444c4ad929646c88
|
|
7
|
+
data.tar.gz: 1d9c174b82c0b5d1693f0de26f13bbedd7152bf6f7644f05931d3913aa117c78540f2eaa8fa6e7de09d647e0cf80d33b2eddaff752cad74bff613cc1c083cfa2
|
|
@@ -17,7 +17,7 @@ module Asciidoctor
|
|
|
17
17
|
# schema encapsulation of the document for validation
|
|
18
18
|
class Converter < Standoc::Converter
|
|
19
19
|
XML_ROOT_TAG = "csa-standard".freeze
|
|
20
|
-
XML_NAMESPACE = "https://www.metanorma.
|
|
20
|
+
XML_NAMESPACE = "https://www.metanorma.org/ns/csa".freeze
|
|
21
21
|
|
|
22
22
|
register_for CSA_TYPE
|
|
23
23
|
|
|
@@ -58,7 +58,7 @@ module Asciidoctor
|
|
|
58
58
|
dn = node.attr('docnumber')
|
|
59
59
|
if docstatus
|
|
60
60
|
abbr = IsoDoc::Csa::Metadata.new('en', 'Latn', {})
|
|
61
|
-
.
|
|
61
|
+
.stage_abbr(docstatus)
|
|
62
62
|
dn = "#{dn}(#{abbr})" unless abbr.empty?
|
|
63
63
|
end
|
|
64
64
|
node.attr('copyright-year') && dn += ":#{node.attr('copyright-year')}"
|
data/lib/asciidoctor/csa/csa.rng
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<grammar ns="https://www.metanorma.
|
|
2
|
+
<grammar ns="https://www.metanorma.org/ns/csa" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
|
|
3
3
|
<!--
|
|
4
4
|
Currently we inherit from a namespaced grammar, isostandard. Until we inherit from isodoc,
|
|
5
5
|
we cannot have a new default namespace: we will end up with a grammar with two different
|
data/lib/isodoc/csa/metadata.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: metanorma-csa
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.4.
|
|
4
|
+
version: 1.4.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-02-
|
|
11
|
+
date: 2020-02-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: htmlentities
|