metanorma-unece 0.1.4 → 0.2.0

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: 58d543ddb6a0f8255d65606fa5175f82b55d2d5561ec6bf59bb0c5a3b3b5f00a
4
- data.tar.gz: 203aa9831e2de8afa339988687d0fa164e93330cebd6a65d8a9eabb41bb51bb1
3
+ metadata.gz: 82c910b91fc9c033669fdbedc28b9648dc7ba703e14fe78a969c9b641420f170
4
+ data.tar.gz: 437209cfd7bd4894a8c027c8f12478e58393f4edb624b8429bca91006df4f0a9
5
5
  SHA512:
6
- metadata.gz: 23f7e09c0675fe447ab4c8610d7732774ca1b885b98a902a6a58291502087ca691f6dcc91159543eade46b086d3d853c672371069b4e105229bb9ced8338e511
7
- data.tar.gz: 6f49e79234c656c6b276a93e41971df6a41664c1798b5f078d673e9aa4c224e7150a7354596091735efdd9783555f7bbdc06349f496eabbb51fb3d4e2213add0
6
+ metadata.gz: 36170397d678e7471b011966de16872d6fd3c7d4d4e4a0eb6b2a36b8f19e3453601cb9590a065f41637df89972cb3b496aeeba2be3aeaa6c740db8f2e641e3c5
7
+ data.tar.gz: 2da8e1d297626154bcb9df8c0c18782a457be52f2f6e3d135f3b7420f6573305624770f6182a3026be3fc853ef9dc5f169354780f00a9949af58bc0ab233c7fd
@@ -87,7 +87,7 @@
87
87
  </element>
88
88
  </define>
89
89
  <define name="reqinherit">
90
- <element name="subject">
90
+ <element name="inherit">
91
91
  <text/>
92
92
  </element>
93
93
  </define>
@@ -182,7 +182,7 @@ module IsoDoc
182
182
  end
183
183
 
184
184
  def admonition_name_parse(node, div, name)
185
- div.p **{ class: "FigureTitle", align: "center" } do |p|
185
+ div.p **{ class: "FigureTitle", style: "text-align:center;" } do |p|
186
186
  lbl = anchor(node['id'], :label)
187
187
  lbl.nil? or p << l10n("#{@admonition_lbl} #{lbl}")
188
188
  name and !lbl.nil? and p << "&nbsp;&mdash; "
@@ -104,10 +104,6 @@ module IsoDoc
104
104
  bibliography isoxml, out
105
105
  end
106
106
 
107
- def html_toc(docxml)
108
- docxml
109
- end
110
-
111
107
  def clause_parse_title(node, div, c1, out)
112
108
  if node["inline-header"] == "true"
113
109
  inline_header_title(out, node, c1)
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Unece
3
- VERSION = "0.1.4"
3
+ VERSION = "0.2.0"
4
4
  end
5
5
  end
@@ -31,8 +31,8 @@ Gem::Specification.new do |spec|
31
31
  spec.add_dependency "twitter_cldr"
32
32
  spec.add_dependency "iso-639"
33
33
 
34
- spec.add_dependency "metanorma-standoc", "~> 1.2.0"
35
- spec.add_dependency "isodoc", "~> 0.10.0"
34
+ spec.add_dependency "metanorma-standoc", "~> 1.3.0"
35
+ spec.add_dependency "isodoc", "~> 1.0.0"
36
36
 
37
37
  spec.add_development_dependency "bundler", "~> 2.0.1"
38
38
  spec.add_development_dependency "byebug", "~> 9.1"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-unece
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-08-04 00:00:00.000000000 Z
11
+ date: 2019-08-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: asciidoctor
@@ -100,28 +100,28 @@ dependencies:
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 1.2.0
103
+ version: 1.3.0
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
- version: 1.2.0
110
+ version: 1.3.0
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: isodoc
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: 0.10.0
117
+ version: 1.0.0
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
- version: 0.10.0
124
+ version: 1.0.0
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: bundler
127
127
  requirement: !ruby/object:Gem::Requirement