From b9e825f9e2ddd90a62eaaf8d2298ee2abf1db240 Mon Sep 17 00:00:00 2001 From: Alex Kotov Date: Fri, 23 Nov 2018 01:24:13 +0500 Subject: [PATCH] Use Faker --- Gemfile | 4 ++++ Gemfile.lock | 3 +++ 2 files changed, 7 insertions(+) diff --git a/Gemfile b/Gemfile index 595f8be..ff44d11 100644 --- a/Gemfile +++ b/Gemfile @@ -36,6 +36,10 @@ gem 'bootsnap', '>= 1.1.0', require: false gem 'pry-rails', '~> 0.3' group :development, :test do + # Faker is used to easily generate fake data: + # names, addresses, phone numbers, etc. + gem 'faker', '~> 1.8' + # Automatic Ruby code style checking tool. # Aims to enforce the community-driven Ruby Style Guide. gem 'rubocop', '~> 0.60.0' diff --git a/Gemfile.lock b/Gemfile.lock index 384805b..7638bc0 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -56,6 +56,8 @@ GEM docile (1.3.1) erubi (1.7.1) execjs (2.7.0) + faker (1.9.1) + i18n (>= 0.7) ffi (1.9.25) globalid (0.4.1) activesupport (>= 4.2.0) @@ -207,6 +209,7 @@ PLATFORMS DEPENDENCIES bootsnap (>= 1.1.0) byebug + faker (~> 1.8) listen (>= 3.0.5, < 3.2) pg (>= 0.18, < 2.0) pry-rails (~> 0.3)