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 +4 -4
- data/README.adoc +30 -2
- data/lib/metanorma/plugin/lutaml/version.rb +1 -1
- data/metanorma-plugin-lutaml.gemspec +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 94ae5b7c7623f566c05b312d7d2ea4fd26f558e119ceae4edb2d765f31d30f59
|
4
|
+
data.tar.gz: 963b9236a881435f8270fd82b70182b17b5d706c828e9dd463e51d3eaeb22b11
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
911
|
-
|
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
|
|
@@ -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.
|
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.
|
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-
|
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.
|
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.
|
54
|
+
version: 2.1.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: liquid
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|