metanorma-mpfa 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/asciidoctor/mpfa/converter.rb +2 -31
- data/lib/metanorma/mpfa/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: bcb79c6298d6dd5189b9bf3809998660ac356c4bc189bd73c8a021260bb04436
|
4
|
+
data.tar.gz: eca31075ff6776f0eb12e42aa6414bae5dfb0675331bb5049f710f2ed0126ef9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4846d2afc61d7cad3db0414dba187d3be7da8eb28d318fdf0fc38cd84dc14f5af4b4f41d7bfdeb942286c32b4403b3603d7805c549c1d526c7c3aaf529ec5bc8
|
7
|
+
data.tar.gz: 7fb4887141cbb59686867fb67efe4e7fb218b596447088ace45be8ad65428650cdd64db23775e8a978efc9165e8981dbb1972ecb417de08c3155175d4e35b0c6
|
@@ -19,24 +19,8 @@ module Asciidoctor
|
|
19
19
|
|
20
20
|
register_for "mpfa"
|
21
21
|
|
22
|
-
def
|
23
|
-
|
24
|
-
c.role **{ type: "author" }
|
25
|
-
c.organization do |a|
|
26
|
-
a.name "Mandatory Provident Fund Schemes Authority"
|
27
|
-
a.abbreviation "MPFA"
|
28
|
-
end
|
29
|
-
end
|
30
|
-
end
|
31
|
-
|
32
|
-
def metadata_publisher(node, xml)
|
33
|
-
xml.contributor do |c|
|
34
|
-
c.role **{ type: "publisher" }
|
35
|
-
c.organization do |a|
|
36
|
-
a.name "Mandatory Provident Fund Schemes Authority"
|
37
|
-
a.abbreviation "MPFA"
|
38
|
-
end
|
39
|
-
end
|
22
|
+
def default_publisher
|
23
|
+
"Mandatory Provident Fund Schemes Authority"
|
40
24
|
end
|
41
25
|
|
42
26
|
def metadata_committee(node, xml)
|
@@ -58,19 +42,6 @@ module Asciidoctor
|
|
58
42
|
xml.docnumber { |i| i << node.attr("docnumber") }
|
59
43
|
end
|
60
44
|
|
61
|
-
def metadata_copyright(node, xml)
|
62
|
-
from = node.attr("copyright-year") || Date.today.year
|
63
|
-
xml.copyright do |c|
|
64
|
-
c.from from
|
65
|
-
c.owner do |owner|
|
66
|
-
owner.organization do |o|
|
67
|
-
o.name "Mandatory Provident Fund Schemes Authority"
|
68
|
-
o.abbreviation "MPFA"
|
69
|
-
end
|
70
|
-
end
|
71
|
-
end
|
72
|
-
end
|
73
|
-
|
74
45
|
def title_validate(root)
|
75
46
|
nil
|
76
47
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: metanorma-mpfa
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
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-
|
11
|
+
date: 2020-08-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: htmlentities
|