diff --git a/Gemfile b/Gemfile index 3f900001..0854276a 100644 --- a/Gemfile +++ b/Gemfile @@ -47,6 +47,14 @@ group :development do # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring gem 'spring' gem 'spring-watcher-listen', '~> 2.0.0' + gem 'rspec-rails', '~> 3.5' +end + +group :test do + gem 'factory_girl_rails', '~> 4.0' + gem 'shoulda-matchers', '~> 3.1' + gem 'faker' + gem 'database_cleaner' end # Windows does not include zoneinfo files, so bundle the tzinfo-data gem diff --git a/Gemfile.lock b/Gemfile.lock index 760a1f64..399c6bf9 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -49,9 +49,18 @@ GEM execjs coffee-script-source (1.12.2) concurrent-ruby (1.0.5) + database_cleaner (1.5.3) debug_inspector (0.0.2) + diff-lcs (1.3) erubis (2.7.0) execjs (2.7.0) + factory_girl (4.8.0) + activesupport (>= 3.0.0) + factory_girl_rails (4.8.0) + factory_girl (~> 4.8.0) + railties (>= 3.0.0) + faker (1.7.3) + i18n (~> 0.5) ffi (1.9.18) globalid (0.3.7) activesupport (>= 4.1.0) @@ -112,6 +121,23 @@ GEM rb-fsevent (0.9.8) rb-inotify (0.9.8) ffi (>= 0.5.0) + rspec-core (3.5.4) + rspec-support (~> 3.5.0) + rspec-expectations (3.5.0) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.5.0) + rspec-mocks (3.5.0) + diff-lcs (>= 1.2.0, < 2.0) + rspec-support (~> 3.5.0) + rspec-rails (3.5.2) + actionpack (>= 3.0) + activesupport (>= 3.0) + railties (>= 3.0) + rspec-core (~> 3.5.0) + rspec-expectations (~> 3.5.0) + rspec-mocks (~> 3.5.0) + rspec-support (~> 3.5.0) + rspec-support (3.5.0) sass (3.4.23) sass-rails (5.0.6) railties (>= 4.0.0, < 6) @@ -119,6 +145,8 @@ GEM sprockets (>= 2.8, < 4.0) sprockets-rails (>= 2.0, < 4.0) tilt (>= 1.1, < 3) + shoulda-matchers (3.1.1) + activesupport (>= 4.0.0) spring (2.0.1) activesupport (>= 4.2) spring-watcher-listen (2.0.1) @@ -156,13 +184,18 @@ PLATFORMS DEPENDENCIES byebug coffee-rails (~> 4.2) + database_cleaner + factory_girl_rails (~> 4.0) + faker jbuilder (~> 2.5) jquery-rails listen (~> 3.0.5) mysql2 (>= 0.3.18, < 0.5) puma (~> 3.0) rails (~> 5.0.2) + rspec-rails (~> 3.5) sass-rails (~> 5.0) + shoulda-matchers (~> 3.1) spring spring-watcher-listen (~> 2.0.0) turbolinks (~> 5) diff --git a/README.md b/README.md index 7db80e4c..fb9c720f 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ # README -This README would normally document whatever steps are necessary to get the -application up and running. +SXRestuarant is a new Dedicate project for SmartSales Restaurant. It is improvement from v1.2 with upgrade to latest Bootstrap and Rails 5. The API is better define and route are refactor. Things you may want to cover: * Ruby version +ruby 2.3.2p217 * System dependencies