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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 29186153bf7800bf8598896c54e39d3fedf33050f30f4b293d7dc7f7a7feb647
4
- data.tar.gz: 6015b0dd368ce974936e5523c6922b25c32ecc1da0de7b6cb513befa374faee3
3
+ metadata.gz: 34e409c5c0408ae856b7e21aabb6a2816f6251b9cc2bb04e6703eb5b80f29cca
4
+ data.tar.gz: 8c005ff218d6630f4f857f8fcb2228f50e46dc9446138171471fb73df6a0515b
5
5
  SHA512:
6
- metadata.gz: b37243cfcaa5af49787ab29ed5716b8f4a35a5ae05c7a2a68ff33fa48ab1e6e646a8b3a8aecee63748b9b25437c7020c2a2ea6f8c85869891c8e5b8f60f108a6
7
- data.tar.gz: 870d45548e6778f05da8ef5f511e5259e5f914df115dc5e3e56a30112735b4cb47c58f2ff12de986280ef17e4cb97c26ccbf2ae650b2f712e808b4a40a923301
6
+ metadata.gz: 670a45884a8fd5beb98cfd8f35034ca89bd15313219d2ead3fed89d5485443073fe07716a7a28d16842928bb460b85e54508dc976787e96addd24cce11fa054a
7
+ data.tar.gz: cd0ce8a9e2d50bbd4da7fe29ae44f19caa722f7fe82bf9dcea4234d637aa9bb3ec0b143e0c6c5de0bc87fedfb5d73067a9b8d0e96475af0fe4a1dfce16a95549
data/lib/xmi/sparx.rb CHANGED
@@ -746,7 +746,7 @@ module Xmi
746
746
  end
747
747
 
748
748
  class SparxDiagramStyle < Lutaml::Model::Serializable
749
- attribute :value, SparxDiagramElement
749
+ attribute :value, :string
750
750
 
751
751
  xml do
752
752
  map_attribute "value", to: :value
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, MemberEnd
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: :uml_type
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Xmi
4
- VERSION = "0.3.13"
4
+ VERSION = "0.3.15"
5
5
  end
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.13
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-01-24 00:00:00.000000000 Z
11
+ date: 2025-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lutaml-model