Permalink
Browse files

Store theme files and other generated assets in source for Heroku dep…

…loyment
  • Loading branch information...
rwdaigle committed Dec 20, 2011
1 parent 0535b5f commit c3bd4fef3eccd27e064da02d0844f661e761a5a4
Showing with 3,665 additions and 24 deletions.
  1. +1 −5 .gitignore
  2. +1 −0 .rvmrc
  3. +16 −0 Gemfile
  4. +52 −0 Gemfile.lock
  5. +7 −7 config/environments/development.rb
  6. +14 −0 config/initializers/session_store.rb
  7. +3 −12 db/schema.rb
  8. BIN export.20111220.dump
  9. +5 −0 public/plugin_assets/README
  10. +30 −0 public/plugin_assets/filtered_column_code_macro/default_codemacro.css
  11. +125 −0 public/plugin_assets/filtered_column_code_macro/default_coderay.css
  12. +5 −0 themes/development/site-1/scribbish-mephisto/about.yml
  13. BIN themes/development/site-1/scribbish-mephisto/images/background.gif
  14. BIN themes/development/site-1/scribbish-mephisto/images/gravatar.gif
  15. BIN themes/development/site-1/scribbish-mephisto/images/header_shadow.gif
  16. BIN themes/development/site-1/scribbish-mephisto/images/logomark_bw_sm.png
  17. BIN themes/development/site-1/scribbish-mephisto/images/logomark_colored_lg.png
  18. BIN themes/development/site-1/scribbish-mephisto/images/mephisto-badge-tiny.png
  19. BIN themes/development/site-1/scribbish-mephisto/images/twitter.jpg
  20. BIN themes/development/site-1/scribbish-mephisto/images/wwr.png
  21. +2,264 −0 themes/development/site-1/scribbish-mephisto/javascripts/prototype.js
  22. +90 −0 themes/development/site-1/scribbish-mephisto/javascripts/scribbish.js
  23. +207 −0 themes/development/site-1/scribbish-mephisto/layouts/layout.liquid
  24. BIN themes/development/site-1/scribbish-mephisto/preview.png
  25. +38 −0 themes/development/site-1/scribbish-mephisto/stylesheets/application.css
  26. +105 −0 themes/development/site-1/scribbish-mephisto/stylesheets/coderay.css
  27. +105 −0 themes/development/site-1/scribbish-mephisto/stylesheets/coderay.css.jamisbuck
  28. +347 −0 themes/development/site-1/scribbish-mephisto/stylesheets/content.css
  29. +47 −0 themes/development/site-1/scribbish-mephisto/stylesheets/layout.css
  30. +40 −0 themes/development/site-1/scribbish-mephisto/stylesheets/local.css
  31. +17 −0 themes/development/site-1/scribbish-mephisto/templates/_article.liquid
  32. +22 −0 themes/development/site-1/scribbish-mephisto/templates/_article_ads.liquid
  33. +8 −0 themes/development/site-1/scribbish-mephisto/templates/_article_author.liquid
  34. +43 −0 themes/development/site-1/scribbish-mephisto/templates/_article_comments.liquid
  35. +8 −0 themes/development/site-1/scribbish-mephisto/templates/_article_content.liquid
  36. +20 −0 themes/development/site-1/scribbish-mephisto/templates/_article_meta.liquid
  37. +15 −0 themes/development/site-1/scribbish-mephisto/templates/_article_rdf.liquid
  38. +1 −0 themes/development/site-1/scribbish-mephisto/templates/archive.liquid
  39. +7 −0 themes/development/site-1/scribbish-mephisto/templates/bare.liquid
  40. +4 −0 themes/development/site-1/scribbish-mephisto/templates/error.liquid
  41. +1 −0 themes/development/site-1/scribbish-mephisto/templates/home.liquid
  42. +10 −0 themes/development/site-1/scribbish-mephisto/templates/search.liquid
  43. +1 −0 themes/development/site-1/scribbish-mephisto/templates/section.liquid
  44. +5 −0 themes/development/site-1/scribbish-mephisto/templates/single.liquid
  45. +1 −0 themes/development/site-1/scribbish-mephisto/templates/tag.liquid
View
@@ -3,12 +3,8 @@
Capfile
config/database.yml
config/deploy.rb
-config/initializers/session_store.rb
db/*.sqlite3
log/*.log
-public/assets
public/cache
-public/plugin_assets
tmp
-themes
-*~
+*~
View
1 .rvmrc
@@ -0,0 +1 @@
+rvm use ree-1.8.7-2010.02@ryandaigle.com --create
View
16 Gemfile
@@ -0,0 +1,16 @@
+source "http://rubygems.org"
+
+gem "rails", "2.2.2"
+gem 'RedCloth', '3.0.4', :require => 'redcloth'
+gem 'BlueCloth', '>= 1.0.0', :require => 'bluecloth'
+gem 'rubyzip', '>= 0.9.1', :require => 'zip/zipfilesystem'
+gem 'liquid', '~> 1.9.0'
+gem 'will_paginate', '>= 2.2.2'
+gem 'mocha', '>= 0.9.3'
+gem 'coderay', '>= 0.8.260'
+gem 'tzinfo', '>= 0.3.12'
+gem 'safe_erb','>= 0.1.2', :require => 'safe_erb', :git => 'https://github.com/emk/safe_erb.git'
+
+group :development, :test do
+# gem 'brynary-webrat', '>= 0.3.2.2'
+end
View
@@ -0,0 +1,52 @@
+GIT
+ remote: https://github.com/emk/safe_erb.git
+ revision: 59327ee8a18bbaa26c613aac5c6f1d9575aa6202
+ specs:
+ safe_erb (0.1.2)
+
+GEM
+ remote: http://rubygems.org/
+ specs:
+ BlueCloth (1.0.1)
+ RedCloth (3.0.4)
+ actionmailer (2.2.2)
+ actionpack (= 2.2.2)
+ actionpack (2.2.2)
+ activesupport (= 2.2.2)
+ activerecord (2.2.2)
+ activesupport (= 2.2.2)
+ activeresource (2.2.2)
+ activesupport (= 2.2.2)
+ activesupport (2.2.2)
+ coderay (0.9.7)
+ hoe (2.12.5)
+ rake (~> 0.8)
+ liquid (1.9.0)
+ hoe (>= 1.5.1)
+ mocha (0.9.12)
+ rails (2.2.2)
+ actionmailer (= 2.2.2)
+ actionpack (= 2.2.2)
+ activerecord (= 2.2.2)
+ activeresource (= 2.2.2)
+ activesupport (= 2.2.2)
+ rake (>= 0.8.3)
+ rake (0.8.7)
+ rubyzip (0.9.4)
+ tzinfo (0.3.26)
+ will_paginate (2.3.15)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ BlueCloth (>= 1.0.0)
+ RedCloth (= 3.0.4)
+ coderay (>= 0.8.260)
+ liquid (~> 1.9.0)
+ mocha (>= 0.9.3)
+ rails (= 2.2.2)
+ rubyzip (>= 0.9.1)
+ safe_erb (>= 0.1.2)!
+ tzinfo (>= 0.3.12)
+ will_paginate (>= 2.2.2)
@@ -20,10 +20,10 @@
# gems:install' from the development environment than from the test
# environment, and (2) anyone doing Mephisto development should _really_ be
# running the tests anyway.
-config.gem 'ruby-debug'
-config.gem 'faker', :version => '>= 0.3.1'
-config.gem 'notahat-machinist', :version => '>= 0.1.2', :lib => 'machinist',
- :source => 'http://gems.github.com'
-config.gem 'nokogiri', :version => '>= 1.1.0' # Used by webrat.
-config.gem 'brynary-webrat', :version => '>= 0.3.2.2', :lib => 'webrat',
- :source => 'http://gems.github.com'
+# config.gem 'ruby-debug'
+# config.gem 'faker', :version => '>= 0.3.1'
+# config.gem 'notahat-machinist', :version => '>= 0.1.2', :lib => 'machinist',
+# :source => 'http://gems.github.com'
+# config.gem 'nokogiri', :version => '>= 1.1.0' # Used by webrat.
+# config.gem 'brynary-webrat', :version => '>= 0.3.2.2', :lib => 'webrat',
+# :source => 'http://gems.github.com'
@@ -0,0 +1,14 @@
+# This file was generated by 'rake config/initializers/session_store.rb',
+# and should not be made visible to public. Do not check it into github!
+# If you have a load-balancing Mephisto cluster, you will need to use the
+# same version of this file on each machine. And be sure to restart your
+# server when you modify this file.
+
+# Your secret key for verifying cookie session data integrity. If you
+# change this key, all old sessions will become invalid! Make sure the
+# secret is at least 30 characters and all random, no regular words or
+# you'll be exposed to dictionary attacks.
+ActionController::Base.session = {
+ :session_key => '_mephisto_session_2',
+ :secret => 'e3554211809f09796910e563721bca0b9aa478a8cea06043b9f42624c857c66a41e19a05cc6b82b9'
+}
View
@@ -110,7 +110,7 @@
t.integer "assets_count", :default => 0
end
- add_index "contents", ["article_id", "approved", "type"], :name => "idx_comments"
+ add_index "contents", ["approved", "article_id", "type"], :name => "idx_comments"
add_index "contents", ["published_at"], :name => "idx_articles_published"
create_table "events", :force => true do |t|
@@ -125,15 +125,6 @@
t.integer "site_id"
end
- create_table "feedbacks", :force => true do |t|
- t.integer "site_id"
- t.string "name"
- t.string "email"
- t.text "body"
- t.string "key"
- t.datetime "created_at"
- end
-
create_table "memberships", :force => true do |t|
t.integer "site_id"
t.integer "user_id"
@@ -168,6 +159,8 @@
t.text "ping_urls"
t.integer "articles_per_page", :default => 15
t.string "host"
+ t.string "akismet_key", :limit => 100
+ t.string "akismet_url"
t.boolean "approve_comments"
t.integer "comment_age"
t.string "timezone"
@@ -177,8 +170,6 @@
t.string "tag_path"
t.string "tag_layout"
t.string "current_theme_path"
- t.string "akismet_key", :limit => 100
- t.string "akismet_url"
t.string "lang", :default => "en-US", :null => false
end
View
Binary file not shown.
@@ -0,0 +1,5 @@
+Files in this directory are automatically generated from your plugins.
+They are copied from the 'assets' directories of each plugin into this directory
+each time Rails starts (script/server, script/console... and so on).
+Any edits you make will NOT persist across the next server restart; instead you
+should edit the files within the <plugin_name>/assets/ directory itself.
@@ -0,0 +1,30 @@
+/*
+ CSS for <macro:code lang="ruby">
+
+ This css will provide horizontally scrolling code listings. This means
+ that the code listings will no longer have to have a fixed width. It
+ can now dynamically flow with the width of your layout. It is a bit
+ touchy on IE6 due to a bug when trying to mix a <div> styled with
+ overflow:auto with a nested <table>.
+*/
+
+div.CodeMacro {
+ width: 100%; /* required for IE6 horizontal scroll */
+ overflow-x: auto;
+ border: 1px solid silver;
+ margin-bottom: 15px;
+ margin-top: 15px;
+}
+
+div.CodeMacro .CodeRay {
+ border-style: none;
+ padding: 0;
+}
+
+div.CodeMacro table.CodeRay {
+ display: inline-block; /* required for IE6 horizontal scroll */
+}
+
+div.CodeMacro table.CodeRay tbody {
+ background-color: #f8f8f8; /* fix background to fill width of code */
+}
@@ -0,0 +1,125 @@
+.CodeRay {
+ background-color: #f8f8f8;
+ border: 1px solid silver;
+ font-family: 'Courier New', 'Terminal', monospace;
+ color: #100;
+}
+.CodeRay pre { margin: 0px }
+
+div.CodeRay { }
+
+span.CodeRay { white-space: pre; border: 0px; padding: 2px }
+
+table.CodeRay { border-collapse: collapse; width: 100%; padding: 2px }
+table.CodeRay td { padding: 2px 4px; vertical-align: top }
+
+.CodeRay .line_numbers, .CodeRay .no {
+ background-color: #def;
+ color: gray;
+ text-align: right;
+}
+.CodeRay .line_numbers tt { font-weight: bold }
+.CodeRay .no { padding: 0px 4px }
+.CodeRay .code { width: 100% }
+
+ol.CodeRay { font-size: 10pt }
+ol.CodeRay li { white-space: pre }
+
+.CodeRay .code pre { overflow: auto }
+
+.CodeRay .debug { color:white ! important; background:blue ! important; }
+
+.CodeRay .af { color:#00C }
+.CodeRay .an { color:#007 }
+.CodeRay .at { color:#f08 }
+.CodeRay .av { color:#700 }
+.CodeRay .aw { color:#C00 }
+.CodeRay .bi { color:#509; font-weight:bold }
+.CodeRay .c { color:#666; }
+
+.CodeRay .ch { color:#04D }
+.CodeRay .ch .k { color:#04D }
+.CodeRay .ch .dl { color:#039 }
+
+.CodeRay .cl { color:#B06; font-weight:bold }
+.CodeRay .co { color:#036; font-weight:bold }
+.CodeRay .cr { color:#0A0 }
+.CodeRay .cv { color:#369 }
+.CodeRay .df { color:#099; font-weight:bold }
+.CodeRay .di { color:#088; font-weight:bold }
+.CodeRay .dl { color:black }
+.CodeRay .do { color:#970 }
+.CodeRay .ds { color:#D42; font-weight:bold }
+.CodeRay .e { color:#666; font-weight:bold }
+.CodeRay .en { color:#800; font-weight:bold }
+.CodeRay .er { color:#F00; background-color:#FAA }
+.CodeRay .ex { color:#F00; font-weight:bold }
+.CodeRay .fl { color:#60E; font-weight:bold }
+.CodeRay .fu { color:#06B; font-weight:bold }
+.CodeRay .gv { color:#d70; font-weight:bold }
+.CodeRay .hx { color:#058; font-weight:bold }
+.CodeRay .i { color:#00D; font-weight:bold }
+.CodeRay .ic { color:#B44; font-weight:bold }
+
+.CodeRay .il { background: #eee }
+.CodeRay .il .il { background: #ddd }
+.CodeRay .il .il .il { background: #ccc }
+.CodeRay .il .idl { font-weight: bold; color: #888 }
+
+.CodeRay .im { color:#f00; }
+.CodeRay .in { color:#B2B; font-weight:bold }
+.CodeRay .iv { color:#33B }
+.CodeRay .la { color:#970; font-weight:bold }
+.CodeRay .lv { color:#963 }
+.CodeRay .oc { color:#40E; font-weight:bold }
+.CodeRay .of { color:#000; font-weight:bold }
+.CodeRay .op { }
+.CodeRay .pc { color:#038; font-weight:bold }
+.CodeRay .pd { color:#369; font-weight:bold }
+.CodeRay .pp { color:#579; }
+.CodeRay .ps { color:#00C; font-weight: bold; }
+.CodeRay .pt { color:#339; font-weight:bold }
+.CodeRay .r, .kw { color:#080; font-weight:bold }
+
+.CodeRay .ke { color: #808; }
+.CodeRay .ke .dl { color: #606; }
+.CodeRay .ke .ch { color: #80f; }
+.CodeRay .vl { color: #088; }
+
+.CodeRay .rx { background-color:#fff0ff }
+.CodeRay .rx .k { color:#808 }
+.CodeRay .rx .dl { color:#404 }
+.CodeRay .rx .mod { color:#C2C }
+.CodeRay .rx .fu { color:#404; font-weight: bold }
+
+.CodeRay .s { background-color:#fff0f0 }
+.CodeRay .s .s { background-color:#ffe0e0 }
+.CodeRay .s .s .s { background-color:#ffd0d0 }
+.CodeRay .s .k { color: #D20; }
+.CodeRay .s .ch { color: #b0b; }
+.CodeRay .s .dl { color: #710; }
+
+.CodeRay .sh { background-color:#f0fff0 }
+.CodeRay .sh .k { color:#2B2 }
+.CodeRay .sh .dl { color:#161 }
+
+.CodeRay .sy { color:#A60 }
+.CodeRay .sy .k { color:#A60 }
+.CodeRay .sy .dl { color:#630 }
+
+.CodeRay .ta { color:#070 }
+.CodeRay .tf { color:#070; font-weight:bold }
+.CodeRay .ts { color:#D70; font-weight:bold }
+.CodeRay .ty { color:#339; font-weight:bold }
+.CodeRay .v { color:#036 }
+.CodeRay .xt { color:#444 }
+
+.CodeRay .ins { background: #afa; }
+.CodeRay .del { background: #faa; }
+.CodeRay .chg { color: #aaf; background: #007; }
+.CodeRay .head { color: #f8f; background: #505 }
+
+.CodeRay .ins .ins { color: #080; font-weight:bold }
+.CodeRay .del .del { color: #800; font-weight:bold }
+.CodeRay .chg .chg { color: #66f; }
+.CodeRay .head .head { color: #f4f; }
@@ -0,0 +1,5 @@
+title: Scribbish
+author: packagethief
+version: 2.0
+homepage: http://quotedprintable.com/pages/scribbish
+summary: Scribbish is a Typo, Mephisto, and Wordpress theme, and a good starting point for new new themes. Its layout standardizes on a simple xhtml structure, blog entries are formatted using the hAtom microformat specification, and styles are separated into individual files which are included in the correct order, making it easier to control the cascade and to figure out 'what-goes-where'. Use it as-is, or copy it to make new themes.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.

0 comments on commit c3bd4fe

Please sign in to comment.