Skip to content

Commit 6d92780

Browse files
committed
rails new
0 parents  commit 6d92780

Some content is hidden

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

45 files changed

+743
-0
lines changed

.gitignore

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
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

Gemfile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
source 'https://rubygems.org'
2+
3+
gem 'rails', '4.0.3'
4+
gem 'sqlite3'
5+
gem 'sass-rails', '~> 4.0.0'
6+
gem 'uglifier', '>= 1.3.0'
7+
gem 'coffee-rails', '~> 4.0.0'
8+
gem 'jquery-rails'
9+
10+
group :development, :test do
11+
gem 'byebug'
12+
end

Gemfile.lock

Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
actionmailer (4.0.3)
5+
actionpack (= 4.0.3)
6+
mail (~> 2.5.4)
7+
actionpack (4.0.3)
8+
activesupport (= 4.0.3)
9+
builder (~> 3.1.0)
10+
erubis (~> 2.7.0)
11+
rack (~> 1.5.2)
12+
rack-test (~> 0.6.2)
13+
activemodel (4.0.3)
14+
activesupport (= 4.0.3)
15+
builder (~> 3.1.0)
16+
activerecord (4.0.3)
17+
activemodel (= 4.0.3)
18+
activerecord-deprecated_finders (~> 1.0.2)
19+
activesupport (= 4.0.3)
20+
arel (~> 4.0.0)
21+
activerecord-deprecated_finders (1.0.3)
22+
activesupport (4.0.3)
23+
i18n (~> 0.6, >= 0.6.4)
24+
minitest (~> 4.2)
25+
multi_json (~> 1.3)
26+
thread_safe (~> 0.1)
27+
tzinfo (~> 0.3.37)
28+
arel (4.0.2)
29+
atomic (1.1.15)
30+
builder (3.1.4)
31+
byebug (2.6.0)
32+
columnize (~> 0.3)
33+
debugger-linecache (~> 1.2)
34+
coffee-rails (4.0.1)
35+
coffee-script (>= 2.2.0)
36+
railties (>= 4.0.0, < 5.0)
37+
coffee-script (2.2.0)
38+
coffee-script-source
39+
execjs
40+
coffee-script-source (1.7.0)
41+
columnize (0.3.6)
42+
debugger-linecache (1.2.0)
43+
erubis (2.7.0)
44+
execjs (2.0.2)
45+
hike (1.2.3)
46+
i18n (0.6.9)
47+
jquery-rails (3.1.0)
48+
railties (>= 3.0, < 5.0)
49+
thor (>= 0.14, < 2.0)
50+
json (1.8.1)
51+
mail (2.5.4)
52+
mime-types (~> 1.16)
53+
treetop (~> 1.4.8)
54+
mime-types (1.25.1)
55+
minitest (4.7.5)
56+
multi_json (1.8.4)
57+
polyglot (0.3.4)
58+
rack (1.5.2)
59+
rack-test (0.6.2)
60+
rack (>= 1.0)
61+
rails (4.0.3)
62+
actionmailer (= 4.0.3)
63+
actionpack (= 4.0.3)
64+
activerecord (= 4.0.3)
65+
activesupport (= 4.0.3)
66+
bundler (>= 1.3.0, < 2.0)
67+
railties (= 4.0.3)
68+
sprockets-rails (~> 2.0.0)
69+
railties (4.0.3)
70+
actionpack (= 4.0.3)
71+
activesupport (= 4.0.3)
72+
rake (>= 0.8.7)
73+
thor (>= 0.18.1, < 2.0)
74+
rake (10.1.1)
75+
sass (3.2.14)
76+
sass-rails (4.0.1)
77+
railties (>= 4.0.0, < 5.0)
78+
sass (>= 3.1.10)
79+
sprockets-rails (~> 2.0.0)
80+
sprockets (2.11.0)
81+
hike (~> 1.2)
82+
multi_json (~> 1.0)
83+
rack (~> 1.0)
84+
tilt (~> 1.1, != 1.3.0)
85+
sprockets-rails (2.0.1)
86+
actionpack (>= 3.0)
87+
activesupport (>= 3.0)
88+
sprockets (~> 2.8)
89+
sqlite3 (1.3.9)
90+
thor (0.18.1)
91+
thread_safe (0.2.0)
92+
atomic (>= 1.1.7, < 2)
93+
tilt (1.4.1)
94+
treetop (1.4.15)
95+
polyglot
96+
polyglot (>= 0.3.1)
97+
tzinfo (0.3.38)
98+
uglifier (2.4.0)
99+
execjs (>= 0.3.0)
100+
json (>= 1.8.0)
101+
102+
PLATFORMS
103+
ruby
104+
105+
DEPENDENCIES
106+
byebug
107+
coffee-rails (~> 4.0.0)
108+
jquery-rails
109+
rails (= 4.0.3)
110+
sass-rails (~> 4.0.0)
111+
sqlite3
112+
uglifier (>= 1.3.0)

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+
Shipit::Application.load_tasks

app/assets/images/.keep

Whitespace-only changes.

app/assets/javascripts/application.js

Lines changed: 16 additions & 0 deletions
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 .
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
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 top of the
9+
* compiled file, but it's generally better to create a new file per style scope.
10+
*
11+
*= require_self
12+
*= require_tree .
13+
*/
Lines changed: 5 additions & 0 deletions
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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
module ApplicationHelper
2+
end

0 commit comments

Comments
 (0)