Skip to content

Commit f98ab30

Browse files
committed
first commit
0 parents commit f98ab30

File tree

105 files changed

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

105 files changed

+11141
-0
lines changed

.gitignore

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
*.rbc
2+
capybara-*.html
3+
.rspec
4+
/log
5+
/tmp
6+
/db/*.sqlite3
7+
/db/*.sqlite3-journal
8+
/public/system
9+
/coverage/
10+
/spec/tmp
11+
**.orig
12+
rerun.txt
13+
pickle-email-*.html
14+
15+
## Environment normalization:
16+
/.bundle
17+
/vendor/bundle
18+
19+
# these should all be checked in to normalize the environment:
20+
# Gemfile.lock, .ruby-version, .ruby-gemset
21+
22+
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
23+
.rvmrc
24+
25+
# if using bower-rails ignore default bower_components path bower.json files
26+
/vendor/assets/bower_components
27+
*.bowerrc
28+
bower.json
29+
30+
# Ignore pow environment settings
31+
.powenv

Gemfile

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
source 'https://rubygems.org'
2+
ruby '2.3.0'
3+
4+
5+
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
6+
gem 'rails', '4.2.6'
7+
# Use sqlite3 as the database for Active Record
8+
gem 'sqlite3'
9+
# Use SCSS for stylesheets
10+
gem 'sass-rails', '~> 5.0'
11+
# Use Uglifier as compressor for JavaScript assets
12+
gem 'uglifier', '>= 1.3.0'
13+
# Use CoffeeScript for .coffee assets and views
14+
gem 'coffee-rails', '~> 4.1.0'
15+
# See https://github.com/rails/execjs#readme for more supported runtimes
16+
# gem 'therubyracer', platforms: :ruby
17+
18+
# Use jquery as the JavaScript library
19+
gem 'jquery-rails'
20+
# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
21+
gem 'turbolinks'
22+
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
23+
gem 'jbuilder', '~> 2.0'
24+
# bundle exec rake doc:rails generates the API under doc/api.
25+
gem 'sdoc', '~> 0.4.0', group: :doc
26+
27+
# Use ActiveModel has_secure_password
28+
# gem 'bcrypt', '~> 3.1.7'
29+
30+
# Use Unicorn as the app server
31+
# gem 'unicorn'
32+
33+
# Use Capistrano for deployment
34+
# gem 'capistrano-rails', group: :development
35+
36+
group :development, :test do
37+
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
38+
gem 'byebug'
39+
end
40+
41+
group :development do
42+
# Access an IRB console on exception pages or by using <%= console %> in views
43+
gem 'web-console', '~> 2.0'
44+
45+
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
46+
gem 'spring'
47+
end
48+
49+
group :production do
50+
gem 'rails_12factor'
51+
gem 'mysql2'
52+
gem 'pg'
53+
end
54+

Gemfile.lock

Lines changed: 170 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,170 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
actionmailer (4.2.6)
5+
actionpack (= 4.2.6)
6+
actionview (= 4.2.6)
7+
activejob (= 4.2.6)
8+
mail (~> 2.5, >= 2.5.4)
9+
rails-dom-testing (~> 1.0, >= 1.0.5)
10+
actionpack (4.2.6)
11+
actionview (= 4.2.6)
12+
activesupport (= 4.2.6)
13+
rack (~> 1.6)
14+
rack-test (~> 0.6.2)
15+
rails-dom-testing (~> 1.0, >= 1.0.5)
16+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
17+
actionview (4.2.6)
18+
activesupport (= 4.2.6)
19+
builder (~> 3.1)
20+
erubis (~> 2.7.0)
21+
rails-dom-testing (~> 1.0, >= 1.0.5)
22+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
23+
activejob (4.2.6)
24+
activesupport (= 4.2.6)
25+
globalid (>= 0.3.0)
26+
activemodel (4.2.6)
27+
activesupport (= 4.2.6)
28+
builder (~> 3.1)
29+
activerecord (4.2.6)
30+
activemodel (= 4.2.6)
31+
activesupport (= 4.2.6)
32+
arel (~> 6.0)
33+
activesupport (4.2.6)
34+
i18n (~> 0.7)
35+
json (~> 1.7, >= 1.7.7)
36+
minitest (~> 5.1)
37+
thread_safe (~> 0.3, >= 0.3.4)
38+
tzinfo (~> 1.1)
39+
arel (6.0.3)
40+
binding_of_caller (0.7.2)
41+
debug_inspector (>= 0.0.1)
42+
builder (3.2.2)
43+
byebug (8.2.2)
44+
coffee-rails (4.1.1)
45+
coffee-script (>= 2.2.0)
46+
railties (>= 4.0.0, < 5.1.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.1)
52+
debug_inspector (0.0.2)
53+
erubis (2.7.0)
54+
execjs (2.6.0)
55+
globalid (0.3.6)
56+
activesupport (>= 4.1.0)
57+
i18n (0.7.0)
58+
jbuilder (2.4.1)
59+
activesupport (>= 3.0.0, < 5.1)
60+
multi_json (~> 1.2)
61+
jquery-rails (4.1.1)
62+
rails-dom-testing (>= 1, < 3)
63+
railties (>= 4.2.0)
64+
thor (>= 0.14, < 2.0)
65+
json (1.8.3)
66+
loofah (2.0.3)
67+
nokogiri (>= 1.5.9)
68+
mail (2.6.4)
69+
mime-types (>= 1.16, < 4)
70+
mime-types (3.0)
71+
mime-types-data (~> 3.2015)
72+
mime-types-data (3.2016.0221)
73+
mini_portile2 (2.0.0)
74+
minitest (5.8.4)
75+
multi_json (1.11.2)
76+
mysql2 (0.4.3)
77+
nokogiri (1.6.7.2)
78+
mini_portile2 (~> 2.0.0.rc2)
79+
pg (0.18.4)
80+
rack (1.6.4)
81+
rack-test (0.6.3)
82+
rack (>= 1.0)
83+
rails (4.2.6)
84+
actionmailer (= 4.2.6)
85+
actionpack (= 4.2.6)
86+
actionview (= 4.2.6)
87+
activejob (= 4.2.6)
88+
activemodel (= 4.2.6)
89+
activerecord (= 4.2.6)
90+
activesupport (= 4.2.6)
91+
bundler (>= 1.3.0, < 2.0)
92+
railties (= 4.2.6)
93+
sprockets-rails
94+
rails-deprecated_sanitizer (1.0.3)
95+
activesupport (>= 4.2.0.alpha)
96+
rails-dom-testing (1.0.7)
97+
activesupport (>= 4.2.0.beta, < 5.0)
98+
nokogiri (~> 1.6.0)
99+
rails-deprecated_sanitizer (>= 1.0.1)
100+
rails-html-sanitizer (1.0.3)
101+
loofah (~> 2.0)
102+
rails_12factor (0.0.3)
103+
rails_serve_static_assets
104+
rails_stdout_logging
105+
rails_serve_static_assets (0.0.5)
106+
rails_stdout_logging (0.0.5)
107+
railties (4.2.6)
108+
actionpack (= 4.2.6)
109+
activesupport (= 4.2.6)
110+
rake (>= 0.8.7)
111+
thor (>= 0.18.1, < 2.0)
112+
rake (11.1.2)
113+
rdoc (4.2.2)
114+
json (~> 1.4)
115+
sass (3.4.22)
116+
sass-rails (5.0.4)
117+
railties (>= 4.0.0, < 5.0)
118+
sass (~> 3.1)
119+
sprockets (>= 2.8, < 4.0)
120+
sprockets-rails (>= 2.0, < 4.0)
121+
tilt (>= 1.1, < 3)
122+
sdoc (0.4.1)
123+
json (~> 1.7, >= 1.7.7)
124+
rdoc (~> 4.0)
125+
spring (1.6.4)
126+
sprockets (3.5.2)
127+
concurrent-ruby (~> 1.0)
128+
rack (> 1, < 3)
129+
sprockets-rails (3.0.4)
130+
actionpack (>= 4.0)
131+
activesupport (>= 4.0)
132+
sprockets (>= 3.0.0)
133+
sqlite3 (1.3.11)
134+
thor (0.19.1)
135+
thread_safe (0.3.5)
136+
tilt (2.0.2)
137+
turbolinks (2.5.3)
138+
coffee-rails
139+
tzinfo (1.2.2)
140+
thread_safe (~> 0.1)
141+
uglifier (3.0.0)
142+
execjs (>= 0.3.0, < 3)
143+
web-console (2.3.0)
144+
activemodel (>= 4.0)
145+
binding_of_caller (>= 0.7.2)
146+
railties (>= 4.0)
147+
sprockets-rails (>= 2.0, < 4.0)
148+
149+
PLATFORMS
150+
ruby
151+
152+
DEPENDENCIES
153+
byebug
154+
coffee-rails (~> 4.1.0)
155+
jbuilder (~> 2.0)
156+
jquery-rails
157+
mysql2
158+
pg
159+
rails (= 4.2.6)
160+
rails_12factor
161+
sass-rails (~> 5.0)
162+
sdoc (~> 0.4.0)
163+
spring
164+
sqlite3
165+
turbolinks
166+
uglifier (>= 1.3.0)
167+
web-console (~> 2.0)
168+
169+
BUNDLED WITH
170+
1.11.2

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2016 Mike Long
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.

Procfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
web: bundle exec rails server -p $PORT

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# cf-sample-app-rails
2+
https://docs.cloudfoundry.org/buildpacks/ruby/ruby-tips.html

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 File.expand_path('../config/application', __FILE__)
5+
6+
Rails.application.load_tasks

app/assets/images/.keep

Whitespace-only changes.
Lines changed: 59 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)