Permalink
Browse files

Initial commit

  • Loading branch information...
steveklabnik committed Aug 27, 2011
1 parent e561e8d commit 3142f7264113c5f377890f8c488fda03e8892faa
Showing with 1,228 additions and 0 deletions.
  1. +5 −0 .gitignore
  2. +47 −0 .rvmrc
  3. +30 −0 Gemfile
  4. +115 −0 Gemfile.lock
  5. +5 −0 README.md
  6. +7 −0 Rakefile
  7. BIN app/assets/images/rails.png
  8. +9 −0 app/assets/javascripts/application.js
  9. +7 −0 app/assets/stylesheets/application.css
  10. +3 −0 app/controllers/application_controller.rb
  11. +130 −0 app/controllers/application_controller.rbc
  12. +2 −0 app/helpers/application_helper.rb
  13. +54 −0 app/helpers/application_helper.rbc
  14. 0 app/mailers/.gitkeep
  15. 0 app/models/.gitkeep
  16. +14 −0 app/views/layouts/application.html.erb
  17. +4 −0 config.ru
  18. +45 −0 config/application.rb
  19. +6 −0 config/boot.rb
  20. +25 −0 config/database.yml
  21. +5 −0 config/environment.rb
  22. +27 −0 config/environments/development.rb
  23. +51 −0 config/environments/production.rb
  24. +39 −0 config/environments/test.rb
  25. +7 −0 config/initializers/backtrace_silencers.rb
  26. +40 −0 config/initializers/backtrace_silencers.rbc
  27. +10 −0 config/initializers/inflections.rb
  28. +40 −0 config/initializers/inflections.rbc
  29. +5 −0 config/initializers/mime_types.rb
  30. +40 −0 config/initializers/mime_types.rbc
  31. +7 −0 config/initializers/secret_token.rb
  32. +8 −0 config/initializers/session_store.rb
  33. +14 −0 config/initializers/wrap_parameters.rb
  34. +5 −0 config/locales/en.yml
  35. +58 −0 config/routes.rb
  36. +7 −0 db/seeds.rb
  37. +2 −0 doc/README_FOR_APP
  38. 0 lib/assets/.gitkeep
  39. 0 lib/tasks/.gitkeep
  40. 0 log/.gitkeep
  41. +26 −0 public/404.html
  42. +26 −0 public/422.html
  43. +26 −0 public/500.html
  44. 0 public/favicon.ico
  45. +241 −0 public/index.html
  46. +5 −0 public/robots.txt
  47. +6 −0 script/rails
  48. 0 test/fixtures/.gitkeep
  49. 0 test/functional/.gitkeep
  50. 0 test/integration/.gitkeep
  51. +12 −0 test/performance/browsing_test.rb
  52. +13 −0 test/test_helper.rb
  53. 0 test/unit/.gitkeep
  54. 0 vendor/assets/stylesheets/.gitkeep
  55. 0 vendor/plugins/.gitkeep
View
@@ -0,0 +1,5 @@
+.bundle
+db/*.sqlite3
+log/*.log
+tmp/
+.sass-cache/
View
47 .rvmrc
@@ -0,0 +1,47 @@
+#!/usr/bin/env bash
+
+# This is an RVM Project .rvmrc file, used to automatically load the ruby
+# development environment upon cd'ing into the directory
+
+# First we specify our desired <ruby>[@<gemset>], the @gemset name is optional.
+environment_id="ruby-1.9.2-p290@hackety-hack.com"
+
+#
+# Uncomment following line if you want options to be set only for given project.
+#
+# PROJECT_JRUBY_OPTS=( --1.9 )
+
+#
+# First we attempt to load the desired environment directly from the environment
+# file. This is very fast and efficient compared to running through the entire
+# CLI and selector. If you want feedback on which environment was used then
+# insert the word 'use' after --create as this triggers verbose mode.
+#
+if [[ -d "${rvm_path:-$HOME/.rvm}/environments" \
+ && -s "${rvm_path:-$HOME/.rvm}/environments/$environment_id" ]]
+then
+ \. "${rvm_path:-$HOME/.rvm}/environments/$environment_id"
+
+ if [[ -s "${rvm_path:-$HOME/.rvm}/hooks/after_use" ]]
+ then
+ . "${rvm_path:-$HOME/.rvm}/hooks/after_use"
+ fi
+else
+ # If the environment file has not yet been created, use the RVM CLI to select.
+ if ! rvm --create "$environment_id"
+ then
+ echo "Failed to create RVM environment '${environment_id}'."
+ exit 1
+ fi
+fi
+
+#
+# If you use an RVM gemset file to install a list of gems (*.gems), you can have
+# it be automatically loaded. Uncomment the following and adjust the filename if
+# necessary.
+#
+# filename=".gems"
+# if [[ -s "$filename" ]] ; then
+# rvm gemset import "$filename" | grep -v already | grep -v listed | grep -v complete | sed '/^$/d'
+# fi
+
View
30 Gemfile
@@ -0,0 +1,30 @@
+source 'http://rubygems.org'
+
+gem 'rails', '3.1.0.rc6'
+
+# Bundle edge Rails instead:
+# gem 'rails', :git => 'git://github.com/rails/rails.git'
+
+gem 'sqlite3'
+
+gem 'json'
+
+# Gems used only for assets and not required
+# in production environments by default.
+group :assets do
+ gem 'sass-rails', " ~> 3.1.0.rc"
+ gem 'coffee-rails', "~> 3.1.0.rc"
+ gem 'uglifier'
+end
+
+gem 'jquery-rails'
+
+# Use unicorn as the web server
+# gem 'unicorn'
+
+# Deploy with Capistrano
+# gem 'capistrano'
+
+# To use debugger
+# gem 'ruby-debug'
+
View
@@ -0,0 +1,115 @@
+GEM
+ remote: http://rubygems.org/
+ specs:
+ actionmailer (3.1.0.rc6)
+ actionpack (= 3.1.0.rc6)
+ mail (~> 2.3.0)
+ actionpack (3.1.0.rc6)
+ activemodel (= 3.1.0.rc6)
+ activesupport (= 3.1.0.rc6)
+ builder (~> 3.0.0)
+ erubis (~> 2.7.0)
+ i18n (~> 0.6)
+ rack (~> 1.3.2)
+ rack-cache (~> 1.0.2)
+ rack-mount (~> 0.8.1)
+ rack-test (~> 0.6.0)
+ sprockets (~> 2.0.0.beta.12)
+ activemodel (3.1.0.rc6)
+ activesupport (= 3.1.0.rc6)
+ bcrypt-ruby (~> 2.1.4)
+ builder (~> 3.0.0)
+ i18n (~> 0.6)
+ activerecord (3.1.0.rc6)
+ activemodel (= 3.1.0.rc6)
+ activesupport (= 3.1.0.rc6)
+ arel (~> 2.2.1)
+ tzinfo (~> 0.3.29)
+ activeresource (3.1.0.rc6)
+ activemodel (= 3.1.0.rc6)
+ activesupport (= 3.1.0.rc6)
+ activesupport (3.1.0.rc6)
+ multi_json (~> 1.0)
+ arel (2.2.1)
+ bcrypt-ruby (2.1.4)
+ builder (3.0.0)
+ coffee-rails (3.1.0.rc.6)
+ coffee-script (>= 2.2.0)
+ railties (~> 3.1.0.rc1)
+ coffee-script (2.2.0)
+ coffee-script-source
+ execjs
+ coffee-script-source (1.1.2)
+ erubis (2.7.0)
+ execjs (1.2.4)
+ multi_json (~> 1.0)
+ hike (1.2.1)
+ i18n (0.6.0)
+ jquery-rails (1.0.13)
+ railties (~> 3.0)
+ thor (~> 0.14)
+ json (1.5.3)
+ mail (2.3.0)
+ i18n (>= 0.4.0)
+ mime-types (~> 1.16)
+ treetop (~> 1.4.8)
+ mime-types (1.16)
+ multi_json (1.0.3)
+ polyglot (0.3.2)
+ rack (1.3.2)
+ rack-cache (1.0.2)
+ rack (>= 0.4)
+ rack-mount (0.8.2)
+ rack (>= 1.0.0)
+ rack-ssl (1.3.2)
+ rack
+ rack-test (0.6.1)
+ rack (>= 1.0)
+ rails (3.1.0.rc6)
+ actionmailer (= 3.1.0.rc6)
+ actionpack (= 3.1.0.rc6)
+ activerecord (= 3.1.0.rc6)
+ activeresource (= 3.1.0.rc6)
+ activesupport (= 3.1.0.rc6)
+ bundler (~> 1.0)
+ railties (= 3.1.0.rc6)
+ railties (3.1.0.rc6)
+ actionpack (= 3.1.0.rc6)
+ activesupport (= 3.1.0.rc6)
+ rack-ssl (~> 1.3.2)
+ rake (>= 0.8.7)
+ rdoc (~> 3.4)
+ thor (~> 0.14.6)
+ rake (0.9.2)
+ rdoc (3.9.4)
+ sass (3.1.7)
+ sass-rails (3.1.0.rc.6)
+ actionpack (~> 3.1.0.rc6)
+ railties (~> 3.1.0.rc6)
+ sass (>= 3.1.4)
+ sprockets (2.0.0.beta.15)
+ 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.29)
+ uglifier (1.0.1)
+ execjs (>= 0.3.0)
+ multi_json (>= 1.0.2)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ coffee-rails (~> 3.1.0.rc)
+ jquery-rails
+ json
+ rails (= 3.1.0.rc6)
+ sass-rails (~> 3.1.0.rc)
+ sqlite3
+ uglifier
View
@@ -0,0 +1,5 @@
+# hackety-hack.com
+
+This is the source code for hackety-hack.com.
+
+At the moment, we're re-building it for Rails 3. So there's not a lot of docs. Sorry about that!
View
@@ -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__)
+
+HacketyHackCom::Application.load_tasks
View
Binary file not shown.
@@ -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_tree .
@@ -0,0 +1,7 @@
+/*
+ * This is a manifest file that'll automatically include all the stylesheets available in this directory
+ * and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
+ * the top of the compiled file, but it's generally better to create a new file per style scope.
+ *= require_self
+ *= require_tree .
+*/
@@ -0,0 +1,3 @@
+class ApplicationController < ActionController::Base
+ protect_from_forgery
+end
@@ -0,0 +1,130 @@
+!RBIX
+16846133056282117387
+x
+M
+1
+n
+n
+x
+10
+__script__
+i
+33
+99
+7
+0
+45
+1
+2
+43
+3
+65
+49
+4
+3
+13
+99
+12
+7
+5
+12
+7
+6
+12
+65
+12
+49
+7
+4
+15
+49
+5
+0
+15
+2
+11
+I
+6
+I
+0
+I
+0
+I
+0
+n
+p
+8
+x
+21
+ApplicationController
+x
+16
+ActionController
+n
+x
+4
+Base
+x
+10
+open_class
+x
+14
+__class_init__
+M
+1
+n
+n
+x
+21
+ApplicationController
+i
+6
+5
+66
+5
+48
+0
+11
+I
+1
+I
+0
+I
+0
+I
+0
+n
+p
+1
+x
+20
+protect_from_forgery
+p
+3
+I
+2
+I
+2
+I
+6
+x
+147
+/Users/steveklabnik/.rvm/gems/rbx-master/gems/railties-3.1.0.rc6/lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb
+p
+0
+x
+13
+attach_method
+p
+3
+I
+0
+I
+1
+I
+21
+x
+147
+/Users/steveklabnik/.rvm/gems/rbx-master/gems/railties-3.1.0.rc6/lib/rails/generators/rails/app/templates/app/controllers/application_controller.rb
+p
+0
@@ -0,0 +1,2 @@
+module ApplicationHelper
+end
Oops, something went wrong.

0 comments on commit 3142f72

Please sign in to comment.