ea 0.6.59 → 0.6.61
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 +8 -7
- 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: cb774d8053e789ef6200fc5c77c811166ce44308cbfe52c31255ab6c7f404c1d
|
|
4
|
+
data.tar.gz: 15e26d6ecded00bea2bcedf20a03ac6ce94f3fdfd63dbba6f5357e85aae09969
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d33ce1e55c5904c77871d2cb2805e21f0326457b77ef567f73952dab004d92fd10692b547e61bf9c63fff7d35e619ce68dfc5646c22cf5e5a732fc76c7bfc00c
|
|
7
|
+
data.tar.gz: 5ccac30a04cbeb1e4792473e6a674865d5bb1d1ffa56a271f9709c35d0bdd9488dd1dff5540ed6fc65bda57e175f42618d5dd3cf6521068f05fad5479a7520b0
|
|
@@ -262,18 +262,19 @@ module Ea
|
|
|
262
262
|
# (+13). Corpus-verified by identity-matched elements:
|
|
263
263
|
# Interface +13 x44 vs +16 x17, Enumeration +13 x13 vs +16
|
|
264
264
|
# x3, Class/Object/DataType +16 x515.
|
|
265
|
-
# True Interface-typed elements
|
|
266
|
-
#
|
|
267
|
-
#
|
|
268
|
-
#
|
|
269
|
-
# carrying an explicit "interface"
|
|
270
|
-
# (5EA23C08's CoordinateSet).
|
|
265
|
+
# True Interface-typed elements with no stored stereotype
|
|
266
|
+
# track the divider at last header + 9 instead of +8 - also
|
|
267
|
+
# when a parent GHOST leads the header (936AA434/Surface:
|
|
268
|
+
# ghost «interface» name, attrs at 152 not 151), while
|
|
269
|
+
# Class-typed elements carrying an explicit "interface"
|
|
270
|
+
# stereotype keep +8 (5EA23C08's CoordinateSet).
|
|
271
271
|
def divider_offset_for(header_lines, classifier)
|
|
272
272
|
first = header_lines.first
|
|
273
273
|
return theme.compartments.divider_offset unless first
|
|
274
274
|
|
|
275
275
|
if classifier.is_a?(Ea::Model::Interface) &&
|
|
276
|
-
|
|
276
|
+
!(classifier.respond_to?(:stereotype_refs) &&
|
|
277
|
+
classifier.stereotype_refs&.any?)
|
|
277
278
|
9
|
|
278
279
|
else
|
|
279
280
|
theme.compartments.divider_offset
|
data/lib/ea/version.rb
CHANGED