faker
https://github.com/faker-ruby/faker
Ruby
A library for generating fake data such as names, addresses, and phone numbers.
Faker::IdNumber.brazilian_cpf
No Docs, write some!
Edit
git clone [email protected]:faker-ruby/faker.git
cd faker
open lib/faker/default/id_number.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Faker--IdNumber-brazilian_cpf-for-pr
# Commit to gitgit add lib/faker/default/id_number.rbgit commit -m "better docs for Faker::IdNumber.brazilian_cpf"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Faker--IdNumber-brazilian_cpf-for-pr
hub pull-request
# Celebrate!