<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,3 +1,4 @@
+# encoding: UTF-8
 require 'net/http'
 require 'rexml/document'
 </diff>
      <filename>brcep/lib/brcep/busca_endereco.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,3 +1,4 @@
+# encoding: UTF-8
 $:.unshift(File.dirname(__FILE__)) unless
   $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
 
@@ -40,4 +41,4 @@ feriados, metodos = FeriadoParser.parser(File.dirname(__FILE__) + &quot;/brdata/confi
 Date::FERIADOS.clear
 Date::FERIADOS_METODOS.clear
 feriados.each { |f| Date::FERIADOS &lt;&lt; f }
-metodos.each { |m| Date::FERIADOS_METODOS &lt;&lt; m }
\ No newline at end of file
+metodos.each { |m| Date::FERIADOS_METODOS &lt;&lt; m }</diff>
      <filename>brdata/lib/brdata.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,3 +1,4 @@
+# encoding: UTF-8
 module ActionView::Helpers::DateHelper
   # Traduz o m&#233;todo distance_of_time_in_words para retornar esse valor em portugu&#234;s
   #
@@ -30,4 +31,4 @@ module ActionView::Helpers::DateHelper
     else                      &quot;mais de #{(distance_in_minutes / 525960).round} anos&quot;
     end
   end
-end
\ No newline at end of file
+end</diff>
      <filename>brdata/lib/brdata/br_date_helper.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,3 +1,4 @@
+# encoding: UTF-8
 def cria_excecao(classe, mensagem)
   eval &quot;class #{classe}; def initialize; super('#{mensagem}'); end; end&quot;
 end</diff>
      <filename>brdata/lib/brdata/excecoes.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,3 +1,4 @@
+# encoding: UTF-8
 module ActionView::Helpers::FormOptionsHelper
   ESTADOS_BRASILEIROS = [[&quot;Acre&quot;, &quot;AC&quot;],
     [&quot;Alagoas&quot;, &quot;AL&quot;],</diff>
      <filename>brhelper/lib/brhelper/br_form_options_helper.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,3 +1,4 @@
+# encoding: UTF-8
 module Extenso 
   @@unidade = {
     0 =&gt; &quot;zero&quot;,  
@@ -60,12 +61,12 @@ module Extenso
   #  Extenso.por_extenso(100) ==&gt; &quot;cem&quot;
   #  Extenso.por_extenso(158) ==&gt; &quot;cento e cinquenta e oito&quot;  
   def Extenso.por_extenso(numero)
-    negativo=(numero&lt;0)?&quot;menos &quot;:&quot;&quot;
+    negativo=(numero&lt;0)? &quot;menos &quot; : &quot;&quot;
     n=numero.to_i.abs
     return case n
-    when 0..9: negativo + @@unidade[n].to_s
-    when 10..19: negativo + @@dezena[n].to_s
-    when 20..99:
+    when 0..9 then negativo + @@unidade[n].to_s
+    when 10..19 then negativo + @@dezena[n].to_s
+    when 20..99
       v=n % 10
       if  v== 0
         negativo + @@dezena[n].to_s
@@ -121,8 +122,8 @@ module ExtensoReal
   #  Extenso.por_extenso_em_reais(100) ==&gt; &quot;cem reais&quot;
   #  Extenso.por_extenso_em_reais(100.58) ==&gt; &quot;cem reais e cinquenta e oito centavos&quot;  
   def ExtensoReal.por_extenso_em_reais(valor)
-    negativo=(valor&lt;0)?&quot; negativo&quot;:&quot;&quot;
-    negativos=(valor&lt;0)?&quot; negativos&quot;:&quot;&quot;
+    negativo=(valor&lt;0)? &quot; negativo&quot; : &quot;&quot;
+    negativos=(valor&lt;0)? &quot; negativos&quot; : &quot;&quot;
     valor = valor.abs
     return 'gr&#225;tis' if valor == 0
     case valor
@@ -138,9 +139,9 @@ module ExtensoReal
       real,cents=(&quot;%.2f&quot; % valor).split(/\./).map{ |m| m.to_i}
       valor_cents=Extenso.por_extenso(cents%100)
       valor_cents+= case cents.to_i%100
-      when 0: &quot;&quot;
-      when 1: &quot; centavo&quot;
-      when 2..99: &quot; centavos&quot;
+      when 0 then &quot;&quot;
+      when 1 then &quot; centavo&quot;
+      when 2..99 then &quot; centavos&quot;
       end
 
       if real.to_i &gt; 0</diff>
      <filename>brnumeros/lib/brnumeros/number_portuguese.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,3 +1,4 @@
+# encoding: UTF-8
 class String
   MINUSCULAS_COM_ACENTO = '&#225;&#233;&#237;&#243;&#250;&#226;&#234;&#238;&#244;&#251;&#224;&#232;&#236;&#242;&#249;&#228;&#235;&#239;&#246;&#252;&#227;&#245;&#241;&#231;'
   MAIUSCULAS_COM_ACENTO = '&#193;&#201;&#205;&#211;&#218;&#194;&#202;&#206;&#212;&#219;&#192;&#200;&#204;&#210;&#217;&#196;&#203;&#207;&#214;&#220;&#195;&#213;&#209;&#199;'</diff>
      <filename>brstring/lib/brstring/string_portuguese.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>42eae32f13f64c291ab5dba4b6ce0a27d83d5b6f</id>
    </parent>
  </parents>
  <author>
    <name>Fernando Luizao</name>
    <email>fernandoluizao@gmail.com</email>
  </author>
  <url>http://github.com/tapajos/brazilian-rails/commit/9eaa0a09cf21b283330e9771497c2d1025a12eab</url>
  <id>9eaa0a09cf21b283330e9771497c2d1025a12eab</id>
  <committed-date>2009-08-28T16:25:44-07:00</committed-date>
  <authored-date>2009-08-28T16:25:44-07:00</authored-date>
  <message>fixes para ruby 1.9</message>
  <tree>a5a1e2813a7de2255d95641e769aaf2649005fed</tree>
  <committer>
    <name>Fernando Luizao</name>
    <email>fernandoluizao@gmail.com</email>
  </committer>
</commit>
