metanorma-generic 1.6.0 → 1.6.1

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: 3e817f19db29a3edb02be3d16087975c2fbacc77e210288cce9389c8f988687c
4
- data.tar.gz: 2f3aaa80cc738cb89e1465a769b98716de796fb33235d9e76867d91d3581310e
3
+ metadata.gz: b73bf6f76844d72f936a43ae9854fd9c56c0971404fb29a6e0749fd0882ec073
4
+ data.tar.gz: d62573d1a7fa43a18a64d256df76fb46672339b14166b65d9d3bb8377a5d8e06
5
5
  SHA512:
6
- metadata.gz: 9c3aa01d6ed22902d8d5f45166a9fa7c8bf1fe341ab4237cae173c2ee332e25c8bf4117ca0ee5f287ec1d84c2317d4e68196fa1794331b36ee1cd64a5459c182
7
- data.tar.gz: d545baf6c6822b5ff93baf8db5b23f22817214f556029ff1e531eca1762429440fb95f4ce3f849e2f2ba13a7cfe7aeb5dbabbdfac040fe5f409aa9a7a91b8219
6
+ metadata.gz: 92f06b85bc9aa9ec83e88903bed4e2530d4ac5b0c1f064e4a1034af9869944af2620a78a4908c7e3b93a8877f5153c45528f21decf6e17599825203cb8ddcf46
7
+ data.tar.gz: c5ede8599a30d940c5633dbb63e97bdf37ad1edc700561fddb4e2186ee09eb081bb27b0451dd79d508d0c7b4aa70480c8ae6426446d925cd280a37377459d90a
@@ -28,23 +28,8 @@ module Asciidoctor
28
28
  self.class::_file || __FILE__), "..", "..", "..", loc))
29
29
  end
30
30
 
31
- def metadata_author(node, xml)
32
- xml.contributor do |c|
33
- c.role **{ type: "author" }
34
- c.organization do |a|
35
- a.name configuration.organization_name_long
36
- end
37
- end
38
- personal_author(node, xml)
39
- end
40
-
41
- def metadata_publisher(node, xml)
42
- xml.contributor do |c|
43
- c.role **{ type: "publisher" }
44
- c.organization do |a|
45
- a.name configuration.organization_name_long
46
- end
47
- end
31
+ def default_publisher
32
+ configuration.organization_name_long
48
33
  end
49
34
 
50
35
  def metadata_committee(node, xml)
@@ -86,18 +71,6 @@ module Asciidoctor
86
71
  xml.docnumber { |i| i << node.attr("docnumber") }
87
72
  end
88
73
 
89
- def metadata_copyright(node, xml)
90
- from = node.attr("copyright-year") || Date.today.year
91
- xml.copyright do |c|
92
- c.from from
93
- c.owner do |owner|
94
- owner.organization do |o|
95
- o.name configuration.organization_name_long
96
- end
97
- end
98
- end
99
- end
100
-
101
74
  def metadata_ext(node, ext)
102
75
  super
103
76
  Array(configuration.metadata_extensions).each do |e|
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Generic
3
- VERSION = "1.6.0"
3
+ VERSION = "1.6.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-generic
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.6.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-07-29 00:00:00.000000000 Z
11
+ date: 2020-08-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: htmlentities