Commit faf12f6bbf557fec9024ba3b3a500be207c6068d
1 parent
362115a0
Exists in
master
and in
1 other branch
Revert "New Heroku Suspenders app"
This reverts commit 362115a0f14cf8963f756636bbba5b042ecbb12f.
Showing
8 changed files
with
49 additions
and
49 deletions
Show diff stats
app/views/layouts/application.html.erb
... | ... | @@ -3,8 +3,8 @@ |
3 | 3 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
4 | 4 | <head> |
5 | 5 | <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> |
6 | - <title>Oct Blog</title> | |
7 | - <%= stylesheet_link_tag :flutie, 'oct_blog', :cache => true %> | |
6 | + <title>CHANGETITLE</title> | |
7 | + <%= stylesheet_link_tag :flutie, 'CHANGEME', :cache => true %> | |
8 | 8 | </head> |
9 | 9 | <body class="<%= body_class %>"> |
10 | 10 | <div class="content"> | ... | ... |
config/environment.rb
1 | 1 | # Be sure to restart your server when you modify this file |
2 | 2 | |
3 | 3 | # Specifies gem version of Rails to use when vendor/rails is not present |
4 | -RAILS_GEM_VERSION = '2.3.4' unless defined? RAILS_GEM_VERSION | |
4 | +RAILS_GEM_VERSION = '2.3.3' unless defined? RAILS_GEM_VERSION | |
5 | 5 | |
6 | 6 | # Bootstrap the Rails environment, frameworks, and default configuration |
7 | 7 | require File.join(File.dirname(__FILE__), 'boot') | ... | ... |
config/environments/production.rb
config/environments/staging.rb
config/initializers/session_store.rb
... | ... | @@ -5,8 +5,8 @@ |
5 | 5 | # Make sure the secret is at least 30 characters and all random, |
6 | 6 | # no regular words or you'll be exposed to dictionary attacks. |
7 | 7 | ActionController::Base.session = { |
8 | - :session_key => "_oct_blog_session", | |
9 | - :secret => "90dfe6c47d4bd8fd80e450d591f92a58" | |
8 | + :session_key => "_CHANGEME_session", | |
9 | + :secret => "CHANGESESSION" | |
10 | 10 | } |
11 | 11 | |
12 | 12 | # Use the database for sessions instead of the cookie-based default, | ... | ... |
public/stylesheets/oct_blog.css
... | ... | @@ -1,40 +0,0 @@ |
1 | -body { | |
2 | - background-color: #dadada; } | |
3 | - | |
4 | -.content { | |
5 | - background: #fff; | |
6 | - padding: 40px; | |
7 | - margin: 40px auto; | |
8 | - width: 880px; | |
9 | - -moz-border-radius: 24px; | |
10 | - -webkit-border-radius: 24px; } | |
11 | - | |
12 | -/* flash color */ | |
13 | - | |
14 | -#flash_success { | |
15 | - background: seagreen; } | |
16 | -#flash_failure { | |
17 | - color: beige; | |
18 | - background: firebrick; } | |
19 | -#flash_notice { | |
20 | - color: snow; | |
21 | - background: dimgray; } | |
22 | - | |
23 | -/* flashes spacing */ | |
24 | - | |
25 | -#flash { | |
26 | - margin-bottom: 0.6em; } | |
27 | - | |
28 | -#flash_notice, #flash_success, #flash_failure, #errorExplanation ul li { | |
29 | - padding: 0.6em; } | |
30 | - | |
31 | -/* flash scale */ | |
32 | - | |
33 | -#flash_notice, #flash_success, #flash_failure, #errorExplanation ul li { | |
34 | - font-size: 1.6em; } | |
35 | - | |
36 | -/* flash weighting */ | |
37 | - | |
38 | -#flash_notice, #flash_success, #flash_failure, #errorExplanation ul li { | |
39 | - font-weight: bold; } | |
40 | - |
... | ... | @@ -0,0 +1,40 @@ |
1 | +body { | |
2 | + background-color: #dadada; } | |
3 | + | |
4 | +.content { | |
5 | + background: #fff; | |
6 | + padding: 40px; | |
7 | + margin: 40px auto; | |
8 | + width: 880px; | |
9 | + -moz-border-radius: 24px; | |
10 | + -webkit-border-radius: 24px; } | |
11 | + | |
12 | +/* flash color */ | |
13 | + | |
14 | +#flash_success { | |
15 | + background: seagreen; } | |
16 | +#flash_failure { | |
17 | + color: beige; | |
18 | + background: firebrick; } | |
19 | +#flash_notice { | |
20 | + color: snow; | |
21 | + background: dimgray; } | |
22 | + | |
23 | +/* flashes spacing */ | |
24 | + | |
25 | +#flash { | |
26 | + margin-bottom: 0.6em; } | |
27 | + | |
28 | +#flash_notice, #flash_success, #flash_failure, #errorExplanation ul li { | |
29 | + padding: 0.6em; } | |
30 | + | |
31 | +/* flash scale */ | |
32 | + | |
33 | +#flash_notice, #flash_success, #flash_failure, #errorExplanation ul li { | |
34 | + font-size: 1.6em; } | |
35 | + | |
36 | +/* flash weighting */ | |
37 | + | |
38 | +#flash_notice, #flash_success, #flash_failure, #errorExplanation ul li { | |
39 | + font-weight: bold; } | |
40 | + | ... | ... |
script/create_project
... | ... | @@ -14,9 +14,9 @@ project_directory = base_directory + project_name |
14 | 14 | fail("Project directory (#{project_directory}) already exists") if project_directory.exist? |
15 | 15 | |
16 | 16 | template_url = "git://github.com/dancroak/heroku_suspenders.git" |
17 | -changeme = "oct_blog" | |
17 | +changeme = "CHANGEME" | |
18 | 18 | changesession = "CHANGESESSION" |
19 | -changetitle = "Oct Blog" | |
19 | +changetitle = "CHANGETITLE" | |
20 | 20 | |
21 | 21 | def run(cmd) |
22 | 22 | puts "Running '#{cmd}'" | ... | ... |