six2six / fixture-factory

Generator fake objects from a template
Apache License 2.0
445 stars 88 forks source link

New fuction to generate CNPJ #55

Closed FelipeAdorno closed 10 years ago

FelipeAdorno commented 10 years ago

New fuction to generate CNPJ

aparra commented 10 years ago

Hi Felipe. Thanks a lot by you're collaborating. I reviewed your code, it's OK. Before accept your pull request I will review if the value generated is a valid CNPJ (http://www.geradorcnpj.com/algoritmo_do_cnpj.htm).

Please, let me know if you have used a different rule to create a CNPJ function.

FelipeAdorno commented 10 years ago

Hi Ander, I apologize for my mistake. Now I wrote the algorithm it is in the documentation and I tested the algorithm in this link http://www.geradorcnpj.com/validar-cnpj.htm

nykolaslima commented 10 years ago

@aparra can we merge it?