Skip to content

Commit c91a878

Browse files
author
Brian Zeligson
committed
initial commit, pretty much done
0 parents  commit c91a878

Some content is hidden

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

64 files changed

+1519
-0
lines changed

.gitignore

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
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/*.log
16+
/tmp
17+
*.rbc
18+
capybara-*.html
19+
.rspec
20+
/log
21+
/tmp
22+
/db/*.sqlite3
23+
/public/system
24+
/coverage/
25+
/spec/tmp
26+
**.orig
27+
rerun.txt
28+
pickle-email-*.html
29+
30+
# TODO Comment out these rules if you are OK with secrets being uploaded to the repo
31+
config/initializers/secret_token.rb
32+
config/secrets.yml
33+
34+
## Environment normalisation:
35+
/.bundle
36+
/vendor/bundle
37+
38+
# these should all be checked in to normalise the environment:
39+
# Gemfile.lock, .ruby-version, .ruby-gemset
40+
41+
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
42+
.rvmrc
43+
.ruby-version
44+
45+
# if using bower-rails ignore default bower_components path bower.json files
46+
/vendor/assets/bower_components
47+
*.bowerrc
48+
bower.json

Gemfile

+67
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
source 'https://rubygems.org'
2+
3+
4+
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
5+
gem 'rails', '4.1.0'
6+
# Use sqlite3 as the database for Active Record
7+
gem 'sqlite3'
8+
# Use SCSS for stylesheets
9+
gem 'sass-rails', '~> 4.0.3'
10+
# Use Uglifier as compressor for JavaScript assets
11+
gem 'uglifier', '>= 1.3.0'
12+
# Use CoffeeScript for .js.coffee assets and views
13+
gem 'coffee-rails', '~> 4.0.0'
14+
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
15+
# gem 'therubyracer', platforms: :ruby
16+
17+
# Use jquery as the JavaScript library
18+
gem 'jquery-rails'
19+
# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
20+
gem 'turbolinks'
21+
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
22+
gem 'jbuilder', '~> 2.0'
23+
# bundle exec rake doc:rails generates the API under doc/api.
24+
gem 'sdoc', '~> 0.4.0', group: :doc
25+
26+
gem 'chronic'
27+
gem 'sidekiq', '3.2.1'
28+
gem 'sidekiq-unique-jobs'
29+
30+
# Handle "incoming emails"
31+
gem 'griddler'
32+
33+
# Adapter for incoming email provider (choose one)
34+
# see https://github.com/thoughtbot/griddler#adapters
35+
gem 'griddler-sendgrid'
36+
# gem 'griddler-mandrill'
37+
# gem 'griddler-mailgun'
38+
# gem 'griddler-postmark'
39+
40+
41+
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
42+
gem 'spring', group: :development
43+
44+
group :development, :test do
45+
gem 'rspec-rails'
46+
gem 'rspec'
47+
gem 'rspec-mocks'
48+
49+
gem 'timecop'
50+
51+
gem 'pry'
52+
gem 'pry-debugger'
53+
gem 'debugger'
54+
gem 'pry-rails'
55+
end
56+
57+
# Use ActiveModel has_secure_password
58+
# gem 'bcrypt', '~> 3.1.7'
59+
60+
# Use unicorn as the app server
61+
# gem 'unicorn'
62+
63+
# Use Capistrano for deployment
64+
# gem 'capistrano-rails', group: :development
65+
66+
# Use debugger
67+

Gemfile.lock

+203
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,203 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
actionmailer (4.1.0)
5+
actionpack (= 4.1.0)
6+
actionview (= 4.1.0)
7+
mail (~> 2.5.4)
8+
actionpack (4.1.0)
9+
actionview (= 4.1.0)
10+
activesupport (= 4.1.0)
11+
rack (~> 1.5.2)
12+
rack-test (~> 0.6.2)
13+
actionview (4.1.0)
14+
activesupport (= 4.1.0)
15+
builder (~> 3.1)
16+
erubis (~> 2.7.0)
17+
activemodel (4.1.0)
18+
activesupport (= 4.1.0)
19+
builder (~> 3.1)
20+
activerecord (4.1.0)
21+
activemodel (= 4.1.0)
22+
activesupport (= 4.1.0)
23+
arel (~> 5.0.0)
24+
activesupport (4.1.0)
25+
i18n (~> 0.6, >= 0.6.9)
26+
json (~> 1.7, >= 1.7.7)
27+
minitest (~> 5.1)
28+
thread_safe (~> 0.1)
29+
tzinfo (~> 1.1)
30+
arel (5.0.1.20140414130214)
31+
builder (3.2.2)
32+
celluloid (0.16.0)
33+
timers (~> 4.0.0)
34+
chronic (0.10.2)
35+
coderay (1.1.0)
36+
coffee-rails (4.0.1)
37+
coffee-script (>= 2.2.0)
38+
railties (>= 4.0.0, < 5.0)
39+
coffee-script (2.3.0)
40+
coffee-script-source
41+
execjs
42+
coffee-script-source (1.8.0)
43+
columnize (0.8.9)
44+
connection_pool (2.1.0)
45+
debugger (1.6.8)
46+
columnize (>= 0.3.1)
47+
debugger-linecache (~> 1.2.0)
48+
debugger-ruby_core_source (~> 1.3.5)
49+
debugger-linecache (1.2.0)
50+
debugger-ruby_core_source (1.3.7)
51+
diff-lcs (1.2.5)
52+
erubis (2.7.0)
53+
execjs (2.2.2)
54+
griddler (1.1.0)
55+
htmlentities
56+
rails (>= 3.2.0)
57+
griddler-sendgrid (0.0.1)
58+
griddler
59+
hike (1.2.3)
60+
hitimes (1.2.2)
61+
htmlentities (4.3.2)
62+
i18n (0.6.11)
63+
jbuilder (2.2.5)
64+
activesupport (>= 3.0.0, < 5)
65+
multi_json (~> 1.2)
66+
jquery-rails (3.1.2)
67+
railties (>= 3.0, < 5.0)
68+
thor (>= 0.14, < 2.0)
69+
json (1.8.1)
70+
mail (2.5.4)
71+
mime-types (~> 1.16)
72+
treetop (~> 1.4.8)
73+
method_source (0.8.2)
74+
mime-types (1.25.1)
75+
minitest (5.4.3)
76+
multi_json (1.10.1)
77+
polyglot (0.3.5)
78+
pry (0.10.1)
79+
coderay (~> 1.1.0)
80+
method_source (~> 0.8.1)
81+
slop (~> 3.4)
82+
pry-debugger (0.2.3)
83+
debugger (~> 1.3)
84+
pry (>= 0.9.10, < 0.11.0)
85+
pry-rails (0.3.2)
86+
pry (>= 0.9.10)
87+
rack (1.5.2)
88+
rack-test (0.6.2)
89+
rack (>= 1.0)
90+
rails (4.1.0)
91+
actionmailer (= 4.1.0)
92+
actionpack (= 4.1.0)
93+
actionview (= 4.1.0)
94+
activemodel (= 4.1.0)
95+
activerecord (= 4.1.0)
96+
activesupport (= 4.1.0)
97+
bundler (>= 1.3.0, < 2.0)
98+
railties (= 4.1.0)
99+
sprockets-rails (~> 2.0)
100+
railties (4.1.0)
101+
actionpack (= 4.1.0)
102+
activesupport (= 4.1.0)
103+
rake (>= 0.8.7)
104+
thor (>= 0.18.1, < 2.0)
105+
rake (10.3.2)
106+
rdoc (4.1.2)
107+
json (~> 1.4)
108+
redis (3.1.0)
109+
redis-namespace (1.5.1)
110+
redis (~> 3.0, >= 3.0.4)
111+
rspec (3.1.0)
112+
rspec-core (~> 3.1.0)
113+
rspec-expectations (~> 3.1.0)
114+
rspec-mocks (~> 3.1.0)
115+
rspec-core (3.1.7)
116+
rspec-support (~> 3.1.0)
117+
rspec-expectations (3.1.2)
118+
diff-lcs (>= 1.2.0, < 2.0)
119+
rspec-support (~> 3.1.0)
120+
rspec-mocks (3.1.3)
121+
rspec-support (~> 3.1.0)
122+
rspec-rails (3.1.0)
123+
actionpack (>= 3.0)
124+
activesupport (>= 3.0)
125+
railties (>= 3.0)
126+
rspec-core (~> 3.1.0)
127+
rspec-expectations (~> 3.1.0)
128+
rspec-mocks (~> 3.1.0)
129+
rspec-support (~> 3.1.0)
130+
rspec-support (3.1.2)
131+
sass (3.2.19)
132+
sass-rails (4.0.4)
133+
railties (>= 4.0.0, < 5.0)
134+
sass (~> 3.2.2)
135+
sprockets (~> 2.8, < 2.12)
136+
sprockets-rails (~> 2.0)
137+
sdoc (0.4.1)
138+
json (~> 1.7, >= 1.7.7)
139+
rdoc (~> 4.0)
140+
sidekiq (3.2.1)
141+
celluloid (>= 0.15.2)
142+
connection_pool (>= 2.0.0)
143+
json
144+
redis (>= 3.0.6)
145+
redis-namespace (>= 1.3.1)
146+
sidekiq-unique-jobs (3.0.10)
147+
sidekiq (>= 2.6)
148+
slop (3.6.0)
149+
spring (1.1.3)
150+
sprockets (2.11.3)
151+
hike (~> 1.2)
152+
multi_json (~> 1.0)
153+
rack (~> 1.0)
154+
tilt (~> 1.1, != 1.3.0)
155+
sprockets-rails (2.2.0)
156+
actionpack (>= 3.0)
157+
activesupport (>= 3.0)
158+
sprockets (>= 2.8, < 4.0)
159+
sqlite3 (1.3.10)
160+
thor (0.19.1)
161+
thread_safe (0.3.4)
162+
tilt (1.4.1)
163+
timecop (0.7.1)
164+
timers (4.0.1)
165+
hitimes
166+
treetop (1.4.15)
167+
polyglot
168+
polyglot (>= 0.3.1)
169+
turbolinks (2.5.2)
170+
coffee-rails
171+
tzinfo (1.2.2)
172+
thread_safe (~> 0.1)
173+
uglifier (2.5.3)
174+
execjs (>= 0.3.0)
175+
json (>= 1.8.0)
176+
177+
PLATFORMS
178+
ruby
179+
180+
DEPENDENCIES
181+
chronic
182+
coffee-rails (~> 4.0.0)
183+
debugger
184+
griddler
185+
griddler-sendgrid
186+
jbuilder (~> 2.0)
187+
jquery-rails
188+
pry
189+
pry-debugger
190+
pry-rails
191+
rails (= 4.1.0)
192+
rspec
193+
rspec-mocks
194+
rspec-rails
195+
sass-rails (~> 4.0.3)
196+
sdoc (~> 0.4.0)
197+
sidekiq (= 3.2.1)
198+
sidekiq-unique-jobs
199+
spring
200+
sqlite3
201+
timecop
202+
turbolinks
203+
uglifier (>= 1.3.0)

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/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 vendor/assets/javascripts of plugins, if any, 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/sstephenson/sprockets#sprockets-directives) for details
11+
// about supported directives.
12+
//
13+
//= require jquery
14+
//= require jquery_ujs
15+
//= require turbolinks
16+
//= require_tree .
+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 vendor/assets/stylesheets of plugins, if any, 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+
*/
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
class ApplicationController < ActionController::Base
2+
# Prevent CSRF attacks by raising an exception.
3+
# For APIs, you may want to use :null_session instead.
4+
protect_from_forgery with: :exception
5+
end

app/controllers/concerns/.keep

Whitespace-only changes.

app/helpers/application_helper.rb

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
module ApplicationHelper
2+
end

app/mailers/.keep

Whitespace-only changes.

0 commit comments

Comments
 (0)