ea 0.6.6 → 0.6.7

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: c816d0645b533ffe8413eb30524451ff18c3fc548cf146b52c2a2629cca3c03a
4
- data.tar.gz: 5053ce14bedf6c6d5f44077ed0b489382488847e35b21b899cace41dcb1a576f
3
+ metadata.gz: d066021fc111c616534f8445aa46fc1217d16bd06e5a7555634033b692d1023c
4
+ data.tar.gz: b09455921b726464c95e69a918a916eccc7b6caa66675493e84438eea62c6000
5
5
  SHA512:
6
- metadata.gz: 23c61cb6b0dac413b0f86173504a1b1f457b8dc09e7b673746c55ebda8c0133f152eb9d638f43d3b4d2ba72ab1d7230bb2b4d7218416b696814e119e5673df12
7
- data.tar.gz: 270de39ea03314d6bfe2a23f2210fd93f00211271120f8aeb1ca2894ce01b6a8e48871493143a95d068f2efbaacd12846e9bd1ebba1d141554d9735a61803f35
6
+ metadata.gz: 1b388387a89b3d933b8a7c6667c70134da049679cdbc2ef3d3c2aa11937228cd8b0ef55b3509c780b47f5ce437d93a4641e356bd84562929d65ea0012466a67c
7
+ data.tar.gz: be2f5b42394a8a3be5eeeb7bff3d48b6929d47009823f632c105e59f2f2ec33652b9bf6e4fa5a5194c20bf8e74c194a1d3448b6a32ab3f1d145bc59f9ab056bf
@@ -94,6 +94,15 @@ module Ea
94
94
  tagged_values_for(classifier).size,
95
95
  header_lines)
96
96
  end
97
+ # EA suppresses the operations compartment when its rows
98
+ # overflow the stored box height (same rule as attributes).
99
+ if op_lines.any? && geometry.op_first_y &&
100
+ geometry.op_bottom_y.to_i + size > bounds.y + bounds.height
101
+ op_lines = []
102
+ geometry = compartment_geometry(bounds, size, attr_lines, op_lines,
103
+ tagged_values_for(classifier).size,
104
+ header_lines)
105
+ end
97
106
  RenderContext.new(
98
107
  element: element,
99
108
  bounds: bounds,
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.6"
7
+ VERSION = "0.6.7"
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.6
4
+ version: 0.6.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.