gruffy 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0a8815c984558648e2da310a7cb502ccd86565b0
4
- data.tar.gz: 9a51a4e2fe8913a15e11f6a911bcefb061720c3b
3
+ metadata.gz: 97735b821a3727121955799ba0d8df51f4b8eabb
4
+ data.tar.gz: 113f68a5deb2b7b4544db562f9ef64922f5c041b
5
5
  SHA512:
6
- metadata.gz: 0be652197049a3ebe1f0d759fd94be3a03efc2aa172d0b323080b13bd878e16ccb35e4d999560bce1c56073604c37ea414fcad5f6804225815ea65fc710d85ce
7
- data.tar.gz: 422d2cd61e9d5f903c7942deed3a6e21495b70dca701e5c8798ddc8437fbb3f044f77e721cba4fb799c306714ea9eb678a5733856b6d29a3d69ccda64282979b
6
+ metadata.gz: cde264c5b6f9fb15664ecc00a4f32f6c281791c0db5540e6e2d2265d783296d7f29eef51032366eba0572c172d302062a87d799497e4cb8d7771606cdd1704c8
7
+ data.tar.gz: 2735d5f675acceccad2431a61e9c478e1a1ff7b845d5c88472dc274cfaeea793a1bbe02c1864a77b344651ed2fd5d0ddd1697fd0f189cdb46af64b6b1e4c4dee
@@ -863,9 +863,9 @@ module Gruffy
863
863
  end
864
864
  end
865
865
 
866
- y_offset += ((label_text.size - different_size) * 4) + 10 if @d.label_rotation.preset?
866
+ y_offset += ((label_text.size - different_size) * 4) + 10 if @label_rotation.preset?
867
867
  if x_offset >= @graph_left && x_offset <= @graph_right
868
- @d.rotation = (@d.label_rotation.to_i * (-1)) if @d.label_rotation.preset?
868
+ @d.rotation = (@label_rotation.to_i * (-1)) if @label_rotation.preset?
869
869
  @d.fill = @font_color
870
870
  @d.font = @font if @font
871
871
  @d.stroke('transparent')
@@ -876,7 +876,7 @@ module Gruffy
876
876
  1.0, 1.0,
877
877
  x_offset, y_offset,
878
878
  label_text, @scale)
879
- @d.rotation = @d.label_rotation.to_i if @d.label_rotation.preset?
879
+ @d.rotation = @label_rotation.to_i if @label_rotation.preset?
880
880
  end
881
881
  @labels_seen[index] = 1
882
882
  debug { @d.line 0.0, y_offset, @raw_columns, y_offset }
@@ -954,7 +954,7 @@ module Gruffy
954
954
  else
955
955
  gradient_fill = GradientFill.new(0, 0, 100, 0, top_color, bottom_color)
956
956
  end
957
- @rows += 55 if @d.label_rotation.preset?
957
+ @rows += 55 if @label_rotation.preset?
958
958
  Image.new(@columns, @rows, gradient_fill)
959
959
  end
960
960
 
@@ -1,3 +1,3 @@
1
1
  module Gruffy
2
- VERSION = '0.0.4'
2
+ VERSION = '0.0.5'
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: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wuttikrai Limsakul