Archived
1
0
Fork 0

Add Faker

This commit is contained in:
Braiden Vasco 2017-07-21 15:23:43 +00:00
parent b93a3b372c
commit abab1ed226
4 changed files with 9 additions and 1 deletions

View file

@ -6,6 +6,8 @@ gem 'tox', path: '../tox.rb'
gem 'curses', '~> 1.2'
gem 'faker', '~> 1.8'
group :development, :test do
gem 'rubocop', '~> 0.49.1'
end

View file

@ -8,6 +8,9 @@ GEM
specs:
ast (2.3.0)
curses (1.2.3)
faker (1.8.4)
i18n (~> 0.5)
i18n (0.8.6)
parallel (1.11.2)
parser (2.4.0.0)
ast (~> 2.2)
@ -30,6 +33,7 @@ PLATFORMS
DEPENDENCIES
curses (~> 1.2)
faker (~> 1.8)
rubocop (~> 0.49.1)
tox!

View file

@ -3,6 +3,8 @@
require 'thread'
require 'curses'
require 'faker'
require 'widgets/menu'
require 'widgets/peers'
require 'widgets/chat'

View file

@ -15,7 +15,7 @@ module Widgets
@top = 0
@items = 1.upto(height - 1 + 10).map do
['Qwe'].*(3 * (1 + rand(15))).join(' ')
Faker::Name.name
end
end