Skip to content

Commit 3becefb

Browse files
committed
first commit
0 parents  commit 3becefb

Some content is hidden

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

88 files changed

+1369
-0
lines changed

.gitignore

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
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+
/tmp/*
17+
!/log/.keep
18+
!/tmp/.keep
19+
20+
/node_modules
21+
/yarn-error.log
22+
23+
.byebug_history

Gemfile

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
source 'https://rubygems.org'
2+
3+
git_source(:github) do |repo_name|
4+
repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
5+
"https://github.com/#{repo_name}.git"
6+
end
7+
8+
9+
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
10+
gem 'rails', '~> 5.1.4'
11+
# Use sqlite3 as the database for Active Record
12+
gem 'sqlite3'
13+
# Use Puma as the app server
14+
gem 'puma', '~> 3.7'
15+
# Use SCSS for stylesheets
16+
gem 'sass-rails', '~> 5.0'
17+
# Use Uglifier as compressor for JavaScript assets
18+
gem 'uglifier', '>= 1.3.0'
19+
# See https://github.com/rails/execjs#readme for more supported runtimes
20+
# gem 'therubyracer', platforms: :ruby
21+
22+
# Use CoffeeScript for .coffee assets and views
23+
gem 'coffee-rails', '~> 4.2'
24+
gem 'jquery-rails'
25+
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
26+
gem 'turbolinks', '~> 5'
27+
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
28+
gem 'jbuilder', '~> 2.5'
29+
# Use Redis adapter to run Action Cable in production
30+
# gem 'redis', '~> 3.0'
31+
# Use ActiveModel has_secure_password
32+
# gem 'bcrypt', '~> 3.1.7'
33+
34+
# Use Capistrano for deployment
35+
# gem 'capistrano-rails', group: :development
36+
37+
group :development, :test do
38+
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
39+
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
40+
# Adds support for Capybara system testing and selenium driver
41+
gem 'capybara', '~> 2.13'
42+
gem 'selenium-webdriver'
43+
end
44+
45+
group :development do
46+
# Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
47+
gem 'web-console', '>= 3.3.0'
48+
gem 'listen', '>= 3.0.5', '< 3.2'
49+
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
50+
gem 'spring'
51+
gem 'spring-watcher-listen', '~> 2.0.0'
52+
end
53+
54+
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
55+
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
56+
57+
gem 'jquery-datatables-rails', github: 'rweng/jquery-datatables-rails'
58+
gem 'will_paginate'

Gemfile.lock

Lines changed: 214 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,214 @@
1+
GIT
2+
remote: https://github.com/rweng/jquery-datatables-rails.git
3+
revision: d486b31b192a2924b1913e080ad23460e6b96d31
4+
specs:
5+
jquery-datatables-rails (3.4.0)
6+
actionpack (>= 3.1)
7+
jquery-rails
8+
railties (>= 3.1)
9+
sass-rails
10+
11+
GEM
12+
remote: https://rubygems.org/
13+
specs:
14+
actioncable (5.1.4)
15+
actionpack (= 5.1.4)
16+
nio4r (~> 2.0)
17+
websocket-driver (~> 0.6.1)
18+
actionmailer (5.1.4)
19+
actionpack (= 5.1.4)
20+
actionview (= 5.1.4)
21+
activejob (= 5.1.4)
22+
mail (~> 2.5, >= 2.5.4)
23+
rails-dom-testing (~> 2.0)
24+
actionpack (5.1.4)
25+
actionview (= 5.1.4)
26+
activesupport (= 5.1.4)
27+
rack (~> 2.0)
28+
rack-test (>= 0.6.3)
29+
rails-dom-testing (~> 2.0)
30+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
31+
actionview (5.1.4)
32+
activesupport (= 5.1.4)
33+
builder (~> 3.1)
34+
erubi (~> 1.4)
35+
rails-dom-testing (~> 2.0)
36+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
37+
activejob (5.1.4)
38+
activesupport (= 5.1.4)
39+
globalid (>= 0.3.6)
40+
activemodel (5.1.4)
41+
activesupport (= 5.1.4)
42+
activerecord (5.1.4)
43+
activemodel (= 5.1.4)
44+
activesupport (= 5.1.4)
45+
arel (~> 8.0)
46+
activesupport (5.1.4)
47+
concurrent-ruby (~> 1.0, >= 1.0.2)
48+
i18n (~> 0.7)
49+
minitest (~> 5.1)
50+
tzinfo (~> 1.1)
51+
addressable (2.5.2)
52+
public_suffix (>= 2.0.2, < 4.0)
53+
arel (8.0.0)
54+
bindex (0.5.0)
55+
builder (3.2.3)
56+
byebug (9.1.0)
57+
capybara (2.15.4)
58+
addressable
59+
mini_mime (>= 0.1.3)
60+
nokogiri (>= 1.3.3)
61+
rack (>= 1.0.0)
62+
rack-test (>= 0.5.4)
63+
xpath (~> 2.0)
64+
childprocess (0.8.0)
65+
ffi (~> 1.0, >= 1.0.11)
66+
coffee-rails (4.2.2)
67+
coffee-script (>= 2.2.0)
68+
railties (>= 4.0.0)
69+
coffee-script (2.4.1)
70+
coffee-script-source
71+
execjs
72+
coffee-script-source (1.12.2)
73+
concurrent-ruby (1.0.5)
74+
crass (1.0.2)
75+
erubi (1.7.0)
76+
execjs (2.7.0)
77+
ffi (1.9.18)
78+
globalid (0.4.1)
79+
activesupport (>= 4.2.0)
80+
i18n (0.9.1)
81+
concurrent-ruby (~> 1.0)
82+
jbuilder (2.7.0)
83+
activesupport (>= 4.2.0)
84+
multi_json (>= 1.2)
85+
jquery-rails (4.3.1)
86+
rails-dom-testing (>= 1, < 3)
87+
railties (>= 4.2.0)
88+
thor (>= 0.14, < 2.0)
89+
listen (3.1.5)
90+
rb-fsevent (~> 0.9, >= 0.9.4)
91+
rb-inotify (~> 0.9, >= 0.9.7)
92+
ruby_dep (~> 1.2)
93+
loofah (2.1.1)
94+
crass (~> 1.0.2)
95+
nokogiri (>= 1.5.9)
96+
mail (2.7.0)
97+
mini_mime (>= 0.1.1)
98+
method_source (0.9.0)
99+
mini_mime (0.1.4)
100+
mini_portile2 (2.3.0)
101+
minitest (5.10.3)
102+
multi_json (1.12.2)
103+
nio4r (2.1.0)
104+
nokogiri (1.8.1)
105+
mini_portile2 (~> 2.3.0)
106+
public_suffix (3.0.0)
107+
puma (3.10.0)
108+
rack (2.0.3)
109+
rack-test (0.7.0)
110+
rack (>= 1.0, < 3)
111+
rails (5.1.4)
112+
actioncable (= 5.1.4)
113+
actionmailer (= 5.1.4)
114+
actionpack (= 5.1.4)
115+
actionview (= 5.1.4)
116+
activejob (= 5.1.4)
117+
activemodel (= 5.1.4)
118+
activerecord (= 5.1.4)
119+
activesupport (= 5.1.4)
120+
bundler (>= 1.3.0)
121+
railties (= 5.1.4)
122+
sprockets-rails (>= 2.0.0)
123+
rails-dom-testing (2.0.3)
124+
activesupport (>= 4.2.0)
125+
nokogiri (>= 1.6)
126+
rails-html-sanitizer (1.0.3)
127+
loofah (~> 2.0)
128+
railties (5.1.4)
129+
actionpack (= 5.1.4)
130+
activesupport (= 5.1.4)
131+
method_source
132+
rake (>= 0.8.7)
133+
thor (>= 0.18.1, < 2.0)
134+
rake (12.2.1)
135+
rb-fsevent (0.10.2)
136+
rb-inotify (0.9.10)
137+
ffi (>= 0.5.0, < 2)
138+
ruby_dep (1.5.0)
139+
rubyzip (1.2.1)
140+
sass (3.5.3)
141+
sass-listen (~> 4.0.0)
142+
sass-listen (4.0.0)
143+
rb-fsevent (~> 0.9, >= 0.9.4)
144+
rb-inotify (~> 0.9, >= 0.9.7)
145+
sass-rails (5.0.6)
146+
railties (>= 4.0.0, < 6)
147+
sass (~> 3.1)
148+
sprockets (>= 2.8, < 4.0)
149+
sprockets-rails (>= 2.0, < 4.0)
150+
tilt (>= 1.1, < 3)
151+
selenium-webdriver (3.7.0)
152+
childprocess (~> 0.5)
153+
rubyzip (~> 1.0)
154+
spring (2.0.2)
155+
activesupport (>= 4.2)
156+
spring-watcher-listen (2.0.1)
157+
listen (>= 2.7, < 4.0)
158+
spring (>= 1.2, < 3.0)
159+
sprockets (3.7.1)
160+
concurrent-ruby (~> 1.0)
161+
rack (> 1, < 3)
162+
sprockets-rails (3.2.1)
163+
actionpack (>= 4.0)
164+
activesupport (>= 4.0)
165+
sprockets (>= 3.0.0)
166+
sqlite3 (1.3.13)
167+
thor (0.20.0)
168+
thread_safe (0.3.6)
169+
tilt (2.0.8)
170+
turbolinks (5.0.1)
171+
turbolinks-source (~> 5)
172+
turbolinks-source (5.0.3)
173+
tzinfo (1.2.4)
174+
thread_safe (~> 0.1)
175+
uglifier (3.2.0)
176+
execjs (>= 0.3.0, < 3)
177+
web-console (3.5.1)
178+
actionview (>= 5.0)
179+
activemodel (>= 5.0)
180+
bindex (>= 0.4.0)
181+
railties (>= 5.0)
182+
websocket-driver (0.6.5)
183+
websocket-extensions (>= 0.1.0)
184+
websocket-extensions (0.1.2)
185+
will_paginate (3.1.6)
186+
xpath (2.1.0)
187+
nokogiri (~> 1.3)
188+
189+
PLATFORMS
190+
ruby
191+
192+
DEPENDENCIES
193+
byebug
194+
capybara (~> 2.13)
195+
coffee-rails (~> 4.2)
196+
jbuilder (~> 2.5)
197+
jquery-datatables-rails!
198+
jquery-rails
199+
listen (>= 3.0.5, < 3.2)
200+
puma (~> 3.7)
201+
rails (~> 5.1.4)
202+
sass-rails (~> 5.0)
203+
selenium-webdriver
204+
spring
205+
spring-watcher-listen (~> 2.0.0)
206+
sqlite3
207+
turbolinks (~> 5)
208+
tzinfo-data
209+
uglifier (>= 1.3.0)
210+
web-console (>= 3.3.0)
211+
will_paginate
212+
213+
BUNDLED WITH
214+
1.15.3

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
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+
* ...

Rakefile

Lines changed: 6 additions & 0 deletions
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_relative 'config/application'
5+
6+
Rails.application.load_tasks

app/assets/config/manifest.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
//= link_tree ../images
2+
//= link_directory ../javascripts .js
3+
//= link_directory ../stylesheets .css

app/assets/images/.keep

Whitespace-only changes.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
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, or any plugin's
5+
// 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. JavaScript code in this file should be added after the last require_* statement.
9+
//
10+
// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
11+
// about supported directives.
12+
//
13+
//= require jquery3
14+
//= require jquery_ujs
15+
//= require dataTables/jquery.dataTables
16+
//= require rails-ujs
17+
//= require turbolinks
18+
//= require_tree .

app/assets/javascripts/cable.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// Action Cable provides the framework to deal with WebSockets in Rails.
2+
// You can generate new channels where WebSocket features live using the `rails generate channel` command.
3+
//
4+
//= require action_cable
5+
//= require_self
6+
//= require_tree ./channels
7+
8+
(function() {
9+
this.App || (this.App = {});
10+
11+
App.cable = ActionCable.createConsumer();
12+
13+
}).call(this);

app/assets/javascripts/channels/.keep

Whitespace-only changes.

0 commit comments

Comments
 (0)