<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,5 +1,5 @@
 class BancoBrasil &lt; Boleto
-  
+
   def initialize
     super
     self.carteira = 18
@@ -67,13 +67,13 @@ class BancoBrasil &lt; Boleto
     #retorna digito para o bb
     return [0].include?(valor) ? &quot;X&quot; : valor
   end
-  
+
   def codigo_barra_imagem
     doc=Document.new :paper =&gt; [16,2], :margin =&gt; [1, 1, 1, 1]
     doc.barcode_interleaved2of5(self.codigo_barras, :height =&gt; 2)
     doc.render :jpeg, :filename =&gt; 'public/images/payment/codigobb.jpg', :size =&gt; '10x20'
   end
-  
+
   # Gerar o boleto em pdf usando template padr&#227;o
   def boleto_pdf
     doc=Document.new :paper =&gt; :A4 # 210x297
@@ -82,7 +82,7 @@ class BancoBrasil &lt; Boleto
     doc.define_tags do
       tag :grande, :size =&gt; 12
     end
-    
+
     #INICIO Primeira parte do BOLETO BB
     doc.moveto :x =&gt; '6.8 cm' , :y =&gt; '28 cm'
     doc.show &quot;#{self.banco}-#{self.banco_dv}&quot;, :tag =&gt; :grande
@@ -135,7 +135,7 @@ class BancoBrasil &lt; Boleto
     doc.moveto :x =&gt; '1.2 cm' , :y =&gt; '21.5 cm'
     doc.show &quot;#{self.sacado_linha2} - #{self.sacado_linha3}&quot;
     #FIM Primeira parte do BOLETO BB
-    
+
     #INICIO Segunda parte do BOLETO BB
     doc.moveto :x =&gt; '6.8 cm' , :y =&gt; '18.4 cm'
     doc.show &quot;#{self.banco}-#{self.banco_dv}&quot;, :tag =&gt; :grande
@@ -188,7 +188,7 @@ class BancoBrasil &lt; Boleto
     doc.moveto :x =&gt; '1.2 cm' , :y =&gt; '11.9 cm'
     doc.show &quot;#{self.sacado_linha2} - #{self.sacado_linha3}&quot;
     #FIM Segunda parte do BOLETO BB
-    
+
     #INICIO Terceira parte do BOLETO BB
     doc.moveto :x =&gt; '6.8 cm' , :y =&gt; '9 cm'
     doc.show &quot;#{self.banco}-#{self.banco_dv}&quot;, :tag =&gt; :grande
@@ -243,10 +243,10 @@ class BancoBrasil &lt; Boleto
     doc.moveto :x =&gt; '1.2 cm' , :y =&gt; '2.5 cm'
     doc.show &quot;#{self.sacado_linha2} - #{self.sacado_linha3}&quot;
     #FIM Terceira parte do BOLETO BB
-    
+
     #Gerando codigo de barra
     doc.barcode_interleaved2of5(self.codigo_barras, :width =&gt; '12 cm', :height =&gt; '1.5 cm', :x =&gt; '0.5 cm', :y =&gt; '0.6 cm' )
-    
+
     #Gerando PDF
     doc.render_stream(:pdf)
 </diff>
      <filename>lib/boleto/bancobrasil.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,7 +1,7 @@
 class Boleto
   #necessario para gerar codigo de barras
   include RGhost
-  
+
   attr_accessor :banco
   attr_accessor :banco_dv
   attr_accessor :convenio</diff>
      <filename>lib/boleto/boleto.rb</filename>
    </modified>
    <modified>
      <diff>@@ -134,7 +134,7 @@ end
 
 class Float
   include ValidaModule
-  
+
   def limpa_valor_moeda
     (self.to_s + (&quot;0&quot; * (2 - self.to_s.split(/\./).last.size ))).limpa_valor_moeda
   end</diff>
      <filename>lib/core_ext_payment.rb</filename>
    </modified>
    <modified>
      <diff>@@ -5,18 +5,18 @@ module Currency
   BRL = {:delimiter =&gt; &quot;.&quot;, :separator =&gt; &quot;,&quot;, :unit =&gt; &quot;R$&quot;, :precision =&gt; 2, :position =&gt; &quot;before&quot;}
   USD = {:delimiter =&gt; ',', :separator =&gt; &quot;.&quot;, :unit =&gt; &quot;US$&quot;, :precision =&gt; 2, :position =&gt; &quot;before&quot;}
   DEFAULT = BRL.merge(:unit =&gt; &quot;&quot;)
- 
+
   module String
     def to_number(options={})
       return self.gsub(/,/, '.').to_f if self.numeric?
       nil
     end
- 
+
     def numeric?
       self =~ /^(\+|-)?[0-9]+((\.|,)[0-9]+)?$/ ? true : false
     end
   end
- 
+
   module Number
     def to_currency(options = {})
       number = self
@@ -27,7 +27,7 @@ module Currency
       position  = options[&quot;position&quot;] || default[&quot;position&quot;]
       separator = precision &gt; 0 ? options[&quot;separator&quot;] || default[&quot;separator&quot;] : &quot;&quot;
       delimiter = options[&quot;delimiter&quot;] || default[&quot;delimiter&quot;]
- 
+
       begin
         parts = number.with_precision(precision).split('.')
         number = parts[0].to_i.with_delimiter(delimiter) + separator + parts[1].to_s
@@ -36,7 +36,7 @@ module Currency
         number
       end
     end
- 
+
     def with_delimiter(delimiter=&quot;,&quot;, separator=&quot;.&quot;)
       number = self
       begin
@@ -47,14 +47,14 @@ module Currency
         self
       end
     end
- 
+
     def with_precision(precision=3)
       number = self
       &quot;%01.#{precision}f&quot; % number
     end
   end
 end
- 
+
 class Fixnum; include Currency::Number; end
 class Bignum; include Currency::Number; end
 class Float; include Currency::Number; end</diff>
      <filename>lib/currency.rb</filename>
    </modified>
    <modified>
      <diff>@@ -8,14 +8,14 @@ namespace :acts_as_payment do
     File.join(&quot;#{RAILS_ROOT}/public&quot;),
     :verbose =&gt; true
     )
-    
+
     #copiando os layouts dos boleto em html
     FileUtils.cp_r( 
     Dir[File.join(plugin_dir, 'arquivos/views/*')], 
     File.join(&quot;#{RAILS_ROOT}/app/views&quot;),
     :verbose =&gt; true
     )
-    
+
     puts &quot;Terminado.&quot;
   end
 end</diff>
      <filename>tasks/acts_as_payment_tasks.rake</filename>
    </modified>
    <modified>
      <diff>@@ -102,35 +102,35 @@ class CoreExtPaymentTest &lt; Test::Unit::TestCase
     assert_equal 3774, (Date.parse &quot;2008-02-06&quot;).fator_vencimento
   end
 
-def test_should_clean_value
-  assert_equal &quot;123403&quot;, 1234.03.limpa_valor_moeda
-  assert_equal &quot;123403&quot;, +1234.03.limpa_valor_moeda
-  assert_equal &quot;123403&quot;, -1234.03.limpa_valor_moeda
-  assert_equal 123403, 123403.limpa_valor_moeda
-  assert_equal -123403, -123403.limpa_valor_moeda
-  assert_equal 123403, +123403.limpa_valor_moeda
-  assert_equal &quot;123403&quot;, &quot;1234.03&quot;.limpa_valor_moeda
-  assert_equal &quot;123403&quot;, &quot;1234,03&quot;.limpa_valor_moeda
-  assert_equal &quot;123403&quot;, &quot;1,234.03&quot;.limpa_valor_moeda
-  assert_equal &quot;123403&quot;, &quot;1.234.03&quot;.limpa_valor_moeda
-  assert_equal &quot;123403&quot;, &quot;1,234,03&quot;.limpa_valor_moeda
-  assert_equal &quot;1234003&quot;, &quot;12.340,03&quot;.limpa_valor_moeda
-  assert_equal &quot;123403&quot;, &quot;+1234.03&quot;.limpa_valor_moeda
-  assert_equal &quot;123403&quot;, &quot;+1234,03&quot;.limpa_valor_moeda
-  assert_equal &quot;123403&quot;, &quot;+1,234.03&quot;.limpa_valor_moeda
-  assert_equal &quot;123403&quot;, &quot;+1.234.03&quot;.limpa_valor_moeda
-  assert_equal &quot;123403&quot;, &quot;+1,234,03&quot;.limpa_valor_moeda
-  assert_equal &quot;1234003&quot;, &quot;+12.340,03&quot;.limpa_valor_moeda
-  assert_equal &quot;123403&quot;, &quot;-1234.03&quot;.limpa_valor_moeda
-  assert_equal &quot;123403&quot;, &quot;-1234,03&quot;.limpa_valor_moeda
-  assert_equal &quot;123403&quot;, &quot;-1,234.03&quot;.limpa_valor_moeda
-  assert_equal &quot;123403&quot;, &quot;-1.234.03&quot;.limpa_valor_moeda
-  assert_equal &quot;123403&quot;, &quot;-1,234,03&quot;.limpa_valor_moeda
-  assert_equal &quot;1234003&quot;, &quot;-12.340,03&quot;.limpa_valor_moeda
-  assert_equal &quot;1234ab&quot;, &quot;1234ab&quot;.limpa_valor_moeda
-  assert_equal &quot;ab1213&quot;, &quot;ab1213&quot;.limpa_valor_moeda
-  assert_equal &quot;ffab&quot;, &quot;ffab&quot;.limpa_valor_moeda
-  assert_equal &quot;1234&quot;, &quot;1234&quot;.limpa_valor_moeda
-end
+  def test_should_clean_value
+    assert_equal &quot;123403&quot;, 1234.03.limpa_valor_moeda
+    assert_equal &quot;123403&quot;, +1234.03.limpa_valor_moeda
+    assert_equal &quot;123403&quot;, -1234.03.limpa_valor_moeda
+    assert_equal 123403, 123403.limpa_valor_moeda
+    assert_equal -123403, -123403.limpa_valor_moeda
+    assert_equal 123403, +123403.limpa_valor_moeda
+    assert_equal &quot;123403&quot;, &quot;1234.03&quot;.limpa_valor_moeda
+    assert_equal &quot;123403&quot;, &quot;1234,03&quot;.limpa_valor_moeda
+    assert_equal &quot;123403&quot;, &quot;1,234.03&quot;.limpa_valor_moeda
+    assert_equal &quot;123403&quot;, &quot;1.234.03&quot;.limpa_valor_moeda
+    assert_equal &quot;123403&quot;, &quot;1,234,03&quot;.limpa_valor_moeda
+    assert_equal &quot;1234003&quot;, &quot;12.340,03&quot;.limpa_valor_moeda
+    assert_equal &quot;123403&quot;, &quot;+1234.03&quot;.limpa_valor_moeda
+    assert_equal &quot;123403&quot;, &quot;+1234,03&quot;.limpa_valor_moeda
+    assert_equal &quot;123403&quot;, &quot;+1,234.03&quot;.limpa_valor_moeda
+    assert_equal &quot;123403&quot;, &quot;+1.234.03&quot;.limpa_valor_moeda
+    assert_equal &quot;123403&quot;, &quot;+1,234,03&quot;.limpa_valor_moeda
+    assert_equal &quot;1234003&quot;, &quot;+12.340,03&quot;.limpa_valor_moeda
+    assert_equal &quot;123403&quot;, &quot;-1234.03&quot;.limpa_valor_moeda
+    assert_equal &quot;123403&quot;, &quot;-1234,03&quot;.limpa_valor_moeda
+    assert_equal &quot;123403&quot;, &quot;-1,234.03&quot;.limpa_valor_moeda
+    assert_equal &quot;123403&quot;, &quot;-1.234.03&quot;.limpa_valor_moeda
+    assert_equal &quot;123403&quot;, &quot;-1,234,03&quot;.limpa_valor_moeda
+    assert_equal &quot;1234003&quot;, &quot;-12.340,03&quot;.limpa_valor_moeda
+    assert_equal &quot;1234ab&quot;, &quot;1234ab&quot;.limpa_valor_moeda
+    assert_equal &quot;ab1213&quot;, &quot;ab1213&quot;.limpa_valor_moeda
+    assert_equal &quot;ffab&quot;, &quot;ffab&quot;.limpa_valor_moeda
+    assert_equal &quot;1234&quot;, &quot;1234&quot;.limpa_valor_moeda
+  end
 
 end</diff>
      <filename>test/core_ext_payment_test.rb</filename>
    </modified>
    <modified>
      <diff>@@ -4,7 +4,7 @@ require File.dirname(__FILE__) + '/../lib/currency.rb'
 
 class CurrencyTest &lt; Test::Unit::TestCase
   # Teste do modulo currency
-  
+
   # Testa se &#233; numero Ex. 1321 ou 13.32
   def test_should_return_true_is_numeric
     assert_equal true, &quot;1234&quot;.numeric?
@@ -32,7 +32,7 @@ class CurrencyTest &lt; Test::Unit::TestCase
     assert_equal false, &quot;ab1213&quot;.numeric?
     assert_equal false, &quot;ffab&quot;.numeric?
   end
-  
+
   def test_should_return_correct_number
     assert_equal 1234, &quot;1234&quot;.to_number
     assert_equal 123.4, &quot;123.4&quot;.to_number</diff>
      <filename>test/currency_test.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>89d553a32655330e8701aafe98a452bc44644217</id>
    </parent>
  </parents>
  <author>
    <name>Kivanio Barbosa</name>
    <email>kivanio@gmail.com</email>
  </author>
  <url>http://github.com/kivanio/acts_as_payment/commit/a6851430e0c95d0f36883c3925e37bccb03aba52</url>
  <id>a6851430e0c95d0f36883c3925e37bccb03aba52</id>
  <committed-date>2008-08-25T15:17:09-07:00</committed-date>
  <authored-date>2008-08-25T15:17:09-07:00</authored-date>
  <message>corrigindo identacao</message>
  <tree>5b3de6421d0bcdf6b99b3fdc3c3e604cfd152ef6</tree>
  <committer>
    <name>Kivanio Barbosa</name>
    <email>kivanio@gmail.com</email>
  </committer>
</commit>
