Project

laranja

0.0
No commit activity in last 3 years
No release in over 3 years
Laranja is a ruby gem which generates random fake valid data. It was built to help testing brazilian apps, since it generated specific data from the country. Now it's localized with the I18n gem, the gem has custom data and custom generators per locale. You can use it in your automated tests or to populate development databases.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
~> 5.6
~> 10.4

Runtime

~> 0.7
 Project Readme

Laranja

Build Status Code Climate Test Coverage

Os termos "laranja" e "testa de ferro" designam, na linguagem popular, a pessoa que intermedeia transações financeiras fraudulentas, emprestando seu nome, documentos ou conta bancária para ocultar a identidade de quem a contrata.

Laranja is a ruby gem which generates random fake valid data. It was built to help testing brazilian apps, since it generated specific data from the country. Now it's localized with the I18n gem, the gem has custom data and custom generators per locale. You can use it in your automated tests or to populate development databases.

Installation

Add this line to your application's Gemfile:

gem 'laranja'

And then execute:

$ bundle

Or install it yourself as:

$ gem install laranja

Usage

In order to use the Laranja's generators you need to require it and call load:

require 'laranja'

Laranja.load('pt-BR') # If no locale is passed, will try to use I18n.locale

Now you can use your locale specific generators.

Available Locales

TODO

  • Add a CONTRIBUTING.md
  • Finish stuff in pt-BR
  • Start en?