lib/brcpfcnpj.rb in brcpfcnpj-3.0.5 vs lib/brcpfcnpj.rb in brcpfcnpj-3.0.6
- old
+ new
@@ -1,9 +1,9 @@
# -*- encoding : utf-8 -*-
$:.unshift(File.dirname(__FILE__)) unless
$:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
-%w(cpf_cnpj cnpj cpf cpf_cnpj_activerecord).each {|req| require File.dirname(__FILE__) + "/brcpfcnpj/#{req}"}
+%w(cpf_cnpj cnpj cpf cpf_cnpj_activerecord cnpj_validator cpf_validator).each {|req| require File.dirname(__FILE__) + "/brcpfcnpj/#{req}"}
%w(rubygems active_record active_support).each {|req| require req }
ActiveRecord::Base.send :include, CpfCnpjActiveRecord