ea 0.6.47 → 0.6.48
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2849c4fcd1a87fd920fd29fa74dd2bd7cdec74bdebc514f84153de46fb9ca0a9
|
|
4
|
+
data.tar.gz: 0a6bd43f0e3e174964d071ea4451cdc0ab2e8c1da69dd734e5293aa04637d764
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 85d3e1fab3fb06c9545f40377460e4e493befab70c82aad96905b556c8fb2e2d5d384f31b49465892a3a49dd5d6c0d932b8eff0c666e34503cf7da2ba722faf1
|
|
7
|
+
data.tar.gz: 10f16708d46732be552481c56386f97df796edb6a779fe50c76ba5a76204f156759c35c15e0763eef88f768627cccc2374d7ac1629c24dcb607351db8046f918
|
|
@@ -104,16 +104,19 @@ module Ea
|
|
|
104
104
|
attr_bottom_y + size + 5
|
|
105
105
|
end
|
|
106
106
|
|
|
107
|
+
# EA's op block: first row 21 below the last attribute row
|
|
108
|
+
# (9pt... 7pt: attr_bottom + 21), uniform 13px pitch across
|
|
109
|
+
# attrs AND ops (6D4C665D: attrs ..520, ops 541..658 step 13).
|
|
107
110
|
def op_first_y
|
|
108
111
|
return nil unless op_lines_count&.positive?
|
|
109
112
|
|
|
110
|
-
|
|
113
|
+
attr_bottom_y + size + 14
|
|
111
114
|
end
|
|
112
115
|
|
|
113
116
|
def op_bottom_y
|
|
114
117
|
return op_divider_y unless op_lines_count&.positive?
|
|
115
118
|
|
|
116
|
-
op_first_y + (op_lines_count - 1) * (size +
|
|
119
|
+
op_first_y + (op_lines_count - 1) * (size + 6)
|
|
117
120
|
end
|
|
118
121
|
|
|
119
122
|
# EA draws a single divider under the header and seats
|
|
@@ -17,7 +17,9 @@ module Ea
|
|
|
17
17
|
CONTENT_X_OFFSET = 20
|
|
18
18
|
|
|
19
19
|
def self.render(operations, bounds:, first_y:, family:, size:)
|
|
20
|
-
|
|
20
|
+
# EA's op rows pitch 13 (size + 6), same as attribute
|
|
21
|
+
# rows (6D4C665D: ops 541..658 step 13).
|
|
22
|
+
line_h = size + 6
|
|
21
23
|
text_blocks = []
|
|
22
24
|
has_receptions = operations.any?(&:is_reception)
|
|
23
25
|
if has_receptions
|
data/lib/ea/version.rb
CHANGED