Skip to content

Commit a61510a

Browse files
Tanmay JainTanmay Jain
Tanmay Jain
authored and
Tanmay Jain
committed
First commit
0 parents  commit a61510a

File tree

142 files changed

+2995
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

142 files changed

+2995
-0
lines changed

.DS_Store

6 KB
Binary file not shown.

.gitignore

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# See https://help.github.com/articles/ignoring-files for more about ignoring files.
2+
#
3+
# If you find yourself ignoring temporary files generated by your text editor
4+
# or operating system, you probably want to add a global ignore instead:
5+
# git config --global core.excludesfile '~/.gitignore_global'
6+
7+
# Ignore bundler config.
8+
/.bundle
9+
10+
# Ignore the default SQLite database.
11+
/db/*.sqlite3
12+
/db/*.sqlite3-journal
13+
14+
# Ignore all logfiles and tempfiles.
15+
/log/*
16+
!/log/.keep
17+
/tmp

.rspec

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
--require spec_helper

Gemfile

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
source 'https://rubygems.org'
2+
3+
gem 'rails', '4.2.8'
4+
gem 'pg','0.20.0'
5+
gem 'sass-rails', '~> 5.0'
6+
gem 'uglifier', '>= 1.3.0'
7+
gem 'coffee-rails', '~> 4.1.0'
8+
gem 'faker', '>=1.8.7'
9+
gem 'jquery-rails'
10+
gem 'turbolinks'
11+
gem 'jbuilder', '~> 2.0'
12+
gem 'sdoc', '~> 0.4.0', group: :doc
13+
14+
group :development, :test do
15+
gem 'byebug'
16+
gem 'rspec-rails','~> 3.7'
17+
gem 'factory_girl_rails', '4.2.1'
18+
end
19+
20+
group :development do
21+
gem 'web-console', '~> 2.0'
22+
gem 'spring'
23+
end
24+

Gemfile.lock

+197
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,197 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
actionmailer (4.2.8)
5+
actionpack (= 4.2.8)
6+
actionview (= 4.2.8)
7+
activejob (= 4.2.8)
8+
mail (~> 2.5, >= 2.5.4)
9+
rails-dom-testing (~> 1.0, >= 1.0.5)
10+
actionpack (4.2.8)
11+
actionview (= 4.2.8)
12+
activesupport (= 4.2.8)
13+
rack (~> 1.6)
14+
rack-test (~> 0.6.2)
15+
rails-dom-testing (~> 1.0, >= 1.0.5)
16+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
17+
actionview (4.2.8)
18+
activesupport (= 4.2.8)
19+
builder (~> 3.1)
20+
erubis (~> 2.7.0)
21+
rails-dom-testing (~> 1.0, >= 1.0.5)
22+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
23+
activejob (4.2.8)
24+
activesupport (= 4.2.8)
25+
globalid (>= 0.3.0)
26+
activemodel (4.2.8)
27+
activesupport (= 4.2.8)
28+
builder (~> 3.1)
29+
activerecord (4.2.8)
30+
activemodel (= 4.2.8)
31+
activesupport (= 4.2.8)
32+
arel (~> 6.0)
33+
activesupport (4.2.8)
34+
i18n (~> 0.7)
35+
minitest (~> 5.1)
36+
thread_safe (~> 0.3, >= 0.3.4)
37+
tzinfo (~> 1.1)
38+
arel (6.0.4)
39+
binding_of_caller (0.8.0)
40+
debug_inspector (>= 0.0.1)
41+
builder (3.2.3)
42+
byebug (9.1.0)
43+
coffee-rails (4.1.1)
44+
coffee-script (>= 2.2.0)
45+
railties (>= 4.0.0, < 5.1.x)
46+
coffee-script (2.4.1)
47+
coffee-script-source
48+
execjs
49+
coffee-script-source (1.12.2)
50+
concurrent-ruby (1.0.5)
51+
crass (1.0.3)
52+
debug_inspector (0.0.3)
53+
diff-lcs (1.3)
54+
erubis (2.7.0)
55+
execjs (2.7.0)
56+
factory_girl (4.2.0)
57+
activesupport (>= 3.0.0)
58+
factory_girl_rails (4.2.1)
59+
factory_girl (~> 4.2.0)
60+
railties (>= 3.0.0)
61+
faker (1.8.7)
62+
i18n (>= 0.7)
63+
ffi (1.9.18)
64+
globalid (0.4.1)
65+
activesupport (>= 4.2.0)
66+
i18n (0.9.1)
67+
concurrent-ruby (~> 1.0)
68+
jbuilder (2.7.0)
69+
activesupport (>= 4.2.0)
70+
multi_json (>= 1.2)
71+
jquery-rails (4.3.1)
72+
rails-dom-testing (>= 1, < 3)
73+
railties (>= 4.2.0)
74+
thor (>= 0.14, < 2.0)
75+
json (1.8.6)
76+
loofah (2.1.1)
77+
crass (~> 1.0.2)
78+
nokogiri (>= 1.5.9)
79+
mail (2.7.0)
80+
mini_mime (>= 0.1.1)
81+
mini_mime (1.0.0)
82+
mini_portile2 (2.3.0)
83+
minitest (5.11.1)
84+
multi_json (1.13.1)
85+
nokogiri (1.8.1)
86+
mini_portile2 (~> 2.3.0)
87+
pg (0.20.0)
88+
rack (1.6.8)
89+
rack-test (0.6.3)
90+
rack (>= 1.0)
91+
rails (4.2.8)
92+
actionmailer (= 4.2.8)
93+
actionpack (= 4.2.8)
94+
actionview (= 4.2.8)
95+
activejob (= 4.2.8)
96+
activemodel (= 4.2.8)
97+
activerecord (= 4.2.8)
98+
activesupport (= 4.2.8)
99+
bundler (>= 1.3.0, < 2.0)
100+
railties (= 4.2.8)
101+
sprockets-rails
102+
rails-deprecated_sanitizer (1.0.3)
103+
activesupport (>= 4.2.0.alpha)
104+
rails-dom-testing (1.0.9)
105+
activesupport (>= 4.2.0, < 5.0)
106+
nokogiri (~> 1.6)
107+
rails-deprecated_sanitizer (>= 1.0.1)
108+
rails-html-sanitizer (1.0.3)
109+
loofah (~> 2.0)
110+
railties (4.2.8)
111+
actionpack (= 4.2.8)
112+
activesupport (= 4.2.8)
113+
rake (>= 0.8.7)
114+
thor (>= 0.18.1, < 2.0)
115+
rake (12.3.0)
116+
rb-fsevent (0.10.2)
117+
rb-inotify (0.9.10)
118+
ffi (>= 0.5.0, < 2)
119+
rdoc (4.3.0)
120+
rspec-core (3.7.1)
121+
rspec-support (~> 3.7.0)
122+
rspec-expectations (3.7.0)
123+
diff-lcs (>= 1.2.0, < 2.0)
124+
rspec-support (~> 3.7.0)
125+
rspec-mocks (3.7.0)
126+
diff-lcs (>= 1.2.0, < 2.0)
127+
rspec-support (~> 3.7.0)
128+
rspec-rails (3.7.2)
129+
actionpack (>= 3.0)
130+
activesupport (>= 3.0)
131+
railties (>= 3.0)
132+
rspec-core (~> 3.7.0)
133+
rspec-expectations (~> 3.7.0)
134+
rspec-mocks (~> 3.7.0)
135+
rspec-support (~> 3.7.0)
136+
rspec-support (3.7.0)
137+
sass (3.5.5)
138+
sass-listen (~> 4.0.0)
139+
sass-listen (4.0.0)
140+
rb-fsevent (~> 0.9, >= 0.9.4)
141+
rb-inotify (~> 0.9, >= 0.9.7)
142+
sass-rails (5.0.7)
143+
railties (>= 4.0.0, < 6)
144+
sass (~> 3.1)
145+
sprockets (>= 2.8, < 4.0)
146+
sprockets-rails (>= 2.0, < 4.0)
147+
tilt (>= 1.1, < 3)
148+
sdoc (0.4.2)
149+
json (~> 1.7, >= 1.7.7)
150+
rdoc (~> 4.0)
151+
spring (2.0.2)
152+
activesupport (>= 4.2)
153+
sprockets (3.7.1)
154+
concurrent-ruby (~> 1.0)
155+
rack (> 1, < 3)
156+
sprockets-rails (3.2.1)
157+
actionpack (>= 4.0)
158+
activesupport (>= 4.0)
159+
sprockets (>= 3.0.0)
160+
thor (0.20.0)
161+
thread_safe (0.3.6)
162+
tilt (2.0.8)
163+
turbolinks (5.1.0)
164+
turbolinks-source (~> 5.1)
165+
turbolinks-source (5.1.0)
166+
tzinfo (1.2.4)
167+
thread_safe (~> 0.1)
168+
uglifier (4.1.3)
169+
execjs (>= 0.3.0, < 3)
170+
web-console (2.3.0)
171+
activemodel (>= 4.0)
172+
binding_of_caller (>= 0.7.2)
173+
railties (>= 4.0)
174+
sprockets-rails (>= 2.0, < 4.0)
175+
176+
PLATFORMS
177+
ruby
178+
179+
DEPENDENCIES
180+
byebug
181+
coffee-rails (~> 4.1.0)
182+
factory_girl_rails (= 4.2.1)
183+
faker (>= 1.8.7)
184+
jbuilder (~> 2.0)
185+
jquery-rails
186+
pg (= 0.20.0)
187+
rails (= 4.2.8)
188+
rspec-rails (~> 3.7)
189+
sass-rails (~> 5.0)
190+
sdoc (~> 0.4.0)
191+
spring
192+
turbolinks
193+
uglifier (>= 1.3.0)
194+
web-console (~> 2.0)
195+
196+
BUNDLED WITH
197+
1.16.1

README.rdoc

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
== README
2+
3+
This README would normally document whatever steps are necessary to get the
4+
application up and running.
5+
6+
Things you may want to cover:
7+
8+
* Ruby version
9+
10+
* System dependencies
11+
12+
* Configuration
13+
14+
* Database creation
15+
16+
* Database initialization
17+
18+
* How to run the test suite
19+
20+
* Services (job queues, cache servers, search engines, etc.)
21+
22+
* Deployment instructions
23+
24+
* ...
25+
26+
27+
Please feel free to use a different markup language if you do not plan to run
28+
<tt>rake doc:app</tt>.

Rakefile

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Add your own tasks in files placed in lib/tasks ending in .rake,
2+
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
3+
4+
require File.expand_path('../config/application', __FILE__)
5+
6+
Rails.application.load_tasks

app/.DS_Store

6 KB
Binary file not shown.

app/assets/images/.keep

Whitespace-only changes.

app/assets/javascripts/application.js

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// This is a manifest file that'll be compiled into application.js, which will include all the files
2+
// listed below.
3+
//
4+
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
5+
// or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
6+
//
7+
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
8+
// compiled file.
9+
//
10+
// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
11+
// about supported directives.
12+
//
13+
//= require jquery
14+
//= require jquery_ujs
15+
//= require turbolinks
16+
//= require_tree .
+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Place all the behaviors and hooks related to the matching controller here.
2+
# All this logic will automatically be available in application.js.
3+
# You can use CoffeeScript in this file: http://coffeescript.org/
+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Place all the behaviors and hooks related to the matching controller here.
2+
# All this logic will automatically be available in application.js.
3+
# You can use CoffeeScript in this file: http://coffeescript.org/

app/assets/javascripts/menus.coffee

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Place all the behaviors and hooks related to the matching controller here.
2+
# All this logic will automatically be available in application.js.
3+
# You can use CoffeeScript in this file: http://coffeescript.org/

app/assets/javascripts/orders.coffee

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Place all the behaviors and hooks related to the matching controller here.
2+
# All this logic will automatically be available in application.js.
3+
# You can use CoffeeScript in this file: http://coffeescript.org/
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Place all the behaviors and hooks related to the matching controller here.
2+
# All this logic will automatically be available in application.js.
3+
# You can use CoffeeScript in this file: http://coffeescript.org/
+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/*
2+
* This is a manifest file that'll be compiled into application.css, which will include all the files
3+
* listed below.
4+
*
5+
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
6+
* or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
7+
*
8+
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
9+
* compiled file so the styles you add here take precedence over styles defined in any styles
10+
* defined in the other CSS/SCSS files in this directory. It is generally better to create a new
11+
* file per style scope.
12+
*
13+
*= require_tree .
14+
*= require_self
15+
*/

app/assets/stylesheets/customers.scss

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// Place all the styles related to the Customers controller here.
2+
// They will automatically be included in application.css.
3+
// You can use Sass (SCSS) here: http://sass-lang.com/

app/assets/stylesheets/invoices.scss

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// Place all the styles related to the Invoices controller here.
2+
// They will automatically be included in application.css.
3+
// You can use Sass (SCSS) here: http://sass-lang.com/

app/assets/stylesheets/menus.scss

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// Place all the styles related to the Menus controller here.
2+
// They will automatically be included in application.css.
3+
// You can use Sass (SCSS) here: http://sass-lang.com/

app/assets/stylesheets/orders.scss

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// Place all the styles related to the Orders controller here.
2+
// They will automatically be included in application.css.
3+
// You can use Sass (SCSS) here: http://sass-lang.com/
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// Place all the styles related to the RestaurantSystems controller here.
2+
// They will automatically be included in application.css.
3+
// You can use Sass (SCSS) here: http://sass-lang.com/
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
class ApplicationController < ActionController::Base
2+
protect_from_forgery with: :null_session
3+
end

app/controllers/concerns/.keep

Whitespace-only changes.

0 commit comments

Comments
 (0)