lutaml-lml 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/lutaml/lml/cli.rb +8 -1
- data/lib/lutaml/lml/document_builder.rb +72 -3
- data/lib/lutaml/lml/format/adapter/standard_adapter.rb +17 -4
- data/lib/lutaml/lml/formatter/elk.rb +42 -0
- data/lib/lutaml/lml/formatter/graphviz/node_formatter.rb +2 -1
- data/lib/lutaml/lml/formatter.rb +1 -0
- data/lib/lutaml/lml/grammar/lml.artifact.json +6982 -4538
- data/lib/lutaml/lml/grammar/lml.parg +209 -110
- data/lib/lutaml/lml/layout/elk_engine.rb +15 -0
- data/lib/lutaml/lml/layout/elk_graph_builder.rb +129 -0
- data/lib/lutaml/lml/layout/elk_svg_markers.rb +45 -0
- data/lib/lutaml/lml/layout/elk_svg_renderer.rb +119 -0
- data/lib/lutaml/lml/layout/graph_viz_engine.rb +1 -1
- data/lib/lutaml/lml/layout.rb +4 -0
- data/lib/lutaml/lml/model_compiler.rb +24 -3
- data/lib/lutaml/lml/models/document.rb +29 -0
- data/lib/lutaml/lml/models/operation_parameter.rb +1 -0
- data/lib/lutaml/lml/models/reference.rb +23 -0
- data/lib/lutaml/lml/models/top_element_attribute.rb +12 -0
- data/lib/lutaml/lml/models/uml_class.rb +1 -1
- data/lib/lutaml/lml/preprocessor.rb +44 -79
- data/lib/lutaml/lml/transform.rb +1 -1
- data/lib/lutaml/lml/validator.rb +86 -18
- data/lib/lutaml/lml/version.rb +1 -1
- data/lib/lutaml/lml.rb +1 -0
- metadata +10 -4
data/lib/lutaml/lml.rb
CHANGED
|
@@ -80,6 +80,7 @@ module Lutaml
|
|
|
80
80
|
autoload :OperationParameter, "lutaml/lml/models/operation_parameter"
|
|
81
81
|
autoload :Package, "lutaml/lml/models/package"
|
|
82
82
|
autoload :PrimitiveType, "lutaml/lml/models/primitive_type"
|
|
83
|
+
autoload :Reference, "lutaml/lml/models/reference"
|
|
83
84
|
autoload :TopElementAttribute, "lutaml/lml/models/top_element_attribute"
|
|
84
85
|
autoload :UmlClass, "lutaml/lml/models/uml_class"
|
|
85
86
|
autoload :Value, "lutaml/lml/models/value"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lutaml-lml
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-10-
|
|
11
|
+
date: 2026-10-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: lutaml-model
|
|
@@ -30,14 +30,14 @@ dependencies:
|
|
|
30
30
|
requirements:
|
|
31
31
|
- - "~>"
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: 1.3.
|
|
33
|
+
version: 1.3.68
|
|
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: 1.3.
|
|
40
|
+
version: 1.3.68
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: moxml
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -102,6 +102,7 @@ files:
|
|
|
102
102
|
- lib/lutaml/lml/format/adapter/transform.rb
|
|
103
103
|
- lib/lutaml/lml/formatter.rb
|
|
104
104
|
- lib/lutaml/lml/formatter/base.rb
|
|
105
|
+
- lib/lutaml/lml/formatter/elk.rb
|
|
105
106
|
- lib/lutaml/lml/formatter/graphviz.rb
|
|
106
107
|
- lib/lutaml/lml/formatter/graphviz/document_formatter.rb
|
|
107
108
|
- lib/lutaml/lml/formatter/graphviz/html_builder.rb
|
|
@@ -113,6 +114,10 @@ files:
|
|
|
113
114
|
- lib/lutaml/lml/has_attributes.rb
|
|
114
115
|
- lib/lutaml/lml/import_resolver.rb
|
|
115
116
|
- lib/lutaml/lml/layout.rb
|
|
117
|
+
- lib/lutaml/lml/layout/elk_engine.rb
|
|
118
|
+
- lib/lutaml/lml/layout/elk_graph_builder.rb
|
|
119
|
+
- lib/lutaml/lml/layout/elk_svg_markers.rb
|
|
120
|
+
- lib/lutaml/lml/layout/elk_svg_renderer.rb
|
|
116
121
|
- lib/lutaml/lml/layout/engine.rb
|
|
117
122
|
- lib/lutaml/lml/layout/graph_viz_engine.rb
|
|
118
123
|
- lib/lutaml/lml/literal_value.rb
|
|
@@ -141,6 +146,7 @@ files:
|
|
|
141
146
|
- lib/lutaml/lml/models/operation_parameter.rb
|
|
142
147
|
- lib/lutaml/lml/models/package.rb
|
|
143
148
|
- lib/lutaml/lml/models/primitive_type.rb
|
|
149
|
+
- lib/lutaml/lml/models/reference.rb
|
|
144
150
|
- lib/lutaml/lml/models/serialization_mapping.rb
|
|
145
151
|
- lib/lutaml/lml/models/string_format.rb
|
|
146
152
|
- lib/lutaml/lml/models/top_element_attribute.rb
|