Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
292 commits
Select commit Hold shift + click to select a range
2097d1d
category and reviews added
AlisonZ Apr 20, 2017
dea0cfc
Merge branch 'master' of https://github.com/AlisonZ/betsy
AlisonZ Apr 20, 2017
e77a9f8
Wrote initial test for creating an orderitem and passing
ltrickey Apr 20, 2017
83c080a
Merge branch 'master' of https://github.com/AlisonZ/betsy
AlisonZ Apr 20, 2017
35c5ce7
Merge branch 'master' of https://github.com/AlisonZ/betsy
auroralemieux Apr 20, 2017
d8450d1
Added testing for cart action in OrderItems Controller
ltrickey Apr 20, 2017
8322c49
Removed test for making sure each order was created with one order it…
ltrickey Apr 20, 2017
4c963eb
Finished initial cart testing in OrderItems Controller
ltrickey Apr 20, 2017
4d43655
reviews are adding and connected to products
AlisonZ Apr 20, 2017
9e8e6c6
product reviews now show up on product show page
jackiewatanabe Apr 20, 2017
51afb86
Work in progress for checkout in Orders Controller
ltrickey Apr 20, 2017
4feb1a8
Added new fields to save order data in Orders table
ltrickey Apr 20, 2017
6f7cc61
cart icon total num of items working
auroralemieux Apr 20, 2017
7755916
added users to csv files and seed
jackiewatanabe Apr 20, 2017
32433ea
Merge branch 'ala/cartstuff'
auroralemieux Apr 20, 2017
ceffbf5
Added link to checkout page on cart page
ltrickey Apr 20, 2017
a2ff5ff
Added form on checkout page
ltrickey Apr 20, 2017
cf747f9
Added route for completing order
ltrickey Apr 20, 2017
40113af
added csv download for models
auroralemieux Apr 20, 2017
cb770d0
Checkout WIP
ltrickey Apr 20, 2017
afe8f0c
Resolved merge conflicts
ltrickey Apr 20, 2017
75a9094
quantity dropdown now defaults to the current quantity on cart items
auroralemieux Apr 20, 2017
5488c9e
Added required:true in form_for on checkout page to make sure user fi…
ltrickey Apr 20, 2017
304e84c
can remove items from cart
auroralemieux Apr 20, 2017
e1e695e
Merge branch 'ala/cartdelete'
auroralemieux Apr 20, 2017
e719d27
still trying to figure out joining categories and products
AlisonZ Apr 20, 2017
bca0a38
fixes merge conflict in product model
AlisonZ Apr 20, 2017
ec41115
can associate products with categories using multiple selector thingy
jackiewatanabe Apr 21, 2017
840a2d5
adds category seeds
AlisonZ Apr 21, 2017
b0c88b5
can add new category, link to shop by categories page on main nav bar
AlisonZ Apr 21, 2017
395d8cb
Testing orders controller WIP
ltrickey Apr 21, 2017
d4dabfe
Merge branch 'master' into lynn/orders/orderitems
ltrickey Apr 21, 2017
a9cda4e
Orders_controller testing needs help w/ testing syntax. To do Monday
ltrickey Apr 21, 2017
1c6b3c5
Added testing and method for subtotal in Order_Item Model
ltrickey Apr 21, 2017
7891ef2
Added subtotal to cart view
ltrickey Apr 21, 2017
4aa7c8c
Created initial testing for Model Method Order.total
ltrickey Apr 21, 2017
05de4c9
Added Total to Checkout Page
ltrickey Apr 21, 2017
cd1d5ce
Added table w/ subtotal and total to checkout page
ltrickey Apr 21, 2017
9c5e378
Added Order Update functionality
ltrickey Apr 21, 2017
3901518
Unable to do any more testing on orders_controller until I figure out…
ltrickey Apr 21, 2017
4f81829
Added necessary details after order was placed on confirmation page
ltrickey Apr 21, 2017
d393137
Created User Model Method in order to access all of past orders
ltrickey Apr 21, 2017
8eddb72
Added initial testing for .orders User Model method. Still WIP
ltrickey Apr 21, 2017
a18a643
Added past order details to users show page
ltrickey Apr 22, 2017
5763cdf
Added .products method on order to return an array of just the produc…
ltrickey Apr 22, 2017
764bbff
Added update function of orders controller to update stock of product…
ltrickey Apr 22, 2017
4d13ce9
Added foundation
ltrickey Apr 24, 2017
62ebaa0
whoops, in master, nested route for merchant products working
auroralemieux Apr 24, 2017
676769e
Fixed spelling error in category test
ltrickey Apr 24, 2017
1a3c3f2
Working on tests
ltrickey Apr 24, 2017
473610a
Merge branch 'master' of https://github.com/AlisonZ/betsy
ltrickey Apr 24, 2017
a623c0f
WIP - working on edit and review user permissions on product show
auroralemieux Apr 24, 2017
acf1099
editing limited to owner of product, reviewing banned for owner of pr…
auroralemieux Apr 24, 2017
0c976d1
must be owner of user page to view it
auroralemieux Apr 24, 2017
23c71ef
Finally able to access update order status
ltrickey Apr 24, 2017
bf69bf3
add new product only available for owner of store
auroralemieux Apr 24, 2017
196ac2c
Fixed failing product tests. Added some more for simplecov on status
ltrickey Apr 24, 2017
9fb84a8
added my account button to header to go to user page, fixed permissio…
auroralemieux Apr 24, 2017
a2d3708
Finished with basic sell_status testing
ltrickey Apr 24, 2017
55c9f65
Changed product fixtures to have user field instead of user_id
ltrickey Apr 24, 2017
808f71f
Added some product testing and a 404 error if product is not found
ltrickey Apr 24, 2017
e3db40b
Added a lot of products controller tests
ltrickey Apr 24, 2017
7a588f1
Finished testing basic Product Controller
ltrickey Apr 24, 2017
35268c4
tried some stuff for a nested form
auroralemieux Apr 24, 2017
2ab663f
added add category button to user account page and redirect back to same
auroralemieux Apr 24, 2017
3d6f2d6
added user permissions for add category button from categories page
auroralemieux Apr 24, 2017
49dce86
Fixed failing tests
ltrickey Apr 24, 2017
1da6414
added list of product's categories to product show page
auroralemieux Apr 24, 2017
0f2f3f4
Fixing merge conflicts
ltrickey Apr 24, 2017
2c14578
Merge branch 'master' of https://github.com/AlisonZ/betsy
ltrickey Apr 24, 2017
f0043ff
created feature to view all past orders for merchants with clickable …
jackiewatanabe Apr 24, 2017
4d8b6d4
fixed view of merchant past order
jackiewatanabe Apr 24, 2017
a276537
fixed merge conflict in product.rb
jackiewatanabe Apr 24, 2017
aec5342
fixzed categories controller issues
ltrickey Apr 24, 2017
82f1b72
fixed merge conflicts
ltrickey Apr 24, 2017
0ae4ba3
WIP working on duplicate order items cart stuff
auroralemieux Apr 24, 2017
c27aad7
Merge branch 'ala/duplicateorderitems'
auroralemieux Apr 24, 2017
a58b3c2
displaying lots of stuff on merchant order page
AlisonZ Apr 24, 2017
72533bf
fixed tests I broke in products controller
auroralemieux Apr 25, 2017
77ee172
fixed categories controller tests I'd broken
auroralemieux Apr 25, 2017
bb3fde0
fixed broken tests in sessions controller
auroralemieux Apr 25, 2017
b6e4fbb
order fulfillment page
AlisonZ Apr 25, 2017
95306aa
fixed testing issues
auroralemieux Apr 25, 2017
138c077
Merge branch 'master' of https://github.com/AlisonZ/betsy
AlisonZ Apr 25, 2017
b246e1e
fixed some stuff, broke some tests. orders are able to be managed by …
AlisonZ Apr 25, 2017
c3c616d
stubbing out tests for application controller coverage
auroralemieux Apr 25, 2017
cfb544a
Merge branch 'ala/moretests'
auroralemieux Apr 25, 2017
54b1c47
added categories to products seeds
auroralemieux Apr 25, 2017
e64fa6f
added link to category page from product show page
auroralemieux Apr 25, 2017
74d5f96
added seeds for orderitems and orders
auroralemieux Apr 25, 2017
1851da9
added reviews seeds and fixed orders seeds
auroralemieux Apr 25, 2017
55ba4aa
added status to order seeds
auroralemieux Apr 25, 2017
828d98c
orderitems now check for duplicate and stock
auroralemieux Apr 25, 2017
d0b0491
Added column to Categories to have photo. Added default URL
ltrickey Apr 25, 2017
571aaf3
added link to order history on my account page
jackiewatanabe Apr 25, 2017
0b66f6a
Added grid with photos for index categories
ltrickey Apr 25, 2017
fe3d517
added code in order-item update method to check if all other items ha…
jackiewatanabe Apr 25, 2017
cf5fdb8
Added default photo and photos in our seeds categories file
ltrickey Apr 25, 2017
00020b9
refactored order model methods
AlisonZ Apr 25, 2017
6d29d15
Added basic grid for index page
ltrickey Apr 25, 2017
52a8b10
updating tests
auroralemieux Apr 25, 2017
82edfee
resolved merge conflict
auroralemieux Apr 25, 2017
4bd0f37
Fixed credit card number limit
ltrickey Apr 25, 2017
1bc76da
update method changes order to complete when all are shipped, but oop…
AlisonZ Apr 25, 2017
3136308
update allows to unship items and they are changed from complete to paid
AlisonZ Apr 25, 2017
51afd3b
checked out testing for new feature
auroralemieux Apr 25, 2017
ccc246f
fixed merge conflicts in order_item_controller
AlisonZ Apr 25, 2017
91c353a
fixed merge conflicts on update function in order-item controller.
AlisonZ Apr 25, 2017
f82ee97
retire button added to account page for each item and indexes are fil…
auroralemieux Apr 25, 2017
8563934
added test for retired status action in products controller
auroralemieux Apr 25, 2017
57bf757
Added new colors from pallet
ltrickey Apr 25, 2017
5f206ee
fixed it so Sales order history page shows only items from that user …
jackiewatanabe Apr 25, 2017
df038e5
Solve merge conflict
ltrickey Apr 25, 2017
0400852
Merge branch 'jyw/orders_index'
jackiewatanabe Apr 25, 2017
0918c3a
commented out csv method in users model
auroralemieux Apr 25, 2017
f178828
Merge branch 'ala/retireproduct'
auroralemieux Apr 25, 2017
7d7d0db
Merge branch 'master' of https://github.com/AlisonZ/betsy
auroralemieux Apr 25, 2017
2a85c0b
adjusted order index action so that orders are sorted in descending o…
jackiewatanabe Apr 25, 2017
a6a6a4d
Only showing users with a product for sale and uniformely put in inde…
ltrickey Apr 25, 2017
6f14751
added purchases list to account page
auroralemieux Apr 25, 2017
6658720
Merge branch 'master' of https://github.com/AlisonZ/betsy
jackiewatanabe Apr 25, 2017
0b72c4f
Got main header styling pretty good
ltrickey Apr 25, 2017
040c84e
Added same styling for all buttons
ltrickey Apr 25, 2017
e8f8d96
Nit picky stuff on header
ltrickey Apr 25, 2017
d958189
added product model tests, average rating
auroralemieux Apr 25, 2017
41845ae
added user permissions for new product page
auroralemieux Apr 25, 2017
345c2b2
Added initial orbit slider
ltrickey Apr 25, 2017
30ee40d
Merge branch 'master' into lt/shopbymerchant
ltrickey Apr 25, 2017
e950b4d
login and logout with github working
AlisonZ Apr 25, 2017
0a8084f
added highest rated class method for product
auroralemieux Apr 25, 2017
234603f
added order model class methods that calculate totals for each user b…
jackiewatanabe Apr 25, 2017
33a343a
fixed merge conflict
AlisonZ Apr 25, 2017
bcb24f3
shows users order by complete or incomplete status
jackiewatanabe Apr 25, 2017
8d74e6c
all working oauth and new styling together
AlisonZ Apr 26, 2017
0910676
got very messy version of carosel working
ltrickey Apr 26, 2017
d59dab5
created separate routes/controlleractions/views for all orders, compl…
jackiewatanabe Apr 26, 2017
fd9b3a1
fixed merge conflicts in routes
jackiewatanabe Apr 26, 2017
f7c4492
basic user profile editing working
auroralemieux Apr 26, 2017
d2e7283
changed seed file so it saves uid and provider info
jackiewatanabe Apr 26, 2017
52eb0d8
added profile text to user products page
auroralemieux Apr 26, 2017
332b739
changed it so you can only access the orders information if you're th…
jackiewatanabe Apr 26, 2017
2446936
fixed merge conflict
auroralemieux Apr 26, 2017
da830f4
updated sesssions controller tests for omniauth
auroralemieux Apr 26, 2017
2348d08
WIP omniauth tests are still broken
auroralemieux Apr 26, 2017
52c8106
working through carosel
ltrickey Apr 26, 2017
c7b2cba
fixed merge conflicts
ltrickey Apr 26, 2017
03f3a20
fixed look of root page
ltrickey Apr 26, 2017
c5c2019
Got index pages looking similar
ltrickey Apr 26, 2017
ef64745
Finishing what I can do with index
ltrickey Apr 26, 2017
cfa0a19
fixes oauth login
AlisonZ Apr 26, 2017
6293389
fixed product link and added review seeding stuff
auroralemieux Apr 26, 2017
ed247ce
fixed bug in update quantity in cart
auroralemieux Apr 26, 2017
d06a482
Centered carousel images and text
ltrickey Apr 26, 2017
f2167b6
Product show page looking ok
ltrickey Apr 26, 2017
fd03e3c
trying to replicate the way we did it in class today
AlisonZ Apr 26, 2017
757579e
Fixed carousel issue
ltrickey Apr 26, 2017
fce7b66
Added partial views for user sales pages
ltrickey Apr 26, 2017
d51f07c
Added partial views for user sales pages, basic styling
ltrickey Apr 26, 2017
65f6760
refactored orders by making class methods into instance methods...mov…
jackiewatanabe Apr 26, 2017
2b867e1
category oauth tests are passing
AlisonZ Apr 26, 2017
08d9b21
fixed merge conflicts in users show, orders index, orders complete, o…
jackiewatanabe Apr 26, 2017
220ef44
took session id out of view and replaced with current user. also made…
jackiewatanabe Apr 26, 2017
072f254
added some cart styling
ltrickey Apr 26, 2017
e323061
Merge branch 'master' into lt/cartandforms
ltrickey Apr 26, 2017
85baa60
users controller testing working for oauth
AlisonZ Apr 26, 2017
98be912
fixed it so it doesn't show error on merchant account page if merchan…
jackiewatanabe Apr 27, 2017
75b4538
my account page now shows total spent on all purchases
jackiewatanabe Apr 27, 2017
050af76
fixes some oauth tests for logged in user, broke a bunch for not logg…
AlisonZ Apr 27, 2017
4d8c034
Merge branch 'akz_oauth_tests'
AlisonZ Apr 27, 2017
fb42255
Forms WIP
ltrickey Apr 27, 2017
e36565a
Merge branch 'master' into lt/cartandforms
ltrickey Apr 27, 2017
85037ae
Cleaned up order show page
ltrickey Apr 27, 2017
fec74ac
categories controller tests working and logged in vs not logged in fu…
AlisonZ Apr 27, 2017
01f3be5
product controller tests are passing and logged in user tests are del…
AlisonZ Apr 27, 2017
5a4ae2b
changed review enter number to select drop down
ltrickey Apr 27, 2017
b9ec608
solved button_to issue for leaving a review
ltrickey Apr 27, 2017
20835ae
general styling done
ltrickey Apr 27, 2017
58346d4
Merge branch 'lt/cartandforms'
ltrickey Apr 27, 2017
85599cc
Added similar styling for shop by user
ltrickey Apr 27, 2017
e8513e6
Added styling to new category form
ltrickey Apr 27, 2017
96b5ac8
finishing styling for now
ltrickey Apr 27, 2017
c7fa439
fixing currency display and date display
auroralemieux Apr 27, 2017
ac6ff30
fixed user model test
auroralemieux Apr 27, 2017
7421a1b
testing fix for cart logo on heroku
auroralemieux Apr 27, 2017
5e23073
working on product show page WIP
auroralemieux Apr 27, 2017
a3b9445
trying fix on heroku oauth
auroralemieux Apr 27, 2017
bb6e924
fixes bug where you can checkout a cart after all items have been del…
AlisonZ Apr 27, 2017
5b9624c
Merge branch 'master' of https://github.com/AlisonZ/betsy
AlisonZ Apr 27, 2017
ef7e8e3
fixed order_items checkout test
ltrickey Apr 27, 2017
e569ee8
updated one test
ltrickey Apr 27, 2017
d7e7458
small style changes
auroralemieux Apr 27, 2017
0feef7c
Merge branch 'ala/styletweaks'
auroralemieux Apr 27, 2017
45455a2
testing weirdness
ltrickey Apr 27, 2017
f094edc
Merge branch 'master' of https://github.com/AlisonZ/betsy
ltrickey Apr 27, 2017
0db4ab8
Autopopulates email if user is logged in when checking out
ltrickey Apr 27, 2017
55dd455
added force ssl to production rb
auroralemieux Apr 27, 2017
969f2bd
Merge branch 'master' of https://github.com/AlisonZ/betsy
auroralemieux Apr 27, 2017
d726724
product show
auroralemieux Apr 27, 2017
8fde9e5
truncated product titles on all products index, filtered all categori…
auroralemieux Apr 27, 2017
bea2256
add team names and credit page
auroralemieux Apr 28, 2017
432f95f
added tests to user model and adjusted code in user model to make sur…
jackiewatanabe Apr 28, 2017
f50ca56
fixed merge conflict in user_test.rb
jackiewatanabe Apr 28, 2017
6341e7f
changed statuses that say 'Paid' with a capital p to lowercase
jackiewatanabe Apr 28, 2017
e19fc8f
styling orders
auroralemieux Apr 28, 2017
44f50a6
added test for order_item model
jackiewatanabe Apr 28, 2017
6a503ab
fixed merge conflict in _user file
auroralemieux Apr 28, 2017
3312219
fixed error in product average rating if no reviews yet
auroralemieux Apr 28, 2017
5c2d4f6
changed seeds for reviews
auroralemieux Apr 28, 2017
82cbfb9
added more tests to user model and order_item model
jackiewatanabe Apr 28, 2017
607467c
Merge branch 'jyw/order_item_model_tests'
jackiewatanabe Apr 28, 2017
9b2063a
refractered update in orders controller
ltrickey Apr 28, 2017
3f6637f
Refractor orders_controller & tests
ltrickey Apr 28, 2017
8be2902
Fixed merge conflicts
ltrickey Apr 28, 2017
77828a6
fixed merge conflicts
ltrickey Apr 28, 2017
1677353
removed flash message upon login - redundant
auroralemieux Apr 28, 2017
dba6bd9
fixed gappy color due to lack of row class on some index pages, other…
auroralemieux Apr 28, 2017
bfad8fc
Added tests for orders_controller
ltrickey Apr 28, 2017
d957334
fixed it so incomplete and complete orders actuall show up in view
jackiewatanabe Apr 28, 2017
25803b3
fixed margin issue with main page
auroralemieux Apr 28, 2017
fd613e0
Finsihed orders_controller testing
ltrickey Apr 28, 2017
b77bc5e
Increased coverage and improved sessions controller
ltrickey Apr 28, 2017
87d9204
added user profile update tests
auroralemieux Apr 28, 2017
6547a27
Merge branch 'master' of https://github.com/AlisonZ/betsy
ltrickey Apr 28, 2017
aa5b78e
solving merge conflict in sessions controller
ltrickey Apr 28, 2017
877d5b8
Merge branch 'master' of https://github.com/AlisonZ/betsy
ltrickey Apr 28, 2017
c1792e6
Added image url field to add category form
ltrickey Apr 28, 2017
49ffd1f
Added required:true to form for editing and adding product
ltrickey Apr 28, 2017
fd46c0e
changed styling to product page
jackiewatanabe Apr 28, 2017
fc1db36
fixed merge conflicts in application.html and show.html
jackiewatanabe Apr 28, 2017
9c3db4b
added feature to merge current cart with any pending order for a pers…
auroralemieux Apr 28, 2017
87a8ed6
Merge branch 'ala/logoutordersession'
auroralemieux Apr 28, 2017
58b3073
fixed review to not show out of 5 if there are now review
jackiewatanabe Apr 28, 2017
26adaec
Merge branch 'master' of https://github.com/AlisonZ/betsy
jackiewatanabe Apr 28, 2017
0082b3f
fixed cart bug
auroralemieux Apr 28, 2017
77a3217
Merge branch 'ala/fixingcart'
auroralemieux Apr 28, 2017
2ed157a
fixed confirmation page I just broke
auroralemieux Apr 28, 2017
8281569
fixed button cutoff
ltrickey Apr 28, 2017
e880b8c
Merge branch 'master' of https://github.com/AlisonZ/betsy
ltrickey Apr 28, 2017
fda09ae
Removed bolding on hover over links
ltrickey Apr 28, 2017
7f5c8e1
Removed checkout button if cart is empty
ltrickey Apr 28, 2017
25a1f2c
Changed colors for error messages
ltrickey Apr 28, 2017
b3a2542
Added required fields have to be filled out for forms
ltrickey Apr 28, 2017
c29961e
Added out of stock bolding only if out of stock
ltrickey Apr 28, 2017
aefd7fa
styled merchant fulfillment page
jackiewatanabe Apr 28, 2017
91fbcbe
Added products to seed file
ltrickey Apr 28, 2017
dc7fe15
fixed merge conflicts
jackiewatanabe Apr 28, 2017
15a89cc
Merge branch 'master' of https://github.com/AlisonZ/betsy
jackiewatanabe Apr 28, 2017
4486728
fixed shipping status update button text
auroralemieux Apr 28, 2017
e43ed48
added cart photos for items and styled quantity dropdown for product …
auroralemieux Apr 28, 2017
2ab5fe0
fixed user show
auroralemieux Apr 28, 2017
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
19 changes: 19 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# 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 Byebug command history file.
.byebug_history
.env
/coverage
73 changes: 73 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
source 'https://rubygems.org'

git_source(:github) do |repo_name|
repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
"https://github.com/#{repo_name}.git"
end

gem "omniauth"
gem "omniauth-github"

#Adding foundation!
gem 'foundation-rails'
#this should help with turbolinks?
gem 'jquery-turbolinks'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '~> 5.0.2'
# Use postgresql as the database for Active Record
gem 'pg', '~> 0.18'
# Use Puma as the app server
gem 'puma', '~> 3.0'
# Use SCSS for stylesheets
gem 'sass-rails', '~> 5.0'
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'
# Use CoffeeScript for .coffee assets and views
gem 'coffee-rails', '~> 4.2'
# See https://github.com/rails/execjs#readme for more supported runtimes
# gem 'therubyracer', platforms: :ruby

# Use jquery as the JavaScript library
gem 'jquery-rails'
# 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.5'
# Use Redis adapter to run Action Cable in production
# gem 'redis', '~> 3.0'
# Use ActiveModel has_secure_password
# gem 'bcrypt', '~> 3.1.7'

# Use Capistrano for deployment
# gem 'capistrano-rails', group: :development

group :development, :test do
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
gem 'byebug', platform: :mri
end

group :development do
# Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
gem 'web-console', '>= 3.3.0'
gem 'listen', '~> 3.0.5'
# 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 'dotenv-rails'
end

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

group :development do
gem 'better_errors'
gem 'pry-rails'
gem 'binding_of_caller'
end

gem 'awesome_print'
group :test do
gem 'minitest-rails'
gem 'minitest-reporters'
gem 'simplecov'
end
259 changes: 259 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,259 @@
GEM
remote: https://rubygems.org/
specs:
actioncable (5.0.2)
actionpack (= 5.0.2)
nio4r (>= 1.2, < 3.0)
websocket-driver (~> 0.6.1)
actionmailer (5.0.2)
actionpack (= 5.0.2)
actionview (= 5.0.2)
activejob (= 5.0.2)
mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 2.0)
actionpack (5.0.2)
actionview (= 5.0.2)
activesupport (= 5.0.2)
rack (~> 2.0)
rack-test (~> 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
actionview (5.0.2)
activesupport (= 5.0.2)
builder (~> 3.1)
erubis (~> 2.7.0)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.3)
activejob (5.0.2)
activesupport (= 5.0.2)
globalid (>= 0.3.6)
activemodel (5.0.2)
activesupport (= 5.0.2)
activerecord (5.0.2)
activemodel (= 5.0.2)
activesupport (= 5.0.2)
arel (~> 7.0)
activesupport (5.0.2)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (~> 0.7)
minitest (~> 5.1)
tzinfo (~> 1.1)
ansi (1.5.0)
arel (7.1.4)
awesome_print (1.7.0)
babel-source (5.8.35)
babel-transpiler (0.7.0)
babel-source (>= 4.0, < 6)
execjs (~> 2.0)
better_errors (2.1.1)
coderay (>= 1.0.0)
erubis (>= 2.6.6)
rack (>= 0.9.0)
bindex (0.5.0)
binding_of_caller (0.7.2)
debug_inspector (>= 0.0.1)
builder (3.2.3)
byebug (9.0.6)
coderay (1.1.1)
coffee-rails (4.2.1)
coffee-script (>= 2.2.0)
railties (>= 4.0.0, < 5.2.x)
coffee-script (2.4.1)
coffee-script-source
execjs
coffee-script-source (1.12.2)
concurrent-ruby (1.0.5)
debug_inspector (0.0.2)
docile (1.1.5)
dotenv (2.2.0)
dotenv-rails (2.2.0)
dotenv (= 2.2.0)
railties (>= 3.2, < 5.1)
erubis (2.7.0)
execjs (2.7.0)
faraday (0.11.0)
multipart-post (>= 1.2, < 3)
ffi (1.9.18)
foundation-rails (6.3.1.0)
railties (>= 3.1.0)
sass (>= 3.3.0, < 3.5)
sprockets-es6 (>= 0.9.0)
globalid (0.4.0)
activesupport (>= 4.2.0)
hashie (3.5.5)
i18n (0.8.1)
jbuilder (2.6.3)
activesupport (>= 3.0.0, < 5.2)
multi_json (~> 1.2)
jquery-rails (4.3.1)
rails-dom-testing (>= 1, < 3)
railties (>= 4.2.0)
thor (>= 0.14, < 2.0)
jquery-turbolinks (2.1.0)
railties (>= 3.1.0)
turbolinks
json (2.0.3)
jwt (1.5.6)
listen (3.0.8)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
loofah (2.0.3)
nokogiri (>= 1.5.9)
mail (2.6.4)
mime-types (>= 1.16, < 4)
method_source (0.8.2)
mime-types (3.1)
mime-types-data (~> 3.2015)
mime-types-data (3.2016.0521)
mini_portile2 (2.1.0)
minitest (5.10.1)
minitest-rails (3.0.0)
minitest (~> 5.8)
railties (~> 5.0)
minitest-reporters (1.1.14)
ansi
builder
minitest (>= 5.0)
ruby-progressbar
multi_json (1.12.1)
multi_xml (0.6.0)
multipart-post (2.0.0)
nio4r (2.0.0)
nokogiri (1.7.1)
mini_portile2 (~> 2.1.0)
oauth2 (1.3.1)
faraday (>= 0.8, < 0.12)
jwt (~> 1.0)
multi_json (~> 1.3)
multi_xml (~> 0.5)
rack (>= 1.2, < 3)
omniauth (1.6.1)
hashie (>= 3.4.6, < 3.6.0)
rack (>= 1.6.2, < 3)
omniauth-github (1.2.3)
omniauth (~> 1.5)
omniauth-oauth2 (>= 1.4.0, < 2.0)
omniauth-oauth2 (1.4.0)
oauth2 (~> 1.0)
omniauth (~> 1.2)
pg (0.20.0)
pry (0.10.4)
coderay (~> 1.1.0)
method_source (~> 0.8.1)
slop (~> 3.4)
pry-rails (0.3.6)
pry (>= 0.10.4)
puma (3.8.2)
rack (2.0.1)
rack-test (0.6.3)
rack (>= 1.0)
rails (5.0.2)
actioncable (= 5.0.2)
actionmailer (= 5.0.2)
actionpack (= 5.0.2)
actionview (= 5.0.2)
activejob (= 5.0.2)
activemodel (= 5.0.2)
activerecord (= 5.0.2)
activesupport (= 5.0.2)
bundler (>= 1.3.0, < 2.0)
railties (= 5.0.2)
sprockets-rails (>= 2.0.0)
rails-dom-testing (2.0.2)
activesupport (>= 4.2.0, < 6.0)
nokogiri (~> 1.6)
rails-html-sanitizer (1.0.3)
loofah (~> 2.0)
railties (5.0.2)
actionpack (= 5.0.2)
activesupport (= 5.0.2)
method_source
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
rake (12.0.0)
rb-fsevent (0.9.8)
rb-inotify (0.9.8)
ffi (>= 0.5.0)
ruby-progressbar (1.8.1)
sass (3.4.23)
sass-rails (5.0.6)
railties (>= 4.0.0, < 6)
sass (~> 3.1)
sprockets (>= 2.8, < 4.0)
sprockets-rails (>= 2.0, < 4.0)
tilt (>= 1.1, < 3)
simplecov (0.13.0)
docile (~> 1.1.0)
json (>= 1.8, < 3)
simplecov-html (~> 0.10.0)
simplecov-html (0.10.0)
slop (3.6.0)
spring (2.0.1)
activesupport (>= 4.2)
spring-watcher-listen (2.0.1)
listen (>= 2.7, < 4.0)
spring (>= 1.2, < 3.0)
sprockets (3.7.1)
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
sprockets-es6 (0.9.2)
babel-source (>= 5.8.11)
babel-transpiler
sprockets (>= 3.0.0)
sprockets-rails (3.2.0)
actionpack (>= 4.0)
activesupport (>= 4.0)
sprockets (>= 3.0.0)
thor (0.19.4)
thread_safe (0.3.6)
tilt (2.0.7)
turbolinks (5.0.1)
turbolinks-source (~> 5)
turbolinks-source (5.0.0)
tzinfo (1.2.3)
thread_safe (~> 0.1)
uglifier (3.2.0)
execjs (>= 0.3.0, < 3)
web-console (3.5.0)
actionview (>= 5.0)
activemodel (>= 5.0)
bindex (>= 0.4.0)
railties (>= 5.0)
websocket-driver (0.6.5)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.2)

PLATFORMS
ruby

DEPENDENCIES
awesome_print
better_errors
binding_of_caller
byebug
coffee-rails (~> 4.2)
dotenv-rails
foundation-rails
jbuilder (~> 2.5)
jquery-rails
jquery-turbolinks
listen (~> 3.0.5)
minitest-rails
minitest-reporters
omniauth
omniauth-github
pg (~> 0.18)
pry-rails
puma (~> 3.0)
rails (~> 5.0.2)
sass-rails (~> 5.0)
simplecov
spring
spring-watcher-listen (~> 2.0.0)
turbolinks (~> 5)
tzinfo-data
uglifier (>= 1.3.0)
web-console (>= 3.3.0)

BUNDLED WITH
1.14.6
6 changes: 6 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.

require_relative 'config/application'

Rails.application.load_tasks
3 changes: 3 additions & 0 deletions app/assets/config/manifest.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
//= link_tree ../images
//= link_directory ../javascripts .js
//= link_directory ../stylesheets .css
Empty file added app/assets/images/.keep
Empty file.
Binary file added app/assets/images/cart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions app/assets/javascripts/application.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
// This is a manifest file that'll be compiled into application.js, which will include all the files
// listed below.
//
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
//
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
// compiled file. JavaScript code in this file should be added after the last require_* statement.
//
// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
// about supported directives.
//
//= require jquery
//= require jquery_ujs
//= require foundation
//= require turbolinks
//= require_tree .

$(function(){ $(document).foundation(); });

$(document).on('turbolinks:load', function() {
$(function(){ $(document).foundation(); });
});
Loading