metanorma-plugin-lutaml 0.7.14 → 0.7.16

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: fd66711f9da2a1623acfdb2b6b24d2cea272b6d318cf17dbbdc0167cf69738c2
4
- data.tar.gz: 5bd65ea93f25f27e57902389acc574ceb62105ab68a24ab4a44de22e88a9081d
3
+ metadata.gz: 94ae5b7c7623f566c05b312d7d2ea4fd26f558e119ceae4edb2d765f31d30f59
4
+ data.tar.gz: 963b9236a881435f8270fd82b70182b17b5d706c828e9dd463e51d3eaeb22b11
5
5
  SHA512:
6
- metadata.gz: bc2223f766f4edf63c2cbf69a487306f2575d5448960a56a92f53a5b4fdf712d4c8246ca7bfc48d26b72bec4d054c3266c6eb504f181261490a3cc67770a9c6a
7
- data.tar.gz: 681b2571df350dd559241c0047b0a618a083bfc9d52f9b3dc8adf5dc67925b0ab07b9fdf21aa789ae895325edc14adadae2c83c384ad036f2674864e4315b2aa
6
+ metadata.gz: dc81997fa69f6a2ea70ca8eac8e22bf281927f752096307d4c503351fc9c3617ff85e3bf3877730f188cbea1b187389b33d0874656c1079f345a3cb0609812d9
7
+ data.tar.gz: e4335ac32b79f4d78feee0eb49bd166f9374dd5e0d32fbc019d3ba01e1aecfa5099e39ad71d3f23118e2c272df1b256ad6598743fc6a743fbbbe347ad89a4f3a
data/README.adoc CHANGED
@@ -907,8 +907,36 @@ packages:
907
907
  guidance: "path/to/guidance.yaml"
908
908
  -----
909
909
 
910
- Please refer to `lutaml_klass_table` section for how to configure the guidance
911
- yaml file.
910
+ The guidance file should be in the following format:
911
+
912
+ [source,yaml]
913
+ ----
914
+ ---
915
+ classes:
916
+ - name: "NameOfClass"
917
+ attributes:
918
+ - name: Name Of Attribute (e.g. gml:boundedBy)
919
+ used: false
920
+ guidance: |
921
+ Drop guidance message here.
922
+ ...
923
+ ----
924
+
925
+ If you want to define the guidance, you can define the `name` of the class
926
+ under `classes`. Then define which `attributes` you want to add guidance by the
927
+ `name`. Set `used` to show the attribute is used or not. Drop the message of
928
+ guidance in `guidance`.
929
+
930
+ The `name` of class can be defined in the following ways:
931
+
932
+ * `name: "NameOfClass"` specifies the name of the `class`.
933
+ (e.g. `name: "Building"`)
934
+ If there are multiple classes with the same name, it is recommended to
935
+ specify the class by absolute path.
936
+
937
+ * `name: "::NameOfPackage::NameOfClass"` specifies the name of the `class` in
938
+ `absolute` path.
939
+ (e.g. `name: "::EA_Model::Conceptual Models::CityGML2.0::bldg::Building"`)
912
940
 
913
941
  == Documentation
914
942
 
@@ -1,7 +1,7 @@
1
1
  module Metanorma
2
2
  module Plugin
3
3
  module Lutaml
4
- VERSION = "0.7.14".freeze
4
+ VERSION = "0.7.16".freeze
5
5
  end
6
6
  end
7
7
  end
@@ -27,7 +27,7 @@ Gem::Specification.new do |spec|
27
27
 
28
28
  spec.add_dependency "asciidoctor"
29
29
  spec.add_dependency "coradoc", "~> 1.1.1"
30
- spec.add_dependency "expressir", "~> 1.4.0"
30
+ spec.add_dependency "expressir", "~> 2.1.0"
31
31
  spec.add_dependency "liquid"
32
32
  spec.add_dependency "lutaml", ">= 0.9.18"
33
33
  spec.add_dependency "ogc-gml", "1.0.0"
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.7.14
4
+ version: 0.7.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-11-14 00:00:00.000000000 Z
11
+ date: 2024-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: asciidoctor
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 1.4.0
47
+ version: 2.1.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 1.4.0
54
+ version: 2.1.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: liquid
57
57
  requirement: !ruby/object:Gem::Requirement