xmi 0.3.18 → 0.3.20

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: f0f65d9eb942a438cfe5f3063f59ef9163e0bb937176dfe3411918d1c156a71c
4
- data.tar.gz: acea74d62c7261f746aeed922bd916c56426a73d9a2a7c3b15238f2fbdc4f3d5
3
+ metadata.gz: ef197113d1459e78cc91116efd8c5eb8bcf1acda877edee3c35dc684642d1f09
4
+ data.tar.gz: a70b3db7f011245b115959963279fef9d205aad008fb624da63a5c8bceb06a10
5
5
  SHA512:
6
- metadata.gz: ad77d81757ba0b783d46f59dab45f426d8a7e7193e3a6639926fd7d352d2810ad9a5e06f856d57383bec9a9c4616f6ecba6289e4da47bf3db3694e57ac61ef41
7
- data.tar.gz: 86b6c0c74da9d942c8e7eae62c023be8cda424d8a6041c6471c5b44e88b15617f9e94d5896a1d55e63b9087b6858be4d552686dfee935fd42e77c7bfb9bb6788
6
+ metadata.gz: aae9ded8132915d632708c278108b7d528167a04536e10ea2fe03f1aa381119bf41817bd69106ea667c573ff4fa0f4fad3feb9266324994ad952e957263c124a
7
+ data.tar.gz: 76db7b5491accf7b9517721b24811556e4cd8ed51239e870d978230c765bc3838d3252115caa62d9e68ad57ac815eb8c2900909475ab5cff1c68a1e52a62f54e
data/lib/xmi/sparx.rb CHANGED
@@ -642,7 +642,7 @@ module Xmi
642
642
  attribute :constraints, SparxConnectorEndConstraints
643
643
  attribute :modifiers, SparxConnectorEndModifiers
644
644
  attribute :style, SparxConnectorEndStyle
645
- attribute :documentation, :string
645
+ attribute :documentation, SparxElementDocumentation
646
646
  attribute :xrefs, SparxElementXrefs
647
647
  attribute :tags, SparxElementTags
648
648
  end
@@ -767,6 +767,7 @@ module Xmi
767
767
  end
768
768
 
769
769
  class SparxConnector < Lutaml::Model::Serializable
770
+ attribute :name, :string
770
771
  attribute :idref, :string
771
772
  attribute :source, SparxConnectorSource
772
773
  attribute :target, SparxConnectorTarget
@@ -783,6 +784,7 @@ module Xmi
783
784
  xml do # rubocop:disable Metrics/BlockLength
784
785
  root "element"
785
786
 
787
+ map_attribute "name", to: :name
786
788
  map_attribute "idref", to: :idref, prefix: "xmi", namespace: "http://www.omg.org/spec/XMI/20131001"
787
789
 
788
790
  map_element "source", to: :source, 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.18"
4
+ VERSION = "0.3.20"
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.18
4
+ version: 0.3.20
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-03-20 00:00:00.000000000 Z
11
+ date: 2025-06-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lutaml-model