ea 0.6.72 → 0.6.73

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: d8e91b80d0c035a0deb3122b5ac8cd20b482ff6c49e6fab312d4a003602bc5a1
4
- data.tar.gz: bccd0383c8f54915b80e028f4fa7e8468bb0ab71a09508d1e2e35a39682e3892
3
+ metadata.gz: b95d00db6e55925fdf4237788c41d12ce4c3345d4b986559ec3c4fe9f9c2fcb9
4
+ data.tar.gz: b689f482ea923e86d9e70584580f1477221922e3b0230c7ad7c2b17a7817934b
5
5
  SHA512:
6
- metadata.gz: 3ec29aeeb4158f28141c881b67f07b3fa92fa834f05e478a1ea812827e679842754797e6e0bf195c106a96e63fc657d929bf3eecd9894379de7d473d5e9ed78d
7
- data.tar.gz: 6be8d9f42a0e5a9d88cbe0dabca9242021aef148ef2bdbf5731a9b226173aae4da68931cfbc9b89ed23148e530e2632c98299a121e4b1fe45388b71c9f292948
6
+ metadata.gz: 82679b21f73c9fbef242d8417a171f15e4b7720860a568f91259163d31c696181db0852618218c68a6e186b73c4857b26a64d2c28ab83dc1a76223cd1fc02da9
7
+ data.tar.gz: 344620a2f03b56849e800bbe2489933604054c958f3bff93b7182308f9a3e83d3d554102f92d6bc24afddcde2eff46e2eb8abf55a90e03b0759cfe8dcf500b3d
@@ -48,11 +48,10 @@ module Ea
48
48
  ys = points.map(&:last)
49
49
  min_x = xs.min || 0
50
50
  min_y = ys.min || 0
51
- # When the leftmost element touches stored x=0 the left
52
- # inset is 30, not 35 (all five such sample diagrams are
53
- # exactly 5px narrower; min_x>0 diagrams keep 35). Canvas
54
- # translation must use the same value.
55
- @effective_inset_left = min_x.zero? ? INSET_LEFT - 5 : INSET_LEFT
51
+ # Left inset scales from 30 up to the 35 cap with the
52
+ # stored leftmost x: leftmost drawn x = 30 + min_x capped
53
+ # at 35 (corpus: min_x 0 -> 30, 2 -> 32, 4 -> 34, >=5 -> 35).
54
+ @effective_inset_left = [INSET_LEFT - 5 + min_x, INSET_LEFT].min
56
55
  [
57
56
  min_x,
58
57
  min_y,
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.72"
7
+ VERSION = "0.6.73"
8
8
  end
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.72
4
+ version: 0.6.73
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-10 00:00:00.000000000 Z
11
+ date: 2026-10-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lutaml-model