xmi 0.3.13 → 0.3.15
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/xmi/sparx.rb +1 -1
- data/lib/xmi/uml.rb +4 -3
- data/lib/xmi/version.rb +1 -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: 34e409c5c0408ae856b7e21aabb6a2816f6251b9cc2bb04e6703eb5b80f29cca
|
4
|
+
data.tar.gz: 8c005ff218d6630f4f857f8fcb2228f50e46dc9446138171471fb73df6a0515b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 670a45884a8fd5beb98cfd8f35034ca89bd15313219d2ead3fed89d5485443073fe07716a7a28d16842928bb460b85e54508dc976787e96addd24cce11fa054a
|
7
|
+
data.tar.gz: cd0ce8a9e2d50bbd4da7fe29ae44f19caa722f7fe82bf9dcea4234d637aa9bb3ec0b143e0c6c5de0bc87fedfb5d73067a9b8d0e96475af0fe4a1dfce16a95549
|
data/lib/xmi/sparx.rb
CHANGED
data/lib/xmi/uml.rb
CHANGED
@@ -41,8 +41,9 @@ module Xmi
|
|
41
41
|
attribute :id, :string
|
42
42
|
attribute :association, :string
|
43
43
|
attribute :name, :string
|
44
|
+
attribute :type_attr, :string
|
44
45
|
attribute :uml_type, Uml::Type
|
45
|
-
attribute :member_end,
|
46
|
+
attribute :member_end, :string
|
46
47
|
attribute :lower, :integer
|
47
48
|
attribute :upper, :integer
|
48
49
|
attribute :is_composite, :boolean
|
@@ -61,10 +62,11 @@ module Xmi
|
|
61
62
|
map_attribute "association", to: :association
|
62
63
|
map_attribute "name", to: :name
|
63
64
|
map_attribute "memberEnd", to: :member_end
|
64
|
-
map_attribute "type", to: :
|
65
|
+
map_attribute "type", to: :type_attr, namespace: nil, prefix: nil
|
65
66
|
map_attribute "lower", to: :lower
|
66
67
|
map_attribute "upper", to: :upper
|
67
68
|
map_attribute "isComposite", to: :is_composite
|
69
|
+
map_element "type", to: :uml_type, namespace: nil, prefix: nil
|
68
70
|
end
|
69
71
|
end
|
70
72
|
|
@@ -465,7 +467,6 @@ module Xmi
|
|
465
467
|
xml do
|
466
468
|
root "packageImport"
|
467
469
|
|
468
|
-
map_attribute "id", to: :id, namespace: "http://www.omg.org/spec/XMI/20131001", prefix: "xmi"
|
469
470
|
map_attribute "id", to: :id, namespace: "http://www.omg.org/spec/XMI/20131001", prefix: "xmi"
|
470
471
|
|
471
472
|
map_element "importedPackage", to: :imported_package, namespace: nil, prefix: nil
|
data/lib/xmi/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xmi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-02-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: lutaml-model
|