CPF and CNPJ validations for ActiveModel and Rails
https://github.com/rfs/validates_cpf_cnpj
20 forks.
32 stars.
10 open issues.
Recent commits:
- Version upgrade due last pull request commit, Reginaldo Silva
- More DRY to the spec and eliminated duplicated tests, Gabriel Mazetto
- Validates everytime by default, not only on save., Gabriel Mazetto
- exclude well know invalid numbers(that otherwise would be considered valid by the algorithm), Gabriel Mazetto
- dryed specs a little bit, Gabriel Mazetto