ea 0.6.25 → 0.6.26
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/element/divider_renderer.rb +5 -2
- data/lib/ea/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 523062f8a2bc8628a3c5b35aa5a074057307e4405b1d87ebf4150e471e592e29
|
|
4
|
+
data.tar.gz: 5ea75aecf1ed9a73b9a387e424073e1e7cc83e0161d9a2ab4db2c270136eea33
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f1e366645ba375c9fd3701e97d7da847753bfa2719d52887f9df5b563f352b8b7d0172b3396967ff38529473f49f91d289dc8ea12937defc4ad3dba72f5ac4e7
|
|
7
|
+
data.tar.gz: 5389a63e4b5833ae5361e1d058059ecd4346f34de7e4965d4801dba2fc586ed43477729b81fc2a0e0897150d3853a82dbcd5d01f5b8f9caaf6a345e47159a034
|
|
@@ -5,10 +5,13 @@ module Ea
|
|
|
5
5
|
module EaEmitter
|
|
6
6
|
module Element
|
|
7
7
|
# Emits the horizontal divider path between header and
|
|
8
|
-
# attribute compartments.
|
|
8
|
+
# attribute compartments. EA draws the divider from the box
|
|
9
|
+
# left edge to one pixel INSIDE the right edge (corpus-
|
|
10
|
+
# verified: right end = box_right - 1 in 190 of 237
|
|
11
|
+
# identity-matched dividers).
|
|
9
12
|
class DividerRenderer
|
|
10
13
|
def self.render(bounds, y:, stroke:, stroke_width:)
|
|
11
|
-
%(<g style="stroke-width:#{stroke_width};stroke-linecap:round;stroke-linejoin:bevel; fill:#000000;fill-opacity:0.00; stroke:#{stroke}; stroke-opacity:1.00">\n <path d="M #{Canvas.coord(bounds.x)} #{Canvas.coord(y)} L #{Canvas.coord(bounds.x + bounds.width)} #{Canvas.coord(y)}" shape-rendering="auto"/>\n</g>)
|
|
14
|
+
%(<g style="stroke-width:#{stroke_width};stroke-linecap:round;stroke-linejoin:bevel; fill:#000000;fill-opacity:0.00; stroke:#{stroke}; stroke-opacity:1.00">\n <path d="M #{Canvas.coord(bounds.x)} #{Canvas.coord(y)} L #{Canvas.coord(bounds.x + bounds.width - 1)} #{Canvas.coord(y)}" shape-rendering="auto"/>\n</g>)
|
|
12
15
|
end
|
|
13
16
|
end
|
|
14
17
|
end
|
data/lib/ea/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ea
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.6.
|
|
4
|
+
version: 0.6.26
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-10-
|
|
11
|
+
date: 2026-10-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: lutaml-model
|