metanorma-plugin-lutaml 0.2.1 → 0.2.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5dc1ad47a37005325f0dd16e97c83a9bed9be85774eaaf1a32e7243452788e85
|
4
|
+
data.tar.gz: 2d30fbd150b18d15f448618c99ac65b6fca5e6fe9369c056c78d883416d2c776
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f377ffd7da20ef1bc313ede0ec1c6e862c9322823e8181587f296662eded4c7efe3cf12bdf1028347659811fbdc9e7ac0339432e6e6ed038a7368f2095676e4c
|
7
|
+
data.tar.gz: 63f1350885a0e1a2ad624043f01880a48d350a1bd9d67d027e6800fd7b29f573229cca8ec935acf1765226de4c52d3d0dea0565f00fe7e94e8c0b0c33d0879bd
|
data/README.adoc
CHANGED
@@ -60,6 +60,14 @@ And the `lutaml` macro block:
|
|
60
60
|
----
|
61
61
|
-----
|
62
62
|
|
63
|
+
Where:
|
64
|
+
|
65
|
+
* content within the block is called the "`template`";
|
66
|
+
|
67
|
+
* `{example.exp}` is the location of the exp schema file that contains data to be loaded. Location of the file is computed relative to the source directory that `[lutaml]` is used (e.g., if `[lutaml,example.exp,my_context]` is invoked in an `.adoc` file located at `/foo/bar/doc.adoc`, the data file is expected to be found at `/foo/bar/example.exp`);
|
68
|
+
|
69
|
+
* `{my_context}` is the name where the EXPRESS Repository read from the .exp file can be accessed with. Context object is a serialized Expressir::Model::Repository object with all variable names available. See https://github.com/lutaml/expressir[Expressir] docs for reference. `{my_context}` has `schemas` method to access Expressir https://github.com/lutaml/expressir/blob/master/lib/expressir/model/schema.rb[schemas]
|
70
|
+
|
63
71
|
Will produce this output:
|
64
72
|
|
65
73
|
[source,adoc]
|
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.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-11-
|
11
|
+
date: 2020-11-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: liquid
|