Skip to content

Commit c067d89

Browse files
author
Zachery Moneypenny
committed
Intial commit
0 parents  commit c067d89

Some content is hidden

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

100 files changed

+6151
-0
lines changed

.babelrc

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"presets": [
3+
[
4+
"env",
5+
{
6+
"modules": false
7+
}
8+
],
9+
"react"
10+
]
11+
}

.gitignore

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
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
24+
/public/packs
25+
/node_modules

.postcssrc.yml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
plugins:
2+
postcss-smart-import: {}
3+
precss: {}
4+
autoprefixer: {}

Gemfile

+57
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
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.0'
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+
# Transpile app-like JavaScript. Read more: https://github.com/rails/webpacker
20+
gem 'webpacker'
21+
# See https://github.com/rails/execjs#readme for more supported runtimes
22+
# gem 'therubyracer', platforms: :ruby
23+
gem 'foreman'
24+
25+
# Use CoffeeScript for .coffee assets and views
26+
gem 'coffee-rails', '~> 4.2'
27+
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
28+
gem 'turbolinks', '~> 5'
29+
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
30+
gem 'jbuilder', '~> 2.5'
31+
# Use Redis adapter to run Action Cable in production
32+
# gem 'redis', '~> 3.0'
33+
# Use ActiveModel has_secure_password
34+
# gem 'bcrypt', '~> 3.1.7'
35+
36+
# Use Capistrano for deployment
37+
# gem 'capistrano-rails', group: :development
38+
39+
group :development, :test do
40+
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
41+
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
42+
# Adds support for Capybara system testing and selenium driver
43+
gem 'capybara', '~> 2.13.0'
44+
gem 'selenium-webdriver'
45+
end
46+
47+
group :development do
48+
# Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
49+
gem 'web-console', '>= 3.3.0'
50+
gem 'listen', '>= 3.0.5', '< 3.2'
51+
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
52+
gem 'spring'
53+
gem 'spring-watcher-listen', '~> 2.0.0'
54+
end
55+
56+
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
57+
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]

Gemfile.lock

+201
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,201 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
actioncable (5.1.0)
5+
actionpack (= 5.1.0)
6+
nio4r (~> 2.0)
7+
websocket-driver (~> 0.6.1)
8+
actionmailer (5.1.0)
9+
actionpack (= 5.1.0)
10+
actionview (= 5.1.0)
11+
activejob (= 5.1.0)
12+
mail (~> 2.5, >= 2.5.4)
13+
rails-dom-testing (~> 2.0)
14+
actionpack (5.1.0)
15+
actionview (= 5.1.0)
16+
activesupport (= 5.1.0)
17+
rack (~> 2.0)
18+
rack-test (~> 0.6.3)
19+
rails-dom-testing (~> 2.0)
20+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
21+
actionview (5.1.0)
22+
activesupport (= 5.1.0)
23+
builder (~> 3.1)
24+
erubi (~> 1.4)
25+
rails-dom-testing (~> 2.0)
26+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
27+
activejob (5.1.0)
28+
activesupport (= 5.1.0)
29+
globalid (>= 0.3.6)
30+
activemodel (5.1.0)
31+
activesupport (= 5.1.0)
32+
activerecord (5.1.0)
33+
activemodel (= 5.1.0)
34+
activesupport (= 5.1.0)
35+
arel (~> 8.0)
36+
activesupport (5.1.0)
37+
concurrent-ruby (~> 1.0, >= 1.0.2)
38+
i18n (~> 0.7)
39+
minitest (~> 5.1)
40+
tzinfo (~> 1.1)
41+
addressable (2.5.1)
42+
public_suffix (~> 2.0, >= 2.0.2)
43+
arel (8.0.0)
44+
bindex (0.5.0)
45+
builder (3.2.3)
46+
byebug (9.0.6)
47+
capybara (2.13.0)
48+
addressable
49+
mime-types (>= 1.16)
50+
nokogiri (>= 1.3.3)
51+
rack (>= 1.0.0)
52+
rack-test (>= 0.5.4)
53+
xpath (~> 2.0)
54+
childprocess (0.7.0)
55+
ffi (~> 1.0, >= 1.0.11)
56+
coffee-rails (4.2.1)
57+
coffee-script (>= 2.2.0)
58+
railties (>= 4.0.0, < 5.2.x)
59+
coffee-script (2.4.1)
60+
coffee-script-source
61+
execjs
62+
coffee-script-source (1.12.2)
63+
concurrent-ruby (1.0.5)
64+
erubi (1.6.0)
65+
execjs (2.7.0)
66+
ffi (1.9.18)
67+
foreman (0.84.0)
68+
thor (~> 0.19.1)
69+
globalid (0.4.0)
70+
activesupport (>= 4.2.0)
71+
i18n (0.8.1)
72+
jbuilder (2.6.4)
73+
activesupport (>= 3.0.0)
74+
multi_json (>= 1.2)
75+
listen (3.1.5)
76+
rb-fsevent (~> 0.9, >= 0.9.4)
77+
rb-inotify (~> 0.9, >= 0.9.7)
78+
ruby_dep (~> 1.2)
79+
loofah (2.0.3)
80+
nokogiri (>= 1.5.9)
81+
mail (2.6.5)
82+
mime-types (>= 1.16, < 4)
83+
method_source (0.8.2)
84+
mime-types (3.1)
85+
mime-types-data (~> 3.2015)
86+
mime-types-data (3.2016.0521)
87+
mini_portile2 (2.1.0)
88+
minitest (5.10.2)
89+
multi_json (1.12.1)
90+
nio4r (2.0.0)
91+
nokogiri (1.7.2)
92+
mini_portile2 (~> 2.1.0)
93+
public_suffix (2.0.5)
94+
puma (3.8.2)
95+
rack (2.0.2)
96+
rack-test (0.6.3)
97+
rack (>= 1.0)
98+
rails (5.1.0)
99+
actioncable (= 5.1.0)
100+
actionmailer (= 5.1.0)
101+
actionpack (= 5.1.0)
102+
actionview (= 5.1.0)
103+
activejob (= 5.1.0)
104+
activemodel (= 5.1.0)
105+
activerecord (= 5.1.0)
106+
activesupport (= 5.1.0)
107+
bundler (>= 1.3.0, < 2.0)
108+
railties (= 5.1.0)
109+
sprockets-rails (>= 2.0.0)
110+
rails-dom-testing (2.0.3)
111+
activesupport (>= 4.2.0)
112+
nokogiri (>= 1.6)
113+
rails-html-sanitizer (1.0.3)
114+
loofah (~> 2.0)
115+
railties (5.1.0)
116+
actionpack (= 5.1.0)
117+
activesupport (= 5.1.0)
118+
method_source
119+
rake (>= 0.8.7)
120+
thor (>= 0.18.1, < 2.0)
121+
rake (12.0.0)
122+
rb-fsevent (0.9.8)
123+
rb-inotify (0.9.8)
124+
ffi (>= 0.5.0)
125+
ruby_dep (1.5.0)
126+
rubyzip (1.2.1)
127+
sass (3.4.23)
128+
sass-rails (5.0.6)
129+
railties (>= 4.0.0, < 6)
130+
sass (~> 3.1)
131+
sprockets (>= 2.8, < 4.0)
132+
sprockets-rails (>= 2.0, < 4.0)
133+
tilt (>= 1.1, < 3)
134+
selenium-webdriver (3.4.0)
135+
childprocess (~> 0.5)
136+
rubyzip (~> 1.0)
137+
websocket (~> 1.0)
138+
spring (2.0.1)
139+
activesupport (>= 4.2)
140+
spring-watcher-listen (2.0.1)
141+
listen (>= 2.7, < 4.0)
142+
spring (>= 1.2, < 3.0)
143+
sprockets (3.7.1)
144+
concurrent-ruby (~> 1.0)
145+
rack (> 1, < 3)
146+
sprockets-rails (3.2.0)
147+
actionpack (>= 4.0)
148+
activesupport (>= 4.0)
149+
sprockets (>= 3.0.0)
150+
sqlite3 (1.3.13)
151+
thor (0.19.4)
152+
thread_safe (0.3.6)
153+
tilt (2.0.7)
154+
turbolinks (5.0.1)
155+
turbolinks-source (~> 5)
156+
turbolinks-source (5.0.3)
157+
tzinfo (1.2.3)
158+
thread_safe (~> 0.1)
159+
uglifier (3.2.0)
160+
execjs (>= 0.3.0, < 3)
161+
web-console (3.5.0)
162+
actionview (>= 5.0)
163+
activemodel (>= 5.0)
164+
bindex (>= 0.4.0)
165+
railties (>= 5.0)
166+
webpacker (1.2)
167+
activesupport (>= 4.2)
168+
multi_json (~> 1.2)
169+
railties (>= 4.2)
170+
websocket (1.2.4)
171+
websocket-driver (0.6.5)
172+
websocket-extensions (>= 0.1.0)
173+
websocket-extensions (0.1.2)
174+
xpath (2.0.0)
175+
nokogiri (~> 1.3)
176+
177+
PLATFORMS
178+
ruby
179+
180+
DEPENDENCIES
181+
byebug
182+
capybara (~> 2.13.0)
183+
coffee-rails (~> 4.2)
184+
foreman
185+
jbuilder (~> 2.5)
186+
listen (>= 3.0.5, < 3.2)
187+
puma (~> 3.7)
188+
rails (~> 5.1.0)
189+
sass-rails (~> 5.0)
190+
selenium-webdriver
191+
spring
192+
spring-watcher-listen (~> 2.0.0)
193+
sqlite3
194+
turbolinks (~> 5)
195+
tzinfo-data
196+
uglifier (>= 1.3.0)
197+
web-console (>= 3.3.0)
198+
webpacker
199+
200+
BUNDLED WITH
201+
1.14.6

Procfile

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
web: bin/rails server
2+
webpack: bin/webpack-dev-server

README.md

+24
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

+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_relative 'config/application'
5+
6+
Rails.application.load_tasks

app/assets/config/manifest.js

+3
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.

app/assets/javascripts/application.js

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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 rails-ujs
14+
//= require turbolinks
15+
//= require_tree .

app/assets/javascripts/cable.js

+13
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.
+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, or any plugin's
6+
* 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 other CSS/SCSS
10+
* files in this directory. Styles in this file should be added after the last require_* statement.
11+
* It is generally better to create a new file per style scope.
12+
*
13+
*= require_tree .
14+
*= require_self
15+
*/
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module ApplicationCable
2+
class Channel < ActionCable::Channel::Base
3+
end
4+
end
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module ApplicationCable
2+
class Connection < ActionCable::Connection::Base
3+
end
4+
end

0 commit comments

Comments
 (0)