ea 0.6.66 → 0.6.67
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/ea/svg/ea_emitter/elements.rb +11 -4
- data/lib/ea/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cd6ba69d90eb60d981290b5b07467b15b44a95859723aeaa9a3d1ba2d2a8cc82
|
|
4
|
+
data.tar.gz: d70d59e8e12fb1fef32cdcbfaadfeaf9f80b9eb633a4f86d55fde8bddf6e9832
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a42427c7db0b6015749560e6239752c5ad8ac6b2daed788c91ea6a1cbfa22460e132388928e82503d06749a2b85bab00198d5250db422c0bd7beaaa4baba6df2
|
|
7
|
+
data.tar.gz: 914844e0e278292ed0e918cebcfeda3268d79fff8afc679b4c1c5a4e64fce104271e08f73b3bf7c0430d32cb71f5c0e234707215ef0a01c24b098756af1a2314
|
|
@@ -124,8 +124,15 @@ module Ea
|
|
|
124
124
|
# attribute rows (936AA434/Surface lists its nine 19107
|
|
125
125
|
# attributes); the earlier corpus evidence for
|
|
126
126
|
# header-only interfaces was zero-attribute leaf types.
|
|
127
|
+
# Regenerated contexts ignore stored per-element visibility
|
|
128
|
+
# toggles - EXCEPT for boxes whose only rows are
|
|
129
|
+
# association-derived properties (5833A95E keeps those
|
|
130
|
+
# suppressed even on FOC=0; 0CABA7D7 shows its association
|
|
131
|
+
# row because the class also owns real attributes).
|
|
127
132
|
attr_lines = if is_classifier && show_attributes? &&
|
|
128
|
-
attributes_visible?(element)
|
|
133
|
+
(attributes_visible?(element) ||
|
|
134
|
+
(regenerated_context? &&
|
|
135
|
+
classifier.properties.to_a.any? { |pr| !pr.association_id }))
|
|
129
136
|
Element::AttributeRenderer.lines_for(
|
|
130
137
|
classifier, lookup: attribute_lookup,
|
|
131
138
|
exclude_association_ids: drawn_association_ids
|
|
@@ -133,7 +140,8 @@ module Ea
|
|
|
133
140
|
else
|
|
134
141
|
[]
|
|
135
142
|
end
|
|
136
|
-
op_lines = if is_classifier && show_operations? &&
|
|
143
|
+
op_lines = if is_classifier && show_operations? &&
|
|
144
|
+
(operations_visible?(element) || regenerated_context?)
|
|
137
145
|
Element::OperationRenderer.lines_for(classifier)
|
|
138
146
|
else
|
|
139
147
|
[]
|
|
@@ -471,8 +479,7 @@ module Ea
|
|
|
471
479
|
# (descendant packages included). Corpus-verified (450
|
|
472
480
|
# diagrams): ShowForeign=0 renders plain everywhere.
|
|
473
481
|
def regenerated_context?
|
|
474
|
-
diagram.
|
|
475
|
-
diagram.style_ex.to_s !~ /SuppressFOC=1/
|
|
482
|
+
diagram.style_ex.to_s !~ /SuppressFOC=1/
|
|
476
483
|
end
|
|
477
484
|
|
|
478
485
|
def foreign_package_name_for(classifier)
|
data/lib/ea/version.rb
CHANGED