Project

lita-faker

0.0
No commit activity in last 3 years
No release in over 3 years
Generator of fake data such as names, addresses, and phone numbers for the Lita chat bot.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.7
~> 10.0
~> 3.3
~> 0.31
~> 0.10

Runtime

~> 1.4
~> 4.4
 Project Readme

Lita::Handlers::Faker

Gem Version Build Status Coverage Status

Generator of fake data such as names, addresses, and phone numbers for the Lita chat bot.

Usage

At first, see the documentation for Lita: http://docs.lita.io/

Installation

Add lita-faker to your Lita instance's Gemfile:

gem 'lita-faker', '~> 0.1.0'

Configuration

Faker requires locale. Put the following to config:

Lita.configure do |config|
  config.robot.locale = 'en-US'
end

Commands

lita-faker provides all commands of Faker which don't require arguments

Commands are written in snake_case, so Faker::PhoneNumber.cell_phone became faker phone_number cell_phone

fake is alias for faker

Examples

You: lita fake name name
Lita: Halie Waelchi
You: lita faker lorem sentence
Lita: Eveniet nemo tempore voluptatem et voluptas ea.