forked from ryanb/railscasts-episodes
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
287 changed files
with
5,300 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
RailsCasts Episode #296: Mercury Editor | ||
|
||
http://railscasts.com/episodes/296-mercury-editor | ||
|
||
Commands used in episode | ||
|
||
bundle | ||
rails g mercury:install | ||
rake mercury_engine:install:migrations | ||
rake db:migrate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
.bundle | ||
db/*.sqlite3 | ||
log/*.log | ||
tmp/ | ||
.sass-cache/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
source 'http://rubygems.org' | ||
|
||
gem 'rails', '3.1.1' | ||
gem 'sqlite3' | ||
|
||
# Gems used only for assets and not required | ||
# in production environments by default. | ||
group :assets do | ||
gem 'sass-rails', '~> 3.1.4' | ||
gem 'coffee-rails', '~> 3.1.1' | ||
gem 'uglifier', '>= 1.0.3' | ||
end | ||
|
||
gem 'jquery-rails' | ||
|
||
gem 'mercury-rails', git: 'https://github.com/jejacks0n/mercury.git', ref: 'a2b16bcdc9' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,137 @@ | ||
GIT | ||
remote: https://github.com/jejacks0n/mercury.git | ||
revision: a2b16bcdc96f12a21c04e95e145588595847523b | ||
ref: a2b16bcdc9 | ||
specs: | ||
mercury-rails (0.2.3) | ||
coffee-script | ||
formtastic | ||
json | ||
paperclip | ||
rails (~> 3.1.0) | ||
sass-rails | ||
|
||
GEM | ||
remote: http://rubygems.org/ | ||
specs: | ||
actionmailer (3.1.1) | ||
actionpack (= 3.1.1) | ||
mail (~> 2.3.0) | ||
actionpack (3.1.1) | ||
activemodel (= 3.1.1) | ||
activesupport (= 3.1.1) | ||
builder (~> 3.0.0) | ||
erubis (~> 2.7.0) | ||
i18n (~> 0.6) | ||
rack (~> 1.3.2) | ||
rack-cache (~> 1.1) | ||
rack-mount (~> 0.8.2) | ||
rack-test (~> 0.6.1) | ||
sprockets (~> 2.0.2) | ||
activemodel (3.1.1) | ||
activesupport (= 3.1.1) | ||
builder (~> 3.0.0) | ||
i18n (~> 0.6) | ||
activerecord (3.1.1) | ||
activemodel (= 3.1.1) | ||
activesupport (= 3.1.1) | ||
arel (~> 2.2.1) | ||
tzinfo (~> 0.3.29) | ||
activeresource (3.1.1) | ||
activemodel (= 3.1.1) | ||
activesupport (= 3.1.1) | ||
activesupport (3.1.1) | ||
multi_json (~> 1.0) | ||
arel (2.2.1) | ||
builder (3.0.0) | ||
cocaine (0.2.0) | ||
coffee-rails (3.1.1) | ||
coffee-script (>= 2.2.0) | ||
railties (~> 3.1.0) | ||
coffee-script (2.2.0) | ||
coffee-script-source | ||
execjs | ||
coffee-script-source (1.1.2) | ||
erubis (2.7.0) | ||
execjs (1.2.9) | ||
multi_json (~> 1.0) | ||
formtastic (2.0.2) | ||
rails (~> 3.0) | ||
hike (1.2.1) | ||
i18n (0.6.0) | ||
jquery-rails (1.0.16) | ||
railties (~> 3.0) | ||
thor (~> 0.14) | ||
json (1.6.1) | ||
mail (2.3.0) | ||
i18n (>= 0.4.0) | ||
mime-types (~> 1.16) | ||
treetop (~> 1.4.8) | ||
mime-types (1.17.2) | ||
multi_json (1.0.3) | ||
paperclip (2.4.5) | ||
activerecord (>= 2.3.0) | ||
activesupport (>= 2.3.2) | ||
cocaine (>= 0.0.2) | ||
mime-types | ||
polyglot (0.3.3) | ||
rack (1.3.5) | ||
rack-cache (1.1) | ||
rack (>= 0.4) | ||
rack-mount (0.8.3) | ||
rack (>= 1.0.0) | ||
rack-ssl (1.3.2) | ||
rack | ||
rack-test (0.6.1) | ||
rack (>= 1.0) | ||
rails (3.1.1) | ||
actionmailer (= 3.1.1) | ||
actionpack (= 3.1.1) | ||
activerecord (= 3.1.1) | ||
activeresource (= 3.1.1) | ||
activesupport (= 3.1.1) | ||
bundler (~> 1.0) | ||
railties (= 3.1.1) | ||
railties (3.1.1) | ||
actionpack (= 3.1.1) | ||
activesupport (= 3.1.1) | ||
rack-ssl (~> 1.3.2) | ||
rake (>= 0.8.7) | ||
rdoc (~> 3.4) | ||
thor (~> 0.14.6) | ||
rake (0.9.2.2) | ||
rdoc (3.11) | ||
json (~> 1.4) | ||
sass (3.1.10) | ||
sass-rails (3.1.4) | ||
actionpack (~> 3.1.0) | ||
railties (~> 3.1.0) | ||
sass (>= 3.1.4) | ||
sprockets (~> 2.0.0) | ||
tilt (~> 1.3.2) | ||
sprockets (2.0.3) | ||
hike (~> 1.2) | ||
rack (~> 1.0) | ||
tilt (~> 1.1, != 1.3.0) | ||
sqlite3 (1.3.4) | ||
thor (0.14.6) | ||
tilt (1.3.3) | ||
treetop (1.4.10) | ||
polyglot | ||
polyglot (>= 0.3.1) | ||
tzinfo (0.3.31) | ||
uglifier (1.0.4) | ||
execjs (>= 0.3.0) | ||
multi_json (>= 1.0.2) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
coffee-rails (~> 3.1.1) | ||
jquery-rails | ||
mercury-rails! | ||
rails (= 3.1.1) | ||
sass-rails (~> 3.1.4) | ||
sqlite3 | ||
uglifier (>= 1.0.3) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
= RailsCasts Example Application | ||
|
||
Run these commands to try it out. | ||
|
||
bundle | ||
rake db:setup | ||
rails s | ||
|
||
Ruby 1.9.2 is required to run this example. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/usr/bin/env rake | ||
# Add your own tasks in files placed in lib/tasks ending in .rake, | ||
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. | ||
|
||
require File.expand_path('../config/application', __FILE__) | ||
|
||
Cms::Application.load_tasks |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// This is a manifest file that'll be compiled into including all the files listed below. | ||
// Add new JavaScript/Coffee code in separate files in this directory and they'll automatically | ||
// be included in the compiled file accessible from http://example.com/assets/application.js | ||
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the | ||
// the compiled file. | ||
// | ||
//= require jquery | ||
//= require jquery_ujs | ||
//= require pages |
Oops, something went wrong.