metanorma-ribose 2.1.5 → 2.1.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 Ribose
3
- VERSION = "2.1.5".freeze
3
+ VERSION = "2.1.8".freeze
4
4
  end
5
5
  end
@@ -7,8 +7,9 @@ require_relative "isodoc/ribose/pdf_convert"
7
7
  require_relative "isodoc/ribose/presentation_xml_convert"
8
8
  require_relative "isodoc/ribose/xref"
9
9
  require_relative "metanorma/ribose/version"
10
+ require "metanorma"
10
11
 
11
- if defined? Metanorma
12
+ if defined? Metanorma::Registry
12
13
  require_relative "metanorma/ribose"
13
14
  Metanorma::Registry.instance.register(Metanorma::Ribose::Processor)
14
15
  end
@@ -28,7 +28,7 @@ Gem::Specification.new do |spec|
28
28
  spec.require_paths = ["lib"]
29
29
  spec.required_ruby_version = Gem::Requirement.new(">= 2.5.0")
30
30
 
31
- spec.add_dependency "metanorma-generic", "~> 2.1.1"
31
+ spec.add_dependency "metanorma-generic", "~> 2.2.0"
32
32
 
33
33
  spec.add_development_dependency "debug"
34
34
  spec.add_development_dependency "equivalent-xml", "~> 0.6"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-ribose
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.5
4
+ version: 2.1.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
@@ -177,6 +177,7 @@ extensions: []
177
177
  extra_rdoc_files: []
178
178
  files:
179
179
  - ".github/workflows/rake.yml"
180
+ - ".github/workflows/release.yml"
180
181
  - ".gitignore"
181
182
  - ".hound.yml"
182
183
  - ".rubocop.yml"
@@ -192,16 +193,13 @@ files:
192
193
  - lib/isodoc/ribose/html/header.html
193
194
  - lib/isodoc/ribose/html/html_rsd_intro.html
194
195
  - lib/isodoc/ribose/html/html_rsd_titlepage.html
195
- - lib/isodoc/ribose/html/htmlstyle.css
196
196
  - lib/isodoc/ribose/html/htmlstyle.scss
197
197
  - lib/isodoc/ribose/html/logo.png
198
198
  - lib/isodoc/ribose/html/logo.svg
199
- - lib/isodoc/ribose/html/rsd.css
200
199
  - lib/isodoc/ribose/html/rsd.scss
201
200
  - lib/isodoc/ribose/html/scripts.html
202
201
  - lib/isodoc/ribose/html/word_rsd_intro.html
203
202
  - lib/isodoc/ribose/html/word_rsd_titlepage.html
204
- - lib/isodoc/ribose/html/wordstyle.css
205
203
  - lib/isodoc/ribose/html/wordstyle.scss
206
204
  - lib/isodoc/ribose/html_convert.rb
207
205
  - lib/isodoc/ribose/i18n-en.yaml
@@ -229,7 +227,7 @@ homepage: https://github.com/metanorma/metanorma-ribose
229
227
  licenses:
230
228
  - BSD-2-Clause
231
229
  metadata: {}
232
- post_install_message:
230
+ post_install_message:
233
231
  rdoc_options: []
234
232
  require_paths:
235
233
  - lib
@@ -244,8 +242,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
244
242
  - !ruby/object:Gem::Version
245
243
  version: '0'
246
244
  requirements: []
247
- rubygems_version: 3.3.16
248
- signing_key:
245
+ rubygems_version: 3.1.6
246
+ signing_key:
249
247
  specification_version: 4
250
248
  summary: metanorma-ribose lets you write Ribose standards in AsciiDoc.
251
249
  test_files: []