ea 0.6.161 → 0.6.162

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: d7197145439783ffd1371d762178adb42d10fbb7bd149a35b321eb07d85bfdea
4
- data.tar.gz: 2337db7f718d4237e586bb4b77bd7ab03fe2c8ca21466be720c73a0f74bd78ba
3
+ metadata.gz: 8fcde69536b5b7dd6c30e012412acf1dcf21b102de3d47029442dae72705b3c1
4
+ data.tar.gz: 2b579326135166ae5c7d78ddba7d107efa1acd1a1ce666c4eacf294d4c7e1aac
5
5
  SHA512:
6
- metadata.gz: 5d1728a63e4be58c217d2204e3095af3255f0e2a69ef84586ac74a3c3eb62c3ab132b8d06d31a8f139e0ab08f53160b856fa3c03f8e5a9bb5d0053b544ad9d1e
7
- data.tar.gz: 9abe04e07fb696d543c4ea5fbadba8049baea8b91fbae6276ddecd3c9bfaf7b716a576adf6bacb1c9e1dd156c87044081ae28f688095ba9277c80e522d48d46a
6
+ metadata.gz: a1b2335a9715c4aab2b33f935d82c3e15428230bfdd4cb67f09761ad88a943d85bf6f5300aeb1cf720a6cae591e1a85322e68890efad8037e026ed8ca0f26e06
7
+ data.tar.gz: 9017d649a98b044157acfc471d8877b0dd704b3a5cf92986e15edd817b294a41a919432ee45dc85c01ff2cf8ef749f075954d9d7fe50ca8e4500bd996706516c
data/lib/ea/version.rb CHANGED
@@ -4,5 +4,5 @@ module Ea
4
4
  # Gem release version. Extracted to its own file so the
5
5
  # `gem-release` tool's `gem bump` can find and update it via the
6
6
  # standard `lib/<gem>/version.rb` convention.
7
- VERSION = "0.6.161"
7
+ VERSION = "0.6.162"
8
8
  end
data/lib/ea/xmi/parser.rb CHANGED
@@ -743,13 +743,21 @@ module Ea
743
743
 
744
744
  general_item.attributes.reverse_each do |attr|
745
745
  attr.upper_klass = gen_upper_klass
746
- attr.gen_name = gen_name
747
746
  attr.level = level
748
747
 
748
+ # Inherited rows are dup copies (QeaToUml parity): the
749
+ # ancestor's own attributes keep only upper_klass/level tags,
750
+ # while the copies carry the full ancestor attribution so
751
+ # later levels cannot mutate what was already collected.
752
+ inherited_attr = attr.dup
753
+ inherited_attr.upper_klass = gen_upper_klass
754
+ inherited_attr.gen_name = gen_name
755
+ inherited_attr.level = level
756
+
749
757
  if attr.association
750
- inherited_assoc_props << attr
758
+ inherited_assoc_props << inherited_attr
751
759
  else
752
- inherited_props << attr
760
+ inherited_props << inherited_attr
753
761
  end
754
762
  end
755
763
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ea
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.161
4
+ version: 0.6.162
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.