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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 03263f382d36467afea7d44447f9b2646a39be885dfe20bf885ff5eb80390525
4
- data.tar.gz: 81e3720bca00ed478bf1d0d867e843be04b41ce9d44070692c523dc29472a8df
3
+ metadata.gz: cb774d8053e789ef6200fc5c77c811166ce44308cbfe52c31255ab6c7f404c1d
4
+ data.tar.gz: 15e26d6ecded00bea2bcedf20a03ac6ce94f3fdfd63dbba6f5357e85aae09969
5
5
  SHA512:
6
- metadata.gz: ab5a2ee3102db43828bb8040a6ee29d08832a4ec44a3ec0ea16569cbd90f06a28eb9782de30bd0a8a8e60e34e88bd4b3d312123ca36a1cb9189162a1671123f7
7
- data.tar.gz: 8902a964b4fc7d66c26ef56b3afa2a925a8a162ae28aadff9af233a12030f03280cac8f83a506d5be72a4dc82271c79bc091131755306e0f4d16e761d8bf85a5
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 (fallback «interface» label,
266
- # no stored stereotype) track the divider at last header + 9
267
- # instead of +8: 96EFAA3B/936AA434 compartments sit one
268
- # pixel lower than the class rule, while Class-typed elements
269
- # carrying an explicit "interface" stereotype keep +8
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
- fallback_stereotype_label?(first.first, classifier)
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
@@ -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.59"
7
+ VERSION = "0.6.61"
8
8
  end
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.59
4
+ version: 0.6.61
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.