lutaml-uml 0.2.10 → 0.2.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lutaml/uml/parsers/dsl.rb +5 -1
- data/lib/lutaml/uml/version.rb +1 -1
- data/spec/fixtures/dsl/diagram_data_types.lutaml +21 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 405ff7c4bd2b9ebdde4a00c00c0c5e21188f0632206a64379a3e294fcad91cf0
|
4
|
+
data.tar.gz: 4f4ce9d31b300185e52ddf44375bc5a6597fc16c72e047963a283ab618205b83
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 738287fadf7e75d576dc85bb3dce7f1781b3307770b8ad05b994101d421c73bc81450d49af5cd88e10b7466924591c504590ffbfdf405bf4f2ca1bec6d12ddfa
|
7
|
+
data.tar.gz: a7b87af376643a4db9c7d700ef3fae74d45c4a70ecf09e85667640cca55c4083afde0eba1ce2f7a4e18d7b1a3351ce3f89574aa2917b543413677836928f941a
|
@@ -329,7 +329,10 @@ module Lutaml
|
|
329
329
|
# -- data_type
|
330
330
|
rule(:data_type_keyword) { kw_data_type >> spaces }
|
331
331
|
rule(:data_type_inner_definitions) do
|
332
|
-
|
332
|
+
definition_body |
|
333
|
+
attribute_definition |
|
334
|
+
comment_definition |
|
335
|
+
comment_multiline_definition
|
333
336
|
end
|
334
337
|
rule(:data_type_inner_definition) do
|
335
338
|
data_type_inner_definitions >> whitespace?
|
@@ -347,6 +350,7 @@ module Lutaml
|
|
347
350
|
match['"\''].maybe >>
|
348
351
|
class_name.as(:name) >>
|
349
352
|
match['"\''].maybe >>
|
353
|
+
attribute_keyword? >>
|
350
354
|
data_type_body?
|
351
355
|
end
|
352
356
|
|
data/lib/lutaml/uml/version.rb
CHANGED
@@ -8,10 +8,30 @@ diagram MyView {
|
|
8
8
|
}
|
9
9
|
|
10
10
|
data_type "Banking Information" {
|
11
|
-
|
11
|
+
definition {
|
12
|
+
Common code types used in banking.
|
13
|
+
}
|
14
|
+
"art code" {
|
15
|
+
definition {
|
16
|
+
The bank ART code.
|
17
|
+
}
|
18
|
+
}
|
12
19
|
"CCT Number"
|
13
20
|
}
|
14
21
|
|
22
|
+
data_type DateTimeType {
|
23
|
+
definition {
|
24
|
+
Type of date time value.
|
25
|
+
}
|
26
|
+
year {
|
27
|
+
definition {
|
28
|
+
The value only provides year.
|
29
|
+
}
|
30
|
+
}
|
31
|
+
monthYear
|
32
|
+
dayMonthYear
|
33
|
+
}
|
34
|
+
|
15
35
|
primitive Integer
|
16
36
|
|
17
37
|
enum Profile {
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lutaml-uml
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.12
|
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-03-
|
11
|
+
date: 2021-03-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hashie
|