Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
408 commits
Select commit Hold shift + click to select a range
65aa3a4
added more merchants
ubeninja77 Jun 15, 2020
7d6ab39
added require login filter for adding new product
dnguye2 Jun 15, 2020
56cb71a
added flash view
dnguye2 Jun 15, 2020
2373c72
added new product button on merchant dashboard
dnguye2 Jun 15, 2020
38d8613
barebones new product page
dnguye2 Jun 15, 2020
f802fcd
fixed merge conflicts
dnguye2 Jun 15, 2020
7af1312
got Oauth login to work
dnguye2 Jun 15, 2020
8057be6
fixed footer spacing when no items in the system
dnguye2 Jun 15, 2020
441dc02
Added psuedocode planning for edit and update.
RebeccaRoach Jun 16, 2020
4321056
Revisited enough_stock method and planning
RebeccaRoach Jun 16, 2020
8c78e22
Added enough_stock? model method on Product
RebeccaRoach Jun 16, 2020
d3758a3
Changed creating order from orderitems controller to application cont…
RebeccaRoach Jun 16, 2020
423f297
Amended migration name to match heroku expectations.
RebeccaRoach Jun 16, 2020
4f296a4
Second time's the charm for heroku?
RebeccaRoach Jun 16, 2020
5329235
Renamed join table to be finally removed
RebeccaRoach Jun 16, 2020
719246f
Changed add_columns to change_columns in order migration.
RebeccaRoach Jun 16, 2020
19ee0f5
Used sql for typecasting strings into integers for various columns on…
RebeccaRoach Jun 16, 2020
da804cd
Changed datatypes for migrations.
RebeccaRoach Jun 16, 2020
a3236fb
added total_revenue and total_revenue by status
ubeninja77 Jun 16, 2020
69826c4
added merchants to seed db
ubeninja77 Jun 16, 2020
0f2b453
added test for the merch model, trying to get tests to pass
ubeninja77 Jun 16, 2020
f2445d4
Added mark_item_shipped! in orderitem model, updated orderitem contro…
RebeccaRoach Jun 16, 2020
a55be51
Merging master progress into BR orderitems branch.
RebeccaRoach Jun 16, 2020
a2a88b8
changed uid to merchant_id for current user
denisseai Jun 16, 2020
adb3a89
changed logout session from uid to merchant_id
denisseai Jun 16, 2020
49f996d
Changed method from delete to post for logout
denisseai Jun 16, 2020
d50a9db
Changed provider data type from bigibt to string
denisseai Jun 16, 2020
a9a8eeb
Fixed cart.html.erb for demo, changed cancel to cancelled status in o…
RebeccaRoach Jun 16, 2020
bc4c507
Commented out is_merch_of
RebeccaRoach Jun 16, 2020
2e11f41
Merge branch 'master' into 06-BR-orderItems
RebeccaRoach Jun 16, 2020
f92ea3f
Merged master into order
RebeccaRoach Jun 16, 2020
bfd382c
fixed flash message layout
dnguye2 Jun 16, 2020
5324a12
added light text for flash messages
dnguye2 Jun 16, 2020
1db3809
added sign in button that shows when not logged in, logout and user p…
dnguye2 Jun 16, 2020
9a3f47c
fixed color codes for flash messages
dnguye2 Jun 16, 2020
14007c9
accepting merged files
ubeninja77 Jun 16, 2020
72f2066
Merge branch '08-dn-navbar-with-conditional-login'
dnguye2 Jun 16, 2020
3adbef7
Implemented checkout method, controllers methods for update and submit
RebeccaRoach Jun 16, 2020
043d5c9
Merge branch 'master' into 07-BR-order
RebeccaRoach Jun 16, 2020
4a8d1ca
Added dropdown reflecting product stock in product show page.
RebeccaRoach Jun 16, 2020
8fa95e2
Functional orderitems create action
RebeccaRoach Jun 16, 2020
73d769a
Readded is_order_of in order model, changed product model to orderite…
RebeccaRoach Jun 16, 2020
5f17aa0
added flash message if product is successfully added
dnguye2 Jun 16, 2020
1310e2a
product#new nominal test added and pass
dnguye2 Jun 16, 2020
f508597
removed product#destroy action
dnguye2 Jun 16, 2020
bd70ed8
Cleaned set_current_order in application_controller
RebeccaRoach Jun 16, 2020
d41c7f9
Merge branch 'master' into 06-BR-orderItems
RebeccaRoach Jun 16, 2020
6445382
added simplecov to testing
dnguye2 Jun 16, 2020
b188c0a
Added forms for order payment and cart
denisseai Jun 16, 2020
a1febf8
Merge remote-tracking branch 'origin/03-da-order' into 09-dn-new-prod…
dnguye2 Jun 16, 2020
942de60
Merge remote-tracking branch 'origin/09-dn-new-product-form' into 03-…
denisseai Jun 17, 2020
c610269
updated add to cart button styling
dnguye2 Jun 17, 2020
048ec60
padding fixed for edit order page
dnguye2 Jun 17, 2020
e5de2fd
adjusted cart styling
dnguye2 Jun 17, 2020
fe9f128
added number_with_precision to display prices properly
dnguye2 Jun 17, 2020
0076a7e
added classes for cart styling
dnguye2 Jun 17, 2020
63439e0
added precision and comma delimiter to total price
dnguye2 Jun 17, 2020
bb8b06f
product link changed from white to black
dnguye2 Jun 17, 2020
19d3811
fixed typo on app/controllers/orders
denisseai Jun 17, 2020
ba06e8e
added text for when cart is empty
dnguye2 Jun 17, 2020
6b3cc56
Merge branch '09-dn-new-product-form' into 03-da-order
denisseai Jun 17, 2020
dfad7b8
Added edit method to orderitems controller
denisseai Jun 17, 2020
85db934
Added view for order to update orderitem
denisseai Jun 17, 2020
c2ca2a2
Added edit to route resources in orderitems
denisseai Jun 17, 2020
5adfcaa
Updated picture size for edit orderitem
denisseai Jun 17, 2020
c84475e
updated add new product button styling
dnguye2 Jun 17, 2020
07d236c
new product form added
dnguye2 Jun 17, 2020
12e8ee6
added product new buttons styling classes
dnguye2 Jun 17, 2020
f4b163d
Fixed orderitems controller tests, yml typos, added quantity for enou…
RebeccaRoach Jun 17, 2020
06e1387
added simplecov coverage to gitignore
dnguye2 Jun 17, 2020
6f3565b
added test to match flash error
dnguye2 Jun 17, 2020
be5fd7e
gitignore coverage...again
dnguye2 Jun 17, 2020
becd3c2
Merge branch 'master' of https://github.com/RebeccaRoach/betsy
dnguye2 Jun 17, 2020
d987363
Merge branch '09-dn-new-product-form'
dnguye2 Jun 17, 2020
de60407
Added some questions
denisseai Jun 17, 2020
7a70f23
Merge branch '03-da-order'
denisseai Jun 17, 2020
4635e0f
Added errors to form edit view.
RebeccaRoach Jun 17, 2020
0b98988
Cleaned cart.html.erb and added get method to see updated quantities
RebeccaRoach Jun 17, 2020
3230d53
Enough stock questions and validation experiments
RebeccaRoach Jun 17, 2020
0d90331
update quantity functional by adding nested params
dnguye2 Jun 17, 2020
4a8749c
removed showing categories of a product
dnguye2 Jun 17, 2020
154a63b
added hidden field to automatically add merchant_id and now have func…
dnguye2 Jun 17, 2020
56e4b4a
fixed form group width
dnguye2 Jun 17, 2020
2e75777
redirect to product path after a new product is made
dnguye2 Jun 17, 2020
b06cae4
added place holders and ability to select categories
dnguye2 Jun 17, 2020
14e858d
styled header for new product page
dnguye2 Jun 17, 2020
6b3a428
display categories of a product on product detail page
dnguye2 Jun 17, 2020
d39dd77
fixed footer spacing when no products in system
dnguye2 Jun 17, 2020
44e7fb7
added new category button
dnguye2 Jun 17, 2020
341b9e7
added create category functionality only allowed when logged in
dnguye2 Jun 17, 2020
c817454
removed unnecessary routes
dnguye2 Jun 17, 2020
4c68215
simple styling for list of categories for add new product
dnguye2 Jun 17, 2020
dffd825
added custom route to retire a product
dnguye2 Jun 17, 2020
3f47320
added products#retire controller action
dnguye2 Jun 17, 2020
3cc09a4
model method to retire a product
dnguye2 Jun 17, 2020
35adcbc
only merchant of their own products can retire an item
dnguye2 Jun 17, 2020
837de29
remove product from browsing if retired
dnguye2 Jun 17, 2020
df7ecba
remove product from browsing if a product is retired
dnguye2 Jun 17, 2020
8e148a7
allow add new product and category only upon login
dnguye2 Jun 17, 2020
5b365f3
added merchant link to product detail page
dnguye2 Jun 17, 2020
b1ca880
can only see add new product and category on user dashboard page not …
dnguye2 Jun 17, 2020
f9f7948
styling for when a product is retired
dnguye2 Jun 17, 2020
2b15f80
require login to edit a product
dnguye2 Jun 17, 2020
e031322
fixed typo
dnguye2 Jun 17, 2020
0fb5016
working on getting tests to pass
ubeninja77 Jun 17, 2020
16917b4
Progress on validations.
RebeccaRoach Jun 17, 2020
87aa53b
added review this product button
dnguye2 Jun 17, 2020
04ae496
added review#new and review#create to create reviews
dnguye2 Jun 17, 2020
e129c67
review only if not merchant of product, also added review display on …
dnguye2 Jun 17, 2020
15366d8
new review for product form
dnguye2 Jun 17, 2020
f394f29
updated review count display
dnguye2 Jun 17, 2020
f446710
styled list of reviews display
dnguye2 Jun 17, 2020
12ab428
Modified create to return @orderitem early if attempted quantity exce…
RebeccaRoach Jun 17, 2020
85327b1
Cleaned code
RebeccaRoach Jun 18, 2020
a00bc8a
Added view for order update and confirmation page (todo: fix show)
RebeccaRoach Jun 18, 2020
6de0872
Progress on order
RebeccaRoach Jun 18, 2020
f6da6ef
Fixed orderitem tests with nested params
RebeccaRoach Jun 18, 2020
8fe26b5
Added strong params and modified extra param options for update. Adde…
RebeccaRoach Jun 18, 2020
833bfc0
Updated Orders Controller.
RebeccaRoach Jun 18, 2020
cf32eca
Added validations back in, updated methods.
RebeccaRoach Jun 18, 2020
164b8ae
Added validation on stock for product model
RebeccaRoach Jun 18, 2020
4b99705
Edited views for orderitems, order success
RebeccaRoach Jun 18, 2020
e1d5844
Added zero stock product for testing
RebeccaRoach Jun 18, 2020
0d35238
Edited routes for success and merchant_orders
RebeccaRoach Jun 18, 2020
f7ab07f
Major progress for order controller tests
RebeccaRoach Jun 18, 2020
f3636ad
Merge branch 'ValidationTroubles'
RebeccaRoach Jun 18, 2020
e8d1f36
Merge branch 'master' of https://github.com/RebeccaRoach/betsy
RebeccaRoach Jun 18, 2020
5874ed3
Deleted unnecessary flash messages.
RebeccaRoach Jun 18, 2020
39f41eb
added testing
ubeninja77 Jun 18, 2020
0dd1d20
added dropdown that changes an orderitem's quantity
dnguye2 Jun 18, 2020
39d223a
removed flash status upon updating orderitem
dnguye2 Jun 18, 2020
82a6331
added cart class styling
dnguye2 Jun 18, 2020
94300b1
styled cart by changing updating quantity to dropdown, shifted placem…
dnguye2 Jun 18, 2020
aa663c8
removed redundant flash messages
dnguye2 Jun 18, 2020
0337c02
removed orderitems#edit because changed quantity is done through drop…
dnguye2 Jun 18, 2020
d70d377
made errors flash smaller size
dnguye2 Jun 18, 2020
fe1a91b
fixed errors container always showing up during checkout
dnguye2 Jun 18, 2020
0749570
changed redirect location to product#show page when product is succes…
dnguye2 Jun 18, 2020
d97e647
added edit product link to merchant dashboard
dnguye2 Jun 18, 2020
d1a7d3d
optimized partial form to be used for both products#new and products#…
dnguye2 Jun 18, 2020
da41a55
added products#edit page
dnguye2 Jun 18, 2020
bd6568b
fixed products#new form button name
dnguye2 Jun 18, 2020
8f1da99
removed double label of quantity on products#show page
dnguye2 Jun 18, 2020
3b07158
Modified and added new fixtures to test merchant all_orders model, im…
RebeccaRoach Jun 18, 2020
1aa527c
view to signal dashboard vs other merchant
dnguye2 Jun 18, 2020
46d606e
cleaned up code
dnguye2 Jun 18, 2020
e454331
DRY up controller actions with find_product before_action
dnguye2 Jun 18, 2020
2b4e204
cannot create a review if merchant of a product
dnguye2 Jun 18, 2020
b6a550e
removed hidden review button
dnguye2 Jun 18, 2020
861b185
working on tests to pass
ubeninja77 Jun 18, 2020
eda3598
deleted old code and cleaned up indentations
ubeninja77 Jun 18, 2020
66caf53
created merchant.yml for testing
dnguye2 Jun 18, 2020
8a57341
DRY up tests, reformatted show test
dnguye2 Jun 18, 2020
6eac820
created and passed product#create tests
dnguye2 Jun 18, 2020
2b6a060
completed product#create edge case test
dnguye2 Jun 18, 2020
f55d1a4
created and pass all products#update tests
dnguye2 Jun 18, 2020
7b494f0
products#edit tests
dnguye2 Jun 18, 2020
1cee991
styled order confirmation page
dnguye2 Jun 18, 2020
070d89a
added out of stock view
dnguye2 Jun 18, 2020
4d10abb
condensed view all merchants
dnguye2 Jun 18, 2020
887f4a1
removed typo in iteration of merchant shops
dnguye2 Jun 18, 2020
5935b03
modified cart is empty text
dnguye2 Jun 18, 2020
2f6a015
added total # of reviews
dnguye2 Jun 18, 2020
ac52a4f
working on tests to pass
ubeninja77 Jun 18, 2020
c029567
added product model test scaffolding
dnguye2 Jun 18, 2020
b99d6a1
cleaned up code
dnguye2 Jun 18, 2020
52463eb
added skeleton order detail page
dnguye2 Jun 18, 2020
26b775f
removed update view
dnguye2 Jun 18, 2020
5eae80f
tests passing
ubeninja77 Jun 18, 2020
42e00f1
Merge branch 'master' of https://github.com/RebeccaRoach/betsy into 0…
ubeninja77 Jun 18, 2020
49fc486
trying to get test to pass
ubeninja77 Jun 18, 2020
6d068d3
Progress on order_controller.
RebeccaRoach Jun 18, 2020
de14baf
deleted old code
ubeninja77 Jun 18, 2020
3ae2386
Added yml file for reviews
denisseai Jun 18, 2020
e3d8ddb
changed redired for retired
dnguye2 Jun 18, 2020
ed03ecd
Merge branch 'master' of https://github.com/RebeccaRoach/betsy
dnguye2 Jun 18, 2020
1703e63
Fixed conflict in merchants.yml
RebeccaRoach Jun 18, 2020
306c420
Merge branch '06-ll-merch_controller'
ubeninja77 Jun 18, 2020
7818989
Merge branch 'master' of https://github.com/RebeccaRoach/betsy
ubeninja77 Jun 18, 2020
ceb68cf
added more merchants
ubeninja77 Jun 18, 2020
54b1486
commented out unneeded method, delete later
dnguye2 Jun 18, 2020
c1fd8e4
added orders#index
dnguye2 Jun 18, 2020
c38e17a
added orders#index which serves as order dashboard
dnguye2 Jun 18, 2020
d59bec7
merchant methods for order dashboard
dnguye2 Jun 18, 2020
4be2e78
scaffolding for merchant revenue model methods
dnguye2 Jun 18, 2020
1faf7ce
added tests for validations, relationshis, and github
ubeninja77 Jun 18, 2020
88d544e
added more fixtures
dnguye2 Jun 18, 2020
b46345a
"@merchants" changed to "@merchant"
dnguye2 Jun 18, 2020
d1faebf
Fixed typos in merchant_test, now tests run.
RebeccaRoach Jun 18, 2020
4109e61
Merge branch 'master' of https://github.com/RebeccaRoach/betsy
RebeccaRoach Jun 18, 2020
6026634
Merge branch '04-ll-merch_model'
ubeninja77 Jun 18, 2020
81ab2ac
Merge branch 'master' of https://github.com/RebeccaRoach/betsy
ubeninja77 Jun 18, 2020
b7fde14
Added average rating to product model and corresponding views
denisseai Jun 18, 2020
3bb0609
Fixed rainer typo in tests, smoothed after merging merchant tests.
RebeccaRoach Jun 18, 2020
fc645ea
important pseudocode reminder
dnguye2 Jun 18, 2020
dc7af10
test cleaning
dnguye2 Jun 18, 2020
56d3dfa
Merge branch 'master' of https://github.com/RebeccaRoach/betsy
dnguye2 Jun 18, 2020
3716c93
Added test for review controller create method
denisseai Jun 18, 2020
010c3f9
Merge branch '06-da-review'
denisseai Jun 18, 2020
d2c3e0e
Merge branch '05-da-review-controller-test'
denisseai Jun 18, 2020
d281176
FIXED SIMPLECOV
dnguye2 Jun 18, 2020
ccc3576
condensed orderitems#mark_shipped
dnguye2 Jun 18, 2020
208729a
added mark shipped button
dnguye2 Jun 18, 2020
c623b73
added cancel_order and mark_as_complete methods for order
dnguye2 Jun 18, 2020
18c0868
cancel order and mark as complete order
dnguye2 Jun 18, 2020
35cf9ca
mark item as shipped for orderitem
dnguye2 Jun 18, 2020
55c8862
merchant all_order method checks to mark order as complete with mark_…
dnguye2 Jun 18, 2020
61a65e9
cancel order button added and functioning on confirmation page
dnguye2 Jun 18, 2020
bb3c17a
added cancel custom route for order
dnguye2 Jun 18, 2020
4d58452
Fixed tests in merchant_test, added guard for prohibited statuses in …
RebeccaRoach Jun 18, 2020
21965ee
Added test to reviews model
denisseai Jun 18, 2020
b1779ca
added tests for reviews controller
denisseai Jun 19, 2020
4af187d
Added comments and fleshed out current action tests.
RebeccaRoach Jun 19, 2020
efdb908
Merge branch '05-da-review-controller-test'
denisseai Jun 19, 2020
1cf1a2c
fixed date
dnguye2 Jun 19, 2020
72a17d6
classes for order styling
dnguye2 Jun 19, 2020
4e184fb
changed redirect for mark_shipped
dnguye2 Jun 19, 2020
11fbe46
added instance variables to display revenues and collections dependen…
dnguye2 Jun 19, 2020
ae8c84a
added access to order fulfillment on merchant dashboard
dnguye2 Jun 19, 2020
405d782
view partial for order fulfillment page
dnguye2 Jun 19, 2020
0871249
DRY up order fulfillment page
dnguye2 Jun 19, 2020
db5a70f
styled order detail page
dnguye2 Jun 19, 2020
f99f07c
cleaned up controller code
dnguye2 Jun 19, 2020
f772f6f
Working on orderitems_controller_tests.
RebeccaRoach Jun 19, 2020
4725037
fixed bug that prevented retiring a merchant's own product
dnguye2 Jun 19, 2020
5d4d2a3
finalized routes
dnguye2 Jun 19, 2020
d7e3b36
removed unused merchants#current
dnguye2 Jun 19, 2020
f503d1a
removed unused orderitems#edit
dnguye2 Jun 19, 2020
622f144
cleaned up code
dnguye2 Jun 19, 2020
badb7a4
Major headway getting simplecov happy.
RebeccaRoach Jun 19, 2020
d1a476f
Cleaning code
RebeccaRoach Jun 19, 2020
48e3032
Fixed stray end
RebeccaRoach Jun 19, 2020
b98573d
removed redundant flash
dnguye2 Jun 19, 2020
81b43fd
changed login and logout messages
dnguye2 Jun 19, 2020
850b53a
updated footer attributions
dnguye2 Jun 19, 2020
fb9973d
changed order fulfillment from red to blue
dnguye2 Jun 19, 2020
c9c795a
fixed checkout button text to be centered
dnguye2 Jun 19, 2020
0eed466
removed cancelled orders form order fulfillment page
dnguye2 Jun 19, 2020
3faf57b
Fixed relations tests, all but one build_from_github error.
RebeccaRoach Jun 19, 2020
725d59f
removed empty css class
dnguye2 Jun 19, 2020
e848dc0
merchant cannot ship another merchant's items
dnguye2 Jun 19, 2020
fbaa6a1
only show order items that belong to a merchant
dnguye2 Jun 19, 2020
8b4244c
added ad banner and shop now button with styling to homepage
dnguye2 Jun 19, 2020
a3087de
Merge branch 'master' of https://github.com/RebeccaRoach/betsy
RebeccaRoach Jun 19, 2020
a0c6867
Fixed minor typos in tests
RebeccaRoach Jun 19, 2020
de67e55
has and belongs to many categories relationships test done
dnguye2 Jun 20, 2020
946a4df
added categories fixtures
dnguye2 Jun 20, 2020
06bca86
finished tests for relationships
dnguye2 Jun 20, 2020
54a59a4
finished validations tests
dnguye2 Jun 20, 2020
37d6a39
finished tests for custom methods
dnguye2 Jun 20, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
defaults
2 changes: 2 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
GITHUB_CLIENT_ID: 2e738fa0efba8b91c3f3
GITHUB_CLIENT_SECRET: 97bd7b7ade1b46c56cd87f6bd8976a184c1ba366
42 changes: 42 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# See https://help.github.com/articles/ignoring-files for more about ignoring files.
#
# If you find yourself ignoring temporary files generated by your text editor
# or operating system, you probably want to add a global ignore instead:
# git config --global core.excludesfile '~/.gitignore_global'

# Ignore bundler config.
/.bundle

# Ignore all logfiles and tempfiles.
/log/*
/tmp/*
!/log/.keep
!/tmp/.keep

# Ignore pidfiles, but keep the directory.
/tmp/pids/*
!/tmp/pids/
!/tmp/pids/.keep

# Ignore uploaded files in development.
/storage/*
!/storage/.keep

/public/assets
.byebug_history

# Ignore master key for decrypting credentials and more.
/config/master.key

/public/packs
/public/packs-test
/node_modules
/yarn-error.log
yarn-debug.log*
.yarn-integrity

.DS_Store

# Ignore client id and secret
.env
coverage
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.6.5
85 changes: 85 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
source 'https://rubygems.org'
git_source(:github) { |repo| "https://github.com/#{repo}.git" }

ruby '2.6.5'

# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '~> 6.0.3', '>= 6.0.3.1'
# Use postgresql as the database for Active Record
gem 'pg', '>= 0.18', '< 2.0'
# Use Puma as the app server
gem 'puma', '~> 4.1'
# Use SCSS for stylesheets
gem 'sass-rails', '>= 6'
# Transpile app-like JavaScript. Read more: https://github.com/rails/webpacker
gem 'webpacker', '~> 4.0'
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
gem 'turbolinks', '~> 5'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 2.7'
# Use Redis adapter to run Action Cable in production
# gem 'redis', '~> 4.0'
# Use Active Model has_secure_password
# gem 'bcrypt', '~> 3.1.7'

# Use Active Storage variant
# gem 'image_processing', '~> 1.2'
gem "omniauth"
gem "omniauth-github"
gem "omniauth-rails_csrf_protection"

# Reduces boot times through caching; required in config/boot.rb
gem 'bootsnap', '>= 1.4.2', require: false

group :development, :test do
gem 'dotenv-rails'
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
end

group :development do
# Access an interactive console on exception pages or by calling 'console' anywhere in the code.
gem 'web-console', '>= 3.3.0'
gem 'listen', '~> 3.2'
# 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'
end

group :test do
# Adds support for Capybara system testing and selenium driver
gem 'capybara', '>= 2.15'
gem 'selenium-webdriver'
# Easy installation and use of web drivers to run system tests with browsers
gem 'webdrivers'
end

# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]

gem 'jquery-rails'
gem 'jquery-turbolinks'
gem 'bootstrap'
group :development, :test do
gem 'pry-rails'
end

group :development do
gem 'guard'
gem 'guard-minitest'
gem 'debase', '>= 0.2.4.1'
gem 'ruby-debug-ide', '>= 0.7.0'
end

group :development do
gem 'better_errors'
gem 'binding_of_caller'
end

group :test do
gem 'minitest-rails'
gem 'minitest-reporters'
end

# simplecov
gem 'simplecov', require: false, group: :test
Loading