metanorma-iho 0.6.5 → 0.6.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -225,9 +225,9 @@
225
225
  <zeroOrMore>
226
226
  <ref name="forename"/>
227
227
  </zeroOrMore>
228
- <zeroOrMore>
229
- <ref name="initial"/>
230
- </zeroOrMore>
228
+ <optional>
229
+ <ref name="formatted-initials"/>
230
+ </optional>
231
231
  <ref name="surname"/>
232
232
  <zeroOrMore>
233
233
  <ref name="addition"/>
@@ -247,8 +247,8 @@
247
247
  <ref name="LocalizedString"/>
248
248
  </element>
249
249
  </define>
250
- <define name="initial">
251
- <element name="initial">
250
+ <define name="formatted-initials">
251
+ <element name="formatted-initials">
252
252
  <ref name="LocalizedString"/>
253
253
  </element>
254
254
  </define>
@@ -264,6 +264,9 @@
264
264
  </define>
265
265
  <define name="forename">
266
266
  <element name="forename">
267
+ <optional>
268
+ <attribute name="initial"/>
269
+ </optional>
267
270
  <ref name="LocalizedString"/>
268
271
  </element>
269
272
  </define>
@@ -1285,7 +1285,12 @@
1285
1285
  </define>
1286
1286
  <define name="span">
1287
1287
  <element name="span">
1288
- <attribute name="class"/>
1288
+ <optional>
1289
+ <attribute name="class"/>
1290
+ </optional>
1291
+ <optional>
1292
+ <attribute name="style"/>
1293
+ </optional>
1289
1294
  <oneOrMore>
1290
1295
  <ref name="TextElement"/>
1291
1296
  </oneOrMore>
@@ -108,7 +108,7 @@
108
108
  </element>
109
109
  </define>
110
110
  <define name="label">
111
- <element name="label">
111
+ <element name="identifier">
112
112
  <oneOrMore>
113
113
  <ref name="TextElement"/>
114
114
  </oneOrMore>
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module IHO
3
- VERSION = "0.6.5".freeze
3
+ VERSION = "0.6.8".freeze
4
4
  end
5
5
  end
data/lib/metanorma-iho.rb CHANGED
@@ -6,8 +6,9 @@ require_relative "isodoc/iho/word_convert"
6
6
  require_relative "isodoc/iho/pdf_convert"
7
7
  require_relative "isodoc/iho/presentation_xml_convert"
8
8
  require_relative "metanorma/iho/version"
9
+ require "metanorma"
9
10
 
10
- if defined? Metanorma
11
+ if defined? Metanorma::Registry
11
12
  require_relative "metanorma/iho"
12
13
  Metanorma::Registry.instance.register(Metanorma::IHO::Processor)
13
14
  end
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
26
26
  spec.require_paths = ["lib"]
27
27
  spec.required_ruby_version = Gem::Requirement.new(">= 2.5.0")
28
28
 
29
- spec.add_dependency "metanorma-generic", "~> 2.1.1"
29
+ spec.add_dependency "metanorma-generic", "~> 2.2.0"
30
30
 
31
31
  spec.add_development_dependency "debug"
32
32
  spec.add_development_dependency "equivalent-xml", "~> 0.6"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-iho
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.5
4
+ version: 0.6.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-07-18 00:00:00.000000000 Z
11
+ date: 2022-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: metanorma-generic
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 2.1.1
19
+ version: 2.2.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 2.1.1
26
+ version: 2.2.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: debug
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -175,6 +175,7 @@ extensions: []
175
175
  extra_rdoc_files: []
176
176
  files:
177
177
  - ".github/workflows/rake.yml"
178
+ - ".github/workflows/release.yml"
178
179
  - ".gitignore"
179
180
  - ".hound.yml"
180
181
  - ".rubocop.yml"
@@ -190,9 +191,7 @@ files:
190
191
  - lib/isodoc/iho/html/header.html
191
192
  - lib/isodoc/iho/html/html_iho_intro.html
192
193
  - lib/isodoc/iho/html/html_iho_titlepage.html
193
- - lib/isodoc/iho/html/htmlstyle.css
194
194
  - lib/isodoc/iho/html/htmlstyle.scss
195
- - lib/isodoc/iho/html/iho.css
196
195
  - lib/isodoc/iho/html/iho.scss
197
196
  - lib/isodoc/iho/html/image001.png
198
197
  - lib/isodoc/iho/html/image002.png
@@ -202,7 +201,6 @@ files:
202
201
  - lib/isodoc/iho/html/scripts.html
203
202
  - lib/isodoc/iho/html/word_iho_intro.html
204
203
  - lib/isodoc/iho/html/word_iho_titlepage.html
205
- - lib/isodoc/iho/html/wordstyle.css
206
204
  - lib/isodoc/iho/html/wordstyle.scss
207
205
  - lib/isodoc/iho/html_convert.rb
208
206
  - lib/isodoc/iho/i18n-en.yaml
@@ -235,7 +233,7 @@ homepage: https://github.com/metanorma/metanorma-iho
235
233
  licenses:
236
234
  - BSD-2-Clause
237
235
  metadata: {}
238
- post_install_message:
236
+ post_install_message:
239
237
  rdoc_options: []
240
238
  require_paths:
241
239
  - lib
@@ -250,8 +248,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
250
248
  - !ruby/object:Gem::Version
251
249
  version: '0'
252
250
  requirements: []
253
- rubygems_version: 3.3.16
254
- signing_key:
251
+ rubygems_version: 3.1.6
252
+ signing_key:
255
253
  specification_version: 4
256
254
  summary: metanorma-iho lets you write IHO in AsciiDoc.
257
255
  test_files: []