metanorma-plugin-lutaml 0.4.12 → 0.4.13

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: 2a10016110c0403f8925e080c1f29cf8a4b81e9d2f52c1e986bf26c3d9754d0c
4
- data.tar.gz: 81f3c21e207bde438c076f11aa7d2fc109732999351a99431785f4323c3d749c
3
+ metadata.gz: c49af8286acd4f5489eb2e05561f365cf6597d8b7f5322950e376bceb85c7738
4
+ data.tar.gz: 5c8a70a95bec419773bb11a387529994197bb12fd9e4dd882110ae57e33dc0b5
5
5
  SHA512:
6
- metadata.gz: 0ba4c445dc6254628dd8184bddecf6dd5394496694ff6493572b8b30479c62e92275d4af33d6f5015862ec6dad39be0a438e2dd2d75353882b6820dffef613b5
7
- data.tar.gz: c1258f09dd31d96424b2b63bb039c424042248e0cdd84b7215c48a817f25c326b0dc75a0f439db97716d1a1e8f712685c736d0c1ac9149a7a35c3dde66aaf17d
6
+ metadata.gz: f8bd4c3e9322bd693332f90b24130e2c685df40c0c073b6f145ed894980e965e91d3bdccd31e58b827b73d046589bd3b8e2ad23a6e6f3f68d3760403a019029c
7
+ data.tar.gz: b94cb8be15a1da9111999bd7b85e97515f5677ec29b8165358c1232f49bb0c6c007db09eb6163423333e9087ff2ef593f1a9d259328b5136e587003bb6f72140
@@ -136,7 +136,7 @@ None.
136
136
  {% if non_unions.size > 0 %}
137
137
  {% for data_type in non_unions %}
138
138
  {% capture generalizations %}{% assign inheritance = klass.associations | where: "member_end_type", "inheritance" %}{% for assoc in inheritance %}{% capture ref_id %}{% if additional_context.external_classes[assoc.member_end] %}{{ additional_context.external_classes[assoc.member_end] }}{% else %}{{ assoc.member_end }}-section{% endif %}{% endcapture %}<<{{ ref_id }},{{ assoc.member_end }}>>{% endfor %}{% endcapture %}
139
- [[{{ data_type.name }}-section]]
139
+ [[section-{{ data_type.xmi_id }}]]
140
140
  {{equalsigns}}== {{ data_type.name }}
141
141
 
142
142
  .Metadata of {{ data_type.name }} ({{ data_type.stereotype }})
@@ -219,7 +219,7 @@ None.
219
219
 
220
220
  {% if package.enums.size > 0 %}
221
221
  {% for enum in package.enums %}
222
- [[{{ enum.name }}-section]]
222
+ [[section-{{ enum.xmi_id }}]]
223
223
  {{equalsigns}}== {{ enum.name }}
224
224
 
225
225
  .Metadata of {{ enum.name }} (Enumeration)
@@ -1,6 +1,6 @@
1
1
  {% capture equalsigns %}{% for count in (1..depth) %}={% endfor %}{% endcapture %}
2
2
  {% capture generalizations %}{% assign inheritance = klass.associations | where: "member_end_type", "inheritance" %}{% for assoc in inheritance %}{% capture ref_id %}{% if additional_context.external_classes[assoc.member_end] %}{{ additional_context.external_classes[assoc.member_end] }}{% else %}{{ assoc.member_end }}-section{% endif %}{% endcapture %}<<{{ ref_id }},{{ assoc.member_end }}>>{% endfor %}{% endcapture %}
3
- [[{{ klass.name }}-section]]
3
+ [[section-{{ klass.xmi_id }}]]
4
4
  {{equalsigns}} {{ klass.name }}
5
5
  {%comment%}(inside class: depth is {{ depth }}, equalsigns {{equalsigns}}){%endcomment%}
6
6
 
@@ -22,7 +22,7 @@
22
22
  {% if depth %}
23
23
  {% assign nested_depth = depth | plus: 1 %}
24
24
  {% capture equalsigns %}{% for count in (1..depth) %}={% endfor %}{% endcapture %}
25
- [[rc_{{ package_name }}-model_section]]
25
+ [[section-{{ package.xmi_id }}]]
26
26
  {{equalsigns}} {{ package.name }}
27
27
  {% endif %}
28
28
 
@@ -1,7 +1,7 @@
1
1
  module Metanorma
2
2
  module Plugin
3
3
  module Lutaml
4
- VERSION = "0.4.12".freeze
4
+ VERSION = "0.4.13".freeze
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metanorma-plugin-lutaml
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.12
4
+ version: 0.4.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-09-21 00:00:00.000000000 Z
11
+ date: 2021-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: liquid