metanorma-csa 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 Csa
3
- VERSION = "2.1.5".freeze
3
+ VERSION = "2.1.8".freeze
4
4
  end
5
5
  end
data/lib/metanorma-csa.rb CHANGED
@@ -4,8 +4,9 @@ require_relative 'isodoc/csa/html_convert'
4
4
  require_relative 'isodoc/csa/pdf_convert'
5
5
  require_relative 'isodoc/csa/word_convert'
6
6
  require_relative 'metanorma/csa/version'
7
+ require "metanorma"
7
8
 
8
- if defined? Metanorma
9
+ if defined? Metanorma::Registry
9
10
  require_relative 'metanorma/csa'
10
11
  Metanorma::Registry.instance.register(Metanorma::Csa::Processor)
11
12
  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-csa
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"
@@ -191,7 +192,6 @@ files:
191
192
  - lib/isodoc/csa/base_convert.rb
192
193
  - lib/isodoc/csa/csa.standard.xsl
193
194
  - lib/isodoc/csa/html/csa-logo-white.png
194
- - lib/isodoc/csa/html/csa.css
195
195
  - lib/isodoc/csa/html/csa.png
196
196
  - lib/isodoc/csa/html/csa.scss
197
197
  - lib/isodoc/csa/html/dots-w@2x.png
@@ -199,12 +199,10 @@ files:
199
199
  - lib/isodoc/csa/html/header.html
200
200
  - lib/isodoc/csa/html/html_csa_intro.html
201
201
  - lib/isodoc/csa/html/html_csa_titlepage.html
202
- - lib/isodoc/csa/html/htmlstyle.css
203
202
  - lib/isodoc/csa/html/htmlstyle.scss
204
203
  - lib/isodoc/csa/html/scripts.html
205
204
  - lib/isodoc/csa/html/word_csa_intro.html
206
205
  - lib/isodoc/csa/html/word_csa_titlepage.html
207
- - lib/isodoc/csa/html/wordstyle.css
208
206
  - lib/isodoc/csa/html/wordstyle.scss
209
207
  - lib/isodoc/csa/html_convert.rb
210
208
  - lib/isodoc/csa/i18n-en.yaml
@@ -232,7 +230,7 @@ homepage: https://github.com/metanorma/metanorma-csa
232
230
  licenses:
233
231
  - BSD-2-Clause
234
232
  metadata: {}
235
- post_install_message:
233
+ post_install_message:
236
234
  rdoc_options: []
237
235
  require_paths:
238
236
  - lib
@@ -247,8 +245,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
247
245
  - !ruby/object:Gem::Version
248
246
  version: '0'
249
247
  requirements: []
250
- rubygems_version: 3.3.16
251
- signing_key:
248
+ rubygems_version: 3.1.6
249
+ signing_key:
252
250
  specification_version: 4
253
251
  summary: metanorma-csa lets you write CSA Normal Documents (CSAND) in AsciiDoc.
254
252
  test_files: []