Commit faf12f6bbf557fec9024ba3b3a500be207c6068d

Authored by Dan Croak
1 parent 362115a0

Revert "New Heroku Suspenders app"

This reverts commit 362115a0f14cf8963f756636bbba5b042ecbb12f.
app/views/layouts/application.html.erb
@@ -3,8 +3,8 @@ @@ -3,8 +3,8 @@
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> 3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4 <head> 4 <head>
5 <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> 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 </head> 8 </head>
9 <body class="<%= body_class %>"> 9 <body class="<%= body_class %>">
10 <div class="content"> 10 <div class="content">
config/environment.rb
1 # Be sure to restart your server when you modify this file 1 # Be sure to restart your server when you modify this file
2 2
3 # Specifies gem version of Rails to use when vendor/rails is not present 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 # Bootstrap the Rails environment, frameworks, and default configuration 6 # Bootstrap the Rails environment, frameworks, and default configuration
7 require File.join(File.dirname(__FILE__), 'boot') 7 require File.join(File.dirname(__FILE__), 'boot')
config/environments/production.rb
@@ -22,5 +22,5 @@ config.gem &quot;rubaidh-google_analytics&quot;, @@ -22,5 +22,5 @@ config.gem &quot;rubaidh-google_analytics&quot;,
22 :version => "1.1.4", 22 :version => "1.1.4",
23 :source => "http://gems.github.com" 23 :source => "http://gems.github.com"
24 24
25 -HOST = "oct_blog.heroku.com" 25 +HOST = "CHANGEME.heroku.com"
26 26
config/environments/staging.rb
@@ -11,5 +11,5 @@ config.action_controller.perform_caching = true @@ -11,5 +11,5 @@ config.action_controller.perform_caching = true
11 # Disable delivery errors if you bad email addresses should just be ignored 11 # Disable delivery errors if you bad email addresses should just be ignored
12 config.action_mailer.raise_delivery_errors = false 12 config.action_mailer.raise_delivery_errors = false
13 13
14 -HOST = "oct_blog.heroku.com" 14 +HOST = "CHANGEME.heroku.com"
15 15
config/initializers/session_store.rb
@@ -5,8 +5,8 @@ @@ -5,8 +5,8 @@
5 # Make sure the secret is at least 30 characters and all random, 5 # Make sure the secret is at least 30 characters and all random,
6 # no regular words or you'll be exposed to dictionary attacks. 6 # no regular words or you'll be exposed to dictionary attacks.
7 ActionController::Base.session = { 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 # Use the database for sessions instead of the cookie-based default, 12 # Use the database for sessions instead of the cookie-based default,
public/stylesheets/oct_blog.css
@@ -1,40 +0,0 @@ @@ -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 -  
public/stylesheets/screen.css 0 → 100644
@@ -0,0 +1,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,9 +14,9 @@ project_directory = base_directory + project_name
14 fail("Project directory (#{project_directory}) already exists") if project_directory.exist? 14 fail("Project directory (#{project_directory}) already exists") if project_directory.exist?
15 15
16 template_url = "git://github.com/dancroak/heroku_suspenders.git" 16 template_url = "git://github.com/dancroak/heroku_suspenders.git"
17 -changeme = "oct_blog" 17 +changeme = "CHANGEME"
18 changesession = "CHANGESESSION" 18 changesession = "CHANGESESSION"
19 -changetitle = "Oct Blog" 19 +changetitle = "CHANGETITLE"
20 20
21 def run(cmd) 21 def run(cmd)
22 puts "Running '#{cmd}'" 22 puts "Running '#{cmd}'"