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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9ce33569ea88008ebeb2f7150a6b5de8aa2391b70494be286f61fc5cc38ccfc2
4
- data.tar.gz: 9fab89a455bea858f76cff7a610eec9c6dcab6a0eb1dd90e334822aaa26bdfad
3
+ metadata.gz: 39b9bbb2fdda182fcb30aea6c694b1447f8cf20ef7ea77473c4157c638256c8b
4
+ data.tar.gz: cf509fbf6d98e06de5b5f21126f898c95092ace3ecbd54e6a784a7ee8dc2b158
5
5
  SHA512:
6
- metadata.gz: 203c01464ba8fd4335237296f3f08fb84899f3416e59fc8f0c7d90686fdcd90163d22211156695e624ff7c01e160b4b661f77944d0d1044ae34c2642e863d7a4
7
- data.tar.gz: 4bb136bb2ce2537c71bf63a5aa030063e6bc32e96eedc3213229a5ebb3baa4cc9c90e26c95a82b61116f18bcc530373e94ea0cb3517fb7b844cbde958c51c862
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.com/ns/csa".freeze
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
- .status_abbr(docstatus)
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')}"
@@ -1,5 +1,5 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <grammar ns="https://www.metanorma.com/ns/csa" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
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
@@ -32,7 +32,7 @@ module IsoDoc
32
32
  set(:docnumber, docnumber&.text)
33
33
  end
34
34
 
35
- def status_abbr(status)
35
+ def stage_abbr(status)
36
36
  case status
37
37
  when "working-draft" then "wd"
38
38
  when "committee-draft" then "cd"
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Metanorma
4
4
  module Csa
5
- VERSION = '1.4.3'
5
+ VERSION = '1.4.4'
6
6
  end
7
7
  end
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.3
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-08 00:00:00.000000000 Z
11
+ date: 2020-02-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: htmlentities