alego_report 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/alego_report.rb +2 -1
  2. metadata +3 -3
data/lib/alego_report.rb CHANGED
@@ -225,8 +225,9 @@ class Relatorio
225
225
  fim_string = -1
226
226
  end
227
227
 
228
+ ic = Iconv.new('UTF-8//IGNORE', 'UTF-8')
228
229
  doc.moveto :x => @eixo_x, :y => eixo_y_temporario
229
- doc.show valor_campo[inicio_string..fim_string].upcase, :tag => :cour_normal_reduzido
230
+ doc.show ic.iconv((valor_campo[inicio_string..fim_string].upcase) + ' ' )[0..-2], :tag => :cour_normal_reduzido
230
231
  eixo_y_temporario -= 0.4
231
232
 
232
233
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alego_report
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 15
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 7
10
- version: 0.0.7
9
+ - 8
10
+ version: 0.0.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - "Gustavo Gomes da F\xC3\xA9"