metanorma-m3d 1.2.3 → 1.3.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: 382724f2cf76c9534b883fc02b526d317464593b88799713bb0b11862d357acf
4
- data.tar.gz: db3c70d3c505e586b68c39ced735c9126fd1fa0d38aa5bf82deb8c0d6d6738d9
3
+ metadata.gz: 1abfb217b900914c9a4219f09fd42bebeee69e63ee15e776b71b91f4e498dbc1
4
+ data.tar.gz: 37cf05ab03c70f1f499d1cfc6c2dd5d6e9271d64519d75e4cbc475a1aa6d2dd7
5
5
  SHA512:
6
- metadata.gz: 9d300572faf49662d63cd421d89c8267379e83fb9a3048ecc8ff81d787ee05a4c36cae3edba6b18d57b89323d5a56aa4673b609c2f894170ab5e6f62a7566a6c
7
- data.tar.gz: 83a13f0698c525ffe457f681618e6a80f079487e8fa32322283104f02b4f0523006c20ffd5e0dba011fc95aa7e739092cbdc31e03cd47c38f0145f186312ea8c
6
+ metadata.gz: 94855e70d1b34e340bd0a88ec64d8b87478a1a1dd309b8eec48590e0e6c93ed78e1971496450eb04e3ce2243c738f8bf45c94bc9de258ae066301dfed59143f9
7
+ data.tar.gz: f451813ecc97e7244f1148eb37606eba41a40b4594b7dfd67105f032f0f391884e008f41d195d77b52a2ab7695cc2e1b5f91baded157cd350995f17ea173ce15
@@ -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>
@@ -61,10 +61,6 @@ module IsoDoc
61
61
  end
62
62
  end
63
63
 
64
- def html_toc(docxml)
65
- docxml
66
- end
67
-
68
64
  include BaseRender
69
65
  end
70
66
  end
@@ -48,6 +48,8 @@ module IsoDoc
48
48
 
49
49
  def make_body(xml, docxml)
50
50
  body_attr = { lang: "EN-US", link: "blue", vlink: "#954F72" }
51
+ FileUtils.rm_rf tmpimagedir
52
+ FileUtils.mkdir tmpimagedir
51
53
  xml.body **body_attr do |body|
52
54
  make_body2(body, docxml)
53
55
  make_body3(body, docxml)
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module M3d
3
- VERSION = "1.2.3"
3
+ VERSION = "1.3.0"
4
4
  end
5
5
  end
@@ -38,8 +38,8 @@ Gem::Specification.new do |spec|
38
38
  spec.add_dependency "thread_safe"
39
39
  spec.add_dependency "uuidtools"
40
40
 
41
- spec.add_dependency "metanorma-standoc", "~> 1.2.0"
42
- spec.add_dependency "isodoc", "~> 0.10.0"
41
+ spec.add_dependency "metanorma-standoc", "~> 1.3.0"
42
+ spec.add_dependency "isodoc", "~> 1.0.0"
43
43
 
44
44
  spec.add_development_dependency "bundler", "~> 2.0.1"
45
45
  spec.add_development_dependency "byebug", "~> 9.1"
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.2.3
4
+ version: 1.3.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
@@ -142,28 +142,28 @@ dependencies:
142
142
  requirements:
143
143
  - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: 1.2.0
145
+ version: 1.3.0
146
146
  type: :runtime
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - "~>"
151
151
  - !ruby/object:Gem::Version
152
- version: 1.2.0
152
+ version: 1.3.0
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: isodoc
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
157
  - - "~>"
158
158
  - !ruby/object:Gem::Version
159
- version: 0.10.0
159
+ version: 1.0.0
160
160
  type: :runtime
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - "~>"
165
165
  - !ruby/object:Gem::Version
166
- version: 0.10.0
166
+ version: 1.0.0
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: bundler
169
169
  requirement: !ruby/object:Gem::Requirement