I18n: en-US pt-BR
Forgery extension with a tons of Brazilian things like names, cities, and others.
Brazilian's Forgery primary uses the awesome Forgery
and extends the package lib
with Dictionaries, Formats and Forgeries.
- Cities
- Female first names
- Last names
- Male first names
- States abbreviations
- States
- Streets
- Phone
- Zip
# Method # Example Output
Forgery('bank').code # 123
Forgery('bank').name # Bradesco
Forgery('bank').agency_name # São José dos Campos
Forgery('bank').agency_number # 1234-3
Forgery('bank').account_number # 1234567-3
Forgery('CNPJ').numeric # 57222068000132
Forgery('CNPJ').formatted # 22.792.949/0001-04
Forgery('CPF').numeric # 11438374798
Forgery('CPF').formatted # 059.893.186-42
Forgery('occupation').name # Engenheiro Mecânico
Like any gem:
$ gem install forgery
or
gem 'brazilian_forgery', '1.2.3'
- Fork it ( https://github.com/[my-github-username]/brazilian_forgery/fork )
- Create your feature branch (
git checkout -b my-awesome-feature
) - Commit your changes (
git commit -am 'Add the best feature'
) - Push to the branch (
git push origin my-awesome-feature
) - Create a new Pull Request.