Skip to content

Commit 83a5120

Browse files
committed
initial commit
0 parents  commit 83a5120

File tree

406 files changed

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

406 files changed

+18351
-0
lines changed

Diff for: .gitignore

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
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+
# Ignore uploaded files in development
21+
/storage/*
22+
23+
/node_modules
24+
/yarn-error.log
25+
26+
/public/assets
27+
.byebug_history
28+
29+
# Ignore master key for decrypting credentials and more.
30+
/config/master.key
31+
32+
.env
33+
*~
34+
.vagrant/
35+
ansible/*.retry

Diff for: .ruby-version

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2.5.1

Diff for: Dockerfile

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#FROM ubuntu:16.04
2+
3+
FROM ruby:2.5.1
4+
RUN apt-get update && apt-get install -y \
5+
build-essential \
6+
nodejs \
7+
mdns-scan \
8+
avahi-daemon avahi-utils libavahi-client-dev libavahi-client3 libavahi-common-dev libavahi-compat-libdnssd-dev \
9+
zip
10+
11+
RUN mkdir -p /app
12+
WORKDIR /app
13+
14+
ADD Gemfile* /app/
15+
RUN gem install bundler --pre
16+
RUN bundle install
17+
18+
ADD . /app

Diff for: Gemfile

+65
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
source 'https://rubygems.org'
2+
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
3+
4+
ruby '2.5.1'
5+
6+
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
7+
gem 'rails', '~> 5.2.0'
8+
# Use sqlite3 as the database for Active Record
9+
gem 'pg'
10+
# Use Puma as the app server
11+
gem 'puma', '~> 3.11'
12+
# Use SCSS for stylesheets
13+
gem 'sass-rails', '~> 5.0'
14+
# Use Uglifier as compressor for JavaScript assets
15+
gem 'uglifier', '>= 1.3.0'
16+
# See https://github.com/rails/execjs#readme for more supported runtimes
17+
# gem 'mini_racer', platforms: :ruby
18+
19+
# Use CoffeeScript for .coffee assets and views
20+
gem 'coffee-rails', '~> 4.2'
21+
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
22+
gem 'turbolinks', '~> 5'
23+
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
24+
gem 'jbuilder', '~> 2.5'
25+
# Use Redis adapter to run Action Cable in production
26+
# gem 'redis', '~> 4.0'
27+
# Use ActiveModel has_secure_password
28+
# gem 'bcrypt', '~> 3.1.7'
29+
30+
# Use ActiveStorage variant
31+
# gem 'mini_magick', '~> 4.8'
32+
33+
# Use Capistrano for deployment
34+
# gem 'capistrano-rails', group: :development
35+
36+
# Reduces boot times through caching; required in config/boot.rb
37+
gem 'bootsnap', '>= 1.1.0', require: false
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+
end
43+
44+
group :development do
45+
# Access an interactive console on exception pages or by calling 'console' anywhere in the code.
46+
gem 'web-console', '>= 3.3.0'
47+
gem 'listen', '>= 3.0.5', '< 3.2'
48+
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
49+
gem 'spring'
50+
gem 'spring-watcher-listen', '~> 2.0.0'
51+
end
52+
53+
group :test do
54+
# Adds support for Capybara system testing and selenium driver
55+
gem 'capybara', '>= 2.15', '< 4.0'
56+
gem 'selenium-webdriver'
57+
# Easy installation and use of chromedriver to run system tests with Chrome
58+
gem 'chromedriver-helper'
59+
end
60+
61+
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
62+
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
63+
64+
gem 'bootstrap', '~> 4.1.1'
65+
gem 'jquery-rails'

Diff for: Gemfile.lock

+231
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,231 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
actioncable (5.2.0)
5+
actionpack (= 5.2.0)
6+
nio4r (~> 2.0)
7+
websocket-driver (>= 0.6.1)
8+
actionmailer (5.2.0)
9+
actionpack (= 5.2.0)
10+
actionview (= 5.2.0)
11+
activejob (= 5.2.0)
12+
mail (~> 2.5, >= 2.5.4)
13+
rails-dom-testing (~> 2.0)
14+
actionpack (5.2.0)
15+
actionview (= 5.2.0)
16+
activesupport (= 5.2.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.2.0)
22+
activesupport (= 5.2.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.2.0)
28+
activesupport (= 5.2.0)
29+
globalid (>= 0.3.6)
30+
activemodel (5.2.0)
31+
activesupport (= 5.2.0)
32+
activerecord (5.2.0)
33+
activemodel (= 5.2.0)
34+
activesupport (= 5.2.0)
35+
arel (>= 9.0)
36+
activestorage (5.2.0)
37+
actionpack (= 5.2.0)
38+
activerecord (= 5.2.0)
39+
marcel (~> 0.3.1)
40+
activesupport (5.2.0)
41+
concurrent-ruby (~> 1.0, >= 1.0.2)
42+
i18n (>= 0.7, < 2)
43+
minitest (~> 5.1)
44+
tzinfo (~> 1.1)
45+
addressable (2.5.2)
46+
public_suffix (>= 2.0.2, < 4.0)
47+
archive-zip (0.11.0)
48+
io-like (~> 0.3.0)
49+
arel (9.0.0)
50+
autoprefixer-rails (8.5.1)
51+
execjs
52+
bindex (0.5.0)
53+
bootsnap (1.3.0)
54+
msgpack (~> 1.0)
55+
bootstrap (4.1.1)
56+
autoprefixer-rails (>= 6.0.3)
57+
popper_js (>= 1.12.9, < 2)
58+
sass (>= 3.5.2)
59+
builder (3.2.3)
60+
byebug (10.0.2)
61+
capybara (3.1.0)
62+
addressable
63+
mini_mime (>= 0.1.3)
64+
nokogiri (~> 1.8)
65+
rack (>= 1.6.0)
66+
rack-test (>= 0.6.3)
67+
xpath (~> 3.0)
68+
childprocess (0.9.0)
69+
ffi (~> 1.0, >= 1.0.11)
70+
chromedriver-helper (1.2.0)
71+
archive-zip (~> 0.10)
72+
nokogiri (~> 1.8)
73+
coffee-rails (4.2.2)
74+
coffee-script (>= 2.2.0)
75+
railties (>= 4.0.0)
76+
coffee-script (2.4.1)
77+
coffee-script-source
78+
execjs
79+
coffee-script-source (1.12.2)
80+
concurrent-ruby (1.0.5)
81+
crass (1.0.4)
82+
erubi (1.7.1)
83+
execjs (2.7.0)
84+
ffi (1.9.23)
85+
globalid (0.4.1)
86+
activesupport (>= 4.2.0)
87+
i18n (1.0.1)
88+
concurrent-ruby (~> 1.0)
89+
io-like (0.3.0)
90+
jbuilder (2.7.0)
91+
activesupport (>= 4.2.0)
92+
multi_json (>= 1.2)
93+
jquery-rails (4.3.3)
94+
rails-dom-testing (>= 1, < 3)
95+
railties (>= 4.2.0)
96+
thor (>= 0.14, < 2.0)
97+
listen (3.1.5)
98+
rb-fsevent (~> 0.9, >= 0.9.4)
99+
rb-inotify (~> 0.9, >= 0.9.7)
100+
ruby_dep (~> 1.2)
101+
loofah (2.2.2)
102+
crass (~> 1.0.2)
103+
nokogiri (>= 1.5.9)
104+
mail (2.7.0)
105+
mini_mime (>= 0.1.1)
106+
marcel (0.3.2)
107+
mimemagic (~> 0.3.2)
108+
method_source (0.9.0)
109+
mimemagic (0.3.2)
110+
mini_mime (1.0.0)
111+
mini_portile2 (2.3.0)
112+
minitest (5.11.3)
113+
msgpack (1.2.4)
114+
multi_json (1.13.1)
115+
nio4r (2.3.1)
116+
nokogiri (1.8.2)
117+
mini_portile2 (~> 2.3.0)
118+
pg (1.0.0)
119+
popper_js (1.12.9)
120+
public_suffix (3.0.2)
121+
puma (3.11.4)
122+
rack (2.0.5)
123+
rack-test (1.0.0)
124+
rack (>= 1.0, < 3)
125+
rails (5.2.0)
126+
actioncable (= 5.2.0)
127+
actionmailer (= 5.2.0)
128+
actionpack (= 5.2.0)
129+
actionview (= 5.2.0)
130+
activejob (= 5.2.0)
131+
activemodel (= 5.2.0)
132+
activerecord (= 5.2.0)
133+
activestorage (= 5.2.0)
134+
activesupport (= 5.2.0)
135+
bundler (>= 1.3.0)
136+
railties (= 5.2.0)
137+
sprockets-rails (>= 2.0.0)
138+
rails-dom-testing (2.0.3)
139+
activesupport (>= 4.2.0)
140+
nokogiri (>= 1.6)
141+
rails-html-sanitizer (1.0.4)
142+
loofah (~> 2.2, >= 2.2.2)
143+
railties (5.2.0)
144+
actionpack (= 5.2.0)
145+
activesupport (= 5.2.0)
146+
method_source
147+
rake (>= 0.8.7)
148+
thor (>= 0.18.1, < 2.0)
149+
rake (12.3.1)
150+
rb-fsevent (0.10.3)
151+
rb-inotify (0.9.10)
152+
ffi (>= 0.5.0, < 2)
153+
ruby_dep (1.5.0)
154+
rubyzip (1.2.1)
155+
sass (3.5.6)
156+
sass-listen (~> 4.0.0)
157+
sass-listen (4.0.0)
158+
rb-fsevent (~> 0.9, >= 0.9.4)
159+
rb-inotify (~> 0.9, >= 0.9.7)
160+
sass-rails (5.0.7)
161+
railties (>= 4.0.0, < 6)
162+
sass (~> 3.1)
163+
sprockets (>= 2.8, < 4.0)
164+
sprockets-rails (>= 2.0, < 4.0)
165+
tilt (>= 1.1, < 3)
166+
selenium-webdriver (3.12.0)
167+
childprocess (~> 0.5)
168+
rubyzip (~> 1.2)
169+
spring (2.0.2)
170+
activesupport (>= 4.2)
171+
spring-watcher-listen (2.0.1)
172+
listen (>= 2.7, < 4.0)
173+
spring (>= 1.2, < 3.0)
174+
sprockets (3.7.1)
175+
concurrent-ruby (~> 1.0)
176+
rack (> 1, < 3)
177+
sprockets-rails (3.2.1)
178+
actionpack (>= 4.0)
179+
activesupport (>= 4.0)
180+
sprockets (>= 3.0.0)
181+
thor (0.20.0)
182+
thread_safe (0.3.6)
183+
tilt (2.0.8)
184+
turbolinks (5.1.1)
185+
turbolinks-source (~> 5.1)
186+
turbolinks-source (5.1.0)
187+
tzinfo (1.2.5)
188+
thread_safe (~> 0.1)
189+
uglifier (4.1.10)
190+
execjs (>= 0.3.0, < 3)
191+
web-console (3.6.2)
192+
actionview (>= 5.0)
193+
activemodel (>= 5.0)
194+
bindex (>= 0.4.0)
195+
railties (>= 5.0)
196+
websocket-driver (0.7.0)
197+
websocket-extensions (>= 0.1.0)
198+
websocket-extensions (0.1.3)
199+
xpath (3.0.0)
200+
nokogiri (~> 1.8)
201+
202+
PLATFORMS
203+
ruby
204+
205+
DEPENDENCIES
206+
bootsnap (>= 1.1.0)
207+
bootstrap (~> 4.1.1)
208+
byebug
209+
capybara (>= 2.15, < 4.0)
210+
chromedriver-helper
211+
coffee-rails (~> 4.2)
212+
jbuilder (~> 2.5)
213+
jquery-rails
214+
listen (>= 3.0.5, < 3.2)
215+
pg
216+
puma (~> 3.11)
217+
rails (~> 5.2.0)
218+
sass-rails (~> 5.0)
219+
selenium-webdriver
220+
spring
221+
spring-watcher-listen (~> 2.0.0)
222+
turbolinks (~> 5)
223+
tzinfo-data
224+
uglifier (>= 1.3.0)
225+
web-console (>= 3.3.0)
226+
227+
RUBY VERSION
228+
ruby 2.5.1p57
229+
230+
BUNDLED WITH
231+
1.16.1

Diff for: LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2018 John Romkey
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)