Skip to content

Commit 5b7c708

Browse files
committed
first commit kinda working hacky
0 parents  commit 5b7c708

Some content is hidden

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

85 files changed

+1409
-0
lines changed

.gitignore

Lines changed: 17 additions & 0 deletions
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 all logfiles and tempfiles.
11+
/log/*
12+
/tmp/*
13+
!/log/.keep
14+
!/tmp/.keep
15+
16+
# Ignore Byebug command history file.
17+
.byebug_history

Gemfile

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
source 'https://rubygems.org'
2+
3+
4+
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
5+
gem 'rails', '~> 5.0.0', '>= 5.0.0.1'
6+
# Use postgresql as the database for Active Record
7+
gem 'pg', '~> 0.18'
8+
# Use Puma as the app server
9+
gem 'puma', '~> 3.0'
10+
# Use SCSS for stylesheets
11+
gem 'sass-rails', '~> 5.0'
12+
# Use Uglifier as compressor for JavaScript assets
13+
gem 'uglifier', '>= 1.3.0'
14+
# Use CoffeeScript for .coffee assets and views
15+
gem 'coffee-rails', '~> 4.2'
16+
# See https://github.com/rails/execjs#readme for more supported runtimes
17+
# gem 'therubyracer', platforms: :ruby
18+
19+
# Use jquery as the JavaScript library
20+
gem 'jquery-rails'
21+
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
22+
gem 'jbuilder', '~> 2.5'
23+
# Use Redis adapter to run Action Cable in production
24+
# gem 'redis', '~> 3.0'
25+
# Use ActiveModel has_secure_password
26+
# gem 'bcrypt', '~> 3.1.7'
27+
28+
# Use Capistrano for deployment
29+
# gem 'capistrano-rails', group: :development
30+
31+
gem 'feedjira', '~> 2.0'
32+
gem 'slim-rails', '~> 3.0'
33+
gem 'truncate_html'
34+
35+
require 'rbconfig'
36+
if RbConfig::CONFIG['target_os'] =~ /darwin(1[0-3])/i
37+
gem 'rb-fsevent', '<= 0.9.4'
38+
end
39+
40+
group :development, :test do
41+
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
42+
gem 'byebug', platform: :mri
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'
48+
gem 'listen', '~> 3.0.5'
49+
end
50+
51+
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
52+
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]

Gemfile.lock

Lines changed: 186 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,186 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
actioncable (5.0.0.1)
5+
actionpack (= 5.0.0.1)
6+
nio4r (~> 1.2)
7+
websocket-driver (~> 0.6.1)
8+
actionmailer (5.0.0.1)
9+
actionpack (= 5.0.0.1)
10+
actionview (= 5.0.0.1)
11+
activejob (= 5.0.0.1)
12+
mail (~> 2.5, >= 2.5.4)
13+
rails-dom-testing (~> 2.0)
14+
actionpack (5.0.0.1)
15+
actionview (= 5.0.0.1)
16+
activesupport (= 5.0.0.1)
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.0.0.1)
22+
activesupport (= 5.0.0.1)
23+
builder (~> 3.1)
24+
erubis (~> 2.7.0)
25+
rails-dom-testing (~> 2.0)
26+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
27+
activejob (5.0.0.1)
28+
activesupport (= 5.0.0.1)
29+
globalid (>= 0.3.6)
30+
activemodel (5.0.0.1)
31+
activesupport (= 5.0.0.1)
32+
activerecord (5.0.0.1)
33+
activemodel (= 5.0.0.1)
34+
activesupport (= 5.0.0.1)
35+
arel (~> 7.0)
36+
activesupport (5.0.0.1)
37+
concurrent-ruby (~> 1.0, >= 1.0.2)
38+
i18n (~> 0.7)
39+
minitest (~> 5.1)
40+
tzinfo (~> 1.1)
41+
arel (7.1.4)
42+
builder (3.2.2)
43+
byebug (9.0.6)
44+
coffee-rails (4.2.1)
45+
coffee-script (>= 2.2.0)
46+
railties (>= 4.0.0, < 5.2.x)
47+
coffee-script (2.4.1)
48+
coffee-script-source
49+
execjs
50+
coffee-script-source (1.10.0)
51+
concurrent-ruby (1.0.2)
52+
debug_inspector (0.0.2)
53+
erubis (2.7.0)
54+
execjs (2.7.0)
55+
faraday (0.9.2)
56+
multipart-post (>= 1.2, < 3)
57+
faraday_middleware (0.10.0)
58+
faraday (>= 0.7.4, < 0.10)
59+
feedjira (2.0.0)
60+
faraday (~> 0.9)
61+
faraday_middleware (~> 0.9)
62+
loofah (~> 2.0)
63+
sax-machine (~> 1.0)
64+
ffi (1.9.14)
65+
globalid (0.3.7)
66+
activesupport (>= 4.1.0)
67+
i18n (0.7.0)
68+
jbuilder (2.6.0)
69+
activesupport (>= 3.0.0, < 5.1)
70+
multi_json (~> 1.2)
71+
jquery-rails (4.2.1)
72+
rails-dom-testing (>= 1, < 3)
73+
railties (>= 4.2.0)
74+
thor (>= 0.14, < 2.0)
75+
listen (3.0.8)
76+
rb-fsevent (~> 0.9, >= 0.9.4)
77+
rb-inotify (~> 0.9, >= 0.9.7)
78+
loofah (2.0.3)
79+
nokogiri (>= 1.5.9)
80+
mail (2.6.4)
81+
mime-types (>= 1.16, < 4)
82+
method_source (0.8.2)
83+
mime-types (3.1)
84+
mime-types-data (~> 3.2015)
85+
mime-types-data (3.2016.0521)
86+
mini_portile2 (2.1.0)
87+
minitest (5.9.1)
88+
multi_json (1.12.1)
89+
multipart-post (2.0.0)
90+
nio4r (1.2.1)
91+
nokogiri (1.6.8.1)
92+
mini_portile2 (~> 2.1.0)
93+
pg (0.19.0)
94+
puma (3.6.0)
95+
rack (2.0.1)
96+
rack-test (0.6.3)
97+
rack (>= 1.0)
98+
rails (5.0.0.1)
99+
actioncable (= 5.0.0.1)
100+
actionmailer (= 5.0.0.1)
101+
actionpack (= 5.0.0.1)
102+
actionview (= 5.0.0.1)
103+
activejob (= 5.0.0.1)
104+
activemodel (= 5.0.0.1)
105+
activerecord (= 5.0.0.1)
106+
activesupport (= 5.0.0.1)
107+
bundler (>= 1.3.0, < 2.0)
108+
railties (= 5.0.0.1)
109+
sprockets-rails (>= 2.0.0)
110+
rails-dom-testing (2.0.1)
111+
activesupport (>= 4.2.0, < 6.0)
112+
nokogiri (~> 1.6.0)
113+
rails-html-sanitizer (1.0.3)
114+
loofah (~> 2.0)
115+
railties (5.0.0.1)
116+
actionpack (= 5.0.0.1)
117+
activesupport (= 5.0.0.1)
118+
method_source
119+
rake (>= 0.8.7)
120+
thor (>= 0.18.1, < 2.0)
121+
rake (11.3.0)
122+
rb-fsevent (0.9.4)
123+
rb-inotify (0.9.7)
124+
ffi (>= 0.5.0)
125+
sass (3.4.22)
126+
sass-rails (5.0.6)
127+
railties (>= 4.0.0, < 6)
128+
sass (~> 3.1)
129+
sprockets (>= 2.8, < 4.0)
130+
sprockets-rails (>= 2.0, < 4.0)
131+
tilt (>= 1.1, < 3)
132+
sax-machine (1.3.2)
133+
slim (3.0.7)
134+
temple (~> 0.7.6)
135+
tilt (>= 1.3.3, < 2.1)
136+
slim-rails (3.1.1)
137+
actionpack (>= 3.1)
138+
railties (>= 3.1)
139+
slim (~> 3.0)
140+
sprockets (3.7.0)
141+
concurrent-ruby (~> 1.0)
142+
rack (> 1, < 3)
143+
sprockets-rails (3.2.0)
144+
actionpack (>= 4.0)
145+
activesupport (>= 4.0)
146+
sprockets (>= 3.0.0)
147+
temple (0.7.7)
148+
thor (0.19.1)
149+
thread_safe (0.3.5)
150+
tilt (2.0.5)
151+
truncate_html (0.9.3)
152+
tzinfo (1.2.2)
153+
thread_safe (~> 0.1)
154+
uglifier (3.0.3)
155+
execjs (>= 0.3.0, < 3)
156+
web-console (3.4.0)
157+
actionview (>= 5.0)
158+
activemodel (>= 5.0)
159+
debug_inspector
160+
railties (>= 5.0)
161+
websocket-driver (0.6.4)
162+
websocket-extensions (>= 0.1.0)
163+
websocket-extensions (0.1.2)
164+
165+
PLATFORMS
166+
ruby
167+
168+
DEPENDENCIES
169+
byebug
170+
coffee-rails (~> 4.2)
171+
feedjira (~> 2.0)
172+
jbuilder (~> 2.5)
173+
jquery-rails
174+
listen (~> 3.0.5)
175+
pg (~> 0.18)
176+
puma (~> 3.0)
177+
rails (~> 5.0.0, >= 5.0.0.1)
178+
sass-rails (~> 5.0)
179+
slim-rails (~> 3.0)
180+
truncate_html
181+
tzinfo-data
182+
uglifier (>= 1.3.0)
183+
web-console
184+
185+
BUNDLED WITH
186+
1.13.6

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.

app/assets/javascripts/application.js

Lines changed: 15 additions & 0 deletions
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, 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. 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 jquery
14+
//= require jquery_ujs
15+
//= 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)