gruffy 1.0.2 → 1.0.3

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
  SHA1:
3
- metadata.gz: 7bb36cc9022990c3e7acafb52fb7674d0c44f7ba
4
- data.tar.gz: 3b3700dd96bb4c696cecc2f15d51b852adfb74cc
3
+ metadata.gz: a57cf7f03467e49bb5a752555955a7a65dfd94e8
4
+ data.tar.gz: ad2c76b08107c8409f416c744dcba74fd89fb45b
5
5
  SHA512:
6
- metadata.gz: 8c2220f2b8870cad6b72a85f2a1e4b2f73a9335192e5d3c4c8a8f3b2dcbc00ab9cfbae3e61c8dd439ffac15daa6bdd11d5af45d2a370ae80ce3167edf17b4d26
7
- data.tar.gz: a113978ddc2bee9f422fa4fa1af899874c9db2f9394d389e9855bbd375986f7ad843323b3aac8fd0f11fac20eca9008bc1d9ca7bd758eee1c37ae6bf8cb9b302
6
+ metadata.gz: 504b175d39f55b187694b37c6084ca4a2f7cb17af2dfae4ec506031251d7df621930adb7c6f0d7058660c94a734792d73a9dc0f4a19fb820e1a44b87c24b1deb
7
+ data.tar.gz: f77688e7b253f285f4c4a7aa5e7666fc1a2ebe8f33bc59ff03c0bc91cf48c71516ac00a17b819d5e98e241d2ba6bdd8293a612a3979d03620e870330dfa2c18d
@@ -375,6 +375,7 @@ module Gruffy
375
375
  @marker_shadow_color = @theme_options[:marker_shadow_color]
376
376
  @font_color = @theme_options[:font_color] || @marker_color
377
377
  @additional_line_colors = @theme_options[:additional_line_colors]
378
+ @background_label_height = @labels.values.sort_by {|v| v.size }.last.size rescue @background_label_height
378
379
 
379
380
  render_background
380
381
  end
@@ -1,3 +1,3 @@
1
1
  module Gruffy
2
- VERSION = '1.0.2'
2
+ VERSION = '1.0.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gruffy
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wuttikrai Limsakul