metanorma-generic 2.2.0 → 2.2.1

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: 59a0bc61bb3f85604409957eca8092b40e2f9e09917bbb147ef5a58beffa196b
4
- data.tar.gz: 1595b4c89c4ad8f94a10cb47ea2457aa8dbc834951783c5d3af9ff3d8111064a
3
+ metadata.gz: 6d63bf1d87c09663880e45e6331afa0a2364d49820bb245018c3c96694177713
4
+ data.tar.gz: d3e942091b59f89c572911e6174822f8c730760fafd2d5e259a132c38bb533ba
5
5
  SHA512:
6
- metadata.gz: a4c87263e31e78368481797483f20d2aa1c0d6d541d8615343fc45dbac458b3cbf74b284877e2f7cf2c06541756fcb48fbf6cc83434d58137a0f351bc6a1d0bb
7
- data.tar.gz: 8df5e1ba0be302fcc9a1605eadfa1c6a3c62b500f282c33507ad50d17d517fd21fccb38b3ca344efa14740456bd36095600ea339fac1ac6933c632e4e0014cb2
6
+ metadata.gz: 8ff667157f85378d802293fea0c04f423006b7275ff4d5432adfda56d4690f0db7377207716779c50f5a89244402a714764d02e970058e545ffcbde13e8766b5
7
+ data.tar.gz: d01432c7ea3fa4c73bd3087afa78b734af835bf9946d2c2788c36ac145985e68c927a1ed1c9b32ee357bb27e538d3ccaad909356994536a231a150b67a91bf1a
@@ -10,6 +10,6 @@ on:
10
10
 
11
11
  jobs:
12
12
  notify:
13
- uses: metanorma/metanorma-build-scripts/.github/workflows/mn-processor-rake.yml@main
13
+ uses: metanorma/ci/.github/workflows/mn-processor-rake.yml@main
14
14
  secrets:
15
15
  pat_token: ${{ secrets.METANORMA_CI_PAT_TOKEN }}
@@ -0,0 +1,24 @@
1
+ # Auto-generated by Cimas: Do not edit it manually!
2
+ # See https://github.com/metanorma/cimas
3
+ name: release
4
+
5
+ on:
6
+ workflow_dispatch:
7
+ inputs:
8
+ next_version:
9
+ description: |
10
+ Next release version. Possible values: x.y.z, major, minor, patch or pre|rc|etc
11
+ required: true
12
+ default: 'skip'
13
+ push:
14
+ tags: [ v* ]
15
+
16
+ jobs:
17
+ release:
18
+ uses: metanorma/ci/.github/workflows/rubygems-release.yml@main
19
+ with:
20
+ next_version: ${{ github.event.inputs.next_version }}
21
+ secrets:
22
+ rubygems-api-key: ${{ secrets.METANORMA_CI_RUBYGEMS_API_KEY }}
23
+ pat_token: ${{ secrets.METANORMA_CI_PAT_TOKEN }}
24
+
@@ -75,7 +75,7 @@
75
75
  <div class="info-section">
76
76
  <div class="copyright">
77
77
  <p class="year">
78
- &copy; {{ docyear }} {{ publisher }}
78
+ &#xa9; {{ docyear }} {{ publisher }}
79
79
  </p>
80
80
 
81
81
  <p class="message">
@@ -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>
@@ -1,5 +1,5 @@
1
1
  module Metanorma
2
2
  module Generic
3
- VERSION = "2.2.0".freeze
3
+ VERSION = "2.2.1".freeze
4
4
  end
5
5
  end
@@ -2,7 +2,8 @@ require "metanorma/generic"
2
2
  require "asciidoctor"
3
3
  require "metanorma/generic/converter"
4
4
  require "isodoc/generic"
5
+ require "metanorma"
5
6
 
6
- if defined? Metanorma
7
+ if defined? Metanorma::Registry
7
8
  Metanorma::Registry.instance.register(Metanorma::Generic::Processor)
8
9
  end
@@ -27,7 +27,7 @@ Gem::Specification.new do |spec|
27
27
  spec.required_ruby_version = Gem::Requirement.new(">= 2.5.0")
28
28
 
29
29
  spec.add_dependency "htmlentities", "~> 4.3.4"
30
- spec.add_dependency "metanorma-standoc", "~> 2.2.0"
30
+ spec.add_dependency "metanorma-standoc", "~> 2.2.2"
31
31
  spec.add_dependency "ruby-jing"
32
32
 
33
33
  spec.add_development_dependency "debug"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-generic
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.2.1
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-08-08 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: htmlentities
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 2.2.0
33
+ version: 2.2.2
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 2.2.0
40
+ version: 2.2.2
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: ruby-jing
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -201,6 +201,7 @@ extensions: []
201
201
  extra_rdoc_files: []
202
202
  files:
203
203
  - ".github/workflows/rake.yml"
204
+ - ".github/workflows/release.yml"
204
205
  - ".gitignore"
205
206
  - ".hound.yml"
206
207
  - ".rubocop.yml"
@@ -255,7 +256,7 @@ homepage: https://github.com/metanorma/metanorma-generic
255
256
  licenses:
256
257
  - BSD-2-Clause
257
258
  metadata: {}
258
- post_install_message:
259
+ post_install_message:
259
260
  rdoc_options: []
260
261
  require_paths:
261
262
  - lib
@@ -270,8 +271,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
270
271
  - !ruby/object:Gem::Version
271
272
  version: '0'
272
273
  requirements: []
273
- rubygems_version: 3.3.16
274
- signing_key:
274
+ rubygems_version: 3.1.6
275
+ signing_key:
275
276
  specification_version: 4
276
277
  summary: Metanorma template gem for customisation.
277
278
  test_files: []