ea 0.6.68 → 0.6.69

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: c7fcedda4b91a88d79b8f5465244ee52b36fd404ac2b857bc1d1451894a6e3c7
4
- data.tar.gz: 830e1eaa359016448a29883887c4648f026868c634df5c4debb2364416b1d14a
3
+ metadata.gz: 45113c2ef3c67bcfbfe3d9f570d2a2106e4bb100850b4970170f1c7053d5b968
4
+ data.tar.gz: ddf0f3096a198b123809dd97a1c406aa2a5756081b2835200be297f616a069bd
5
5
  SHA512:
6
- metadata.gz: f20b3391834fb6eb79400b6b502eed84b3cc557438a69699061a54a11368b88588c955285be2bff805600f8d5a70ba274d0f9f89157311ee9ec8130e978c8cd1
7
- data.tar.gz: c0408d5d3094d7111a01c9ef62ccf2ad44949006a7366a60e1e708612af285863fe476a6a7e977f078b8d798a71f5045ece48578a16d407e8dc945e4be9f3b54
6
+ metadata.gz: 5435877c1f4a3f0ee7d18bc2f01b39f1a1801535fa39fd63d24abc98fa720d0c79f27f7d2e40850c004e6cbae46609db9a150694f83e7bedb1d0818f98aedce9
7
+ data.tar.gz: efb4dc1a892711760241f159ccc8fa13b1ee1680f3b7510568f52977b8cbad5ccfc117c19e1d314d91fcd8c88e6c536495995b02c32e002c8fd949d67c89d5fb
@@ -37,7 +37,9 @@ module Ea
37
37
  y = first_y + (idx * line_h)
38
38
  visibility, rest = split_visibility(line)
39
39
  if visibility
40
- text_blocks << build_text(bounds.x + visibility_x_offset, y, visibility, family, size, size_unit, fill)
40
+ unless visibility.strip.empty?
41
+ text_blocks << build_text(bounds.x + visibility_x_offset, y, visibility, family, size, size_unit, fill)
42
+ end
41
43
  offset = (content_x_offset || DEFAULT_CONTENT_X_OFFSET) +
42
44
  2 * (size - 7)
43
45
  text_blocks << build_text(bounds.x + offset, y, rest, family, size, size_unit, fill)
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.68"
7
+ VERSION = "0.6.69"
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.68
4
+ version: 0.6.69
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.