metanorma-m3d 1.3.12 → 1.3.13

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: e688454b176121c6a4313d1551080218953bcea841c3a23d055934b8eb41e2ea
4
- data.tar.gz: 7f95424aafec0949dcea8cff37ed912bb80b2eb8d369a86db1ef24dd45022f1e
3
+ metadata.gz: 86fa2152ceb45449f6559710ed82adec36388f847ae9ed672d80f4eff3e59e22
4
+ data.tar.gz: cba557dcf08d7d214dd4099178d547e202c205cb1cde5fb724c1a46928c86409
5
5
  SHA512:
6
- metadata.gz: ab649a96be0c1d9a999c6a3877c016fc043e315d9c285b020212f0758dc27338a5460a4f25cc28f72138d5a274f2b13c91cd8f5217cc122cd30edf1dc38ee2f9
7
- data.tar.gz: 2b8a85124e86dcfac55e42a65e3cf5f40756d293fc1bc8e7592c9ad8e909f997934fdb1333e1e52399d36cc7b96b96253e7240d001c852fd7a6663e6fb38e7fd
6
+ metadata.gz: bbec4fee53e5fe503ae5ef1bbb5b62f120fa489bdc984134476fd0b334524d209253e1cced6667659984af1f65683a1f5d60e7fd7f155b61245afc02c6477531
7
+ data.tar.gz: 2fc9c35f1bb71687af790b15f197676a0da922e7e7e6994f5e9ce9b1d3e94e336e19bdf8799b9abde9966fc7db21d1bb3c7adc07dc49ff4b3e5aa9ef883f800f
@@ -14,7 +14,7 @@ module Asciidoctor
14
14
  # schema encapsulation of the document for validation
15
15
  class Converter < Standoc::Converter
16
16
  XML_ROOT_TAG = "m3d-standard".freeze
17
- XML_NAMESPACE = "https://www.metanorma.com/ns/m3d".freeze
17
+ XML_NAMESPACE = "https://www.metanorma.org/ns/m3d".freeze
18
18
 
19
19
  register_for "m3d"
20
20
 
@@ -57,7 +57,7 @@ module Asciidoctor
57
57
  dn = node.attr("docnumber")
58
58
  if docstatus
59
59
  abbr = IsoDoc::M3d::Metadata.new("en", "Latn", {}).
60
- status_abbr(docstatus)
60
+ stage_abbr(docstatus)
61
61
  dn = "#{dn}(#{abbr})" unless abbr.empty?
62
62
  end
63
63
  node.attr("copyright-year") and 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/m3d" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
2
+ <grammar ns="https://www.metanorma.org/ns/m3d" 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
@@ -34,7 +34,7 @@ module IsoDoc
34
34
  set(:docnumber, docnumber&.text)
35
35
  end
36
36
 
37
- def status_abbr(status)
37
+ def stage_abbr(status)
38
38
  case status
39
39
  when "working-draft" then "wd"
40
40
  when "committee-draft" then "cd"
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module M3d
3
- VERSION = "1.3.12"
3
+ VERSION = "1.3.13"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-m3d
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.12
4
+ version: 1.3.13
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: asciimath