Skip to content

Commit 3142f72

Browse files
committed
Initial commit
1 parent e561e8d commit 3142f72

55 files changed

Lines changed: 1228 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.bundle
2+
db/*.sqlite3
3+
log/*.log
4+
tmp/
5+
.sass-cache/

.rvmrc

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
#!/usr/bin/env bash
2+
3+
# This is an RVM Project .rvmrc file, used to automatically load the ruby
4+
# development environment upon cd'ing into the directory
5+
6+
# First we specify our desired <ruby>[@<gemset>], the @gemset name is optional.
7+
environment_id="ruby-1.9.2-p290@hackety-hack.com"
8+
9+
#
10+
# Uncomment following line if you want options to be set only for given project.
11+
#
12+
# PROJECT_JRUBY_OPTS=( --1.9 )
13+
14+
#
15+
# First we attempt to load the desired environment directly from the environment
16+
# file. This is very fast and efficient compared to running through the entire
17+
# CLI and selector. If you want feedback on which environment was used then
18+
# insert the word 'use' after --create as this triggers verbose mode.
19+
#
20+
if [[ -d "${rvm_path:-$HOME/.rvm}/environments" \
21+
&& -s "${rvm_path:-$HOME/.rvm}/environments/$environment_id" ]]
22+
then
23+
\. "${rvm_path:-$HOME/.rvm}/environments/$environment_id"
24+
25+
if [[ -s "${rvm_path:-$HOME/.rvm}/hooks/after_use" ]]
26+
then
27+
. "${rvm_path:-$HOME/.rvm}/hooks/after_use"
28+
fi
29+
else
30+
# If the environment file has not yet been created, use the RVM CLI to select.
31+
if ! rvm --create "$environment_id"
32+
then
33+
echo "Failed to create RVM environment '${environment_id}'."
34+
exit 1
35+
fi
36+
fi
37+
38+
#
39+
# If you use an RVM gemset file to install a list of gems (*.gems), you can have
40+
# it be automatically loaded. Uncomment the following and adjust the filename if
41+
# necessary.
42+
#
43+
# filename=".gems"
44+
# if [[ -s "$filename" ]] ; then
45+
# rvm gemset import "$filename" | grep -v already | grep -v listed | grep -v complete | sed '/^$/d'
46+
# fi
47+

Gemfile

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
source 'http://rubygems.org'
2+
3+
gem 'rails', '3.1.0.rc6'
4+
5+
# Bundle edge Rails instead:
6+
# gem 'rails', :git => 'git://github.com/rails/rails.git'
7+
8+
gem 'sqlite3'
9+
10+
gem 'json'
11+
12+
# Gems used only for assets and not required
13+
# in production environments by default.
14+
group :assets do
15+
gem 'sass-rails', " ~> 3.1.0.rc"
16+
gem 'coffee-rails', "~> 3.1.0.rc"
17+
gem 'uglifier'
18+
end
19+
20+
gem 'jquery-rails'
21+
22+
# Use unicorn as the web server
23+
# gem 'unicorn'
24+
25+
# Deploy with Capistrano
26+
# gem 'capistrano'
27+
28+
# To use debugger
29+
# gem 'ruby-debug'
30+

Gemfile.lock

Lines changed: 115 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
GEM
2+
remote: http://rubygems.org/
3+
specs:
4+
actionmailer (3.1.0.rc6)
5+
actionpack (= 3.1.0.rc6)
6+
mail (~> 2.3.0)
7+
actionpack (3.1.0.rc6)
8+
activemodel (= 3.1.0.rc6)
9+
activesupport (= 3.1.0.rc6)
10+
builder (~> 3.0.0)
11+
erubis (~> 2.7.0)
12+
i18n (~> 0.6)
13+
rack (~> 1.3.2)
14+
rack-cache (~> 1.0.2)
15+
rack-mount (~> 0.8.1)
16+
rack-test (~> 0.6.0)
17+
sprockets (~> 2.0.0.beta.12)
18+
activemodel (3.1.0.rc6)
19+
activesupport (= 3.1.0.rc6)
20+
bcrypt-ruby (~> 2.1.4)
21+
builder (~> 3.0.0)
22+
i18n (~> 0.6)
23+
activerecord (3.1.0.rc6)
24+
activemodel (= 3.1.0.rc6)
25+
activesupport (= 3.1.0.rc6)
26+
arel (~> 2.2.1)
27+
tzinfo (~> 0.3.29)
28+
activeresource (3.1.0.rc6)
29+
activemodel (= 3.1.0.rc6)
30+
activesupport (= 3.1.0.rc6)
31+
activesupport (3.1.0.rc6)
32+
multi_json (~> 1.0)
33+
arel (2.2.1)
34+
bcrypt-ruby (2.1.4)
35+
builder (3.0.0)
36+
coffee-rails (3.1.0.rc.6)
37+
coffee-script (>= 2.2.0)
38+
railties (~> 3.1.0.rc1)
39+
coffee-script (2.2.0)
40+
coffee-script-source
41+
execjs
42+
coffee-script-source (1.1.2)
43+
erubis (2.7.0)
44+
execjs (1.2.4)
45+
multi_json (~> 1.0)
46+
hike (1.2.1)
47+
i18n (0.6.0)
48+
jquery-rails (1.0.13)
49+
railties (~> 3.0)
50+
thor (~> 0.14)
51+
json (1.5.3)
52+
mail (2.3.0)
53+
i18n (>= 0.4.0)
54+
mime-types (~> 1.16)
55+
treetop (~> 1.4.8)
56+
mime-types (1.16)
57+
multi_json (1.0.3)
58+
polyglot (0.3.2)
59+
rack (1.3.2)
60+
rack-cache (1.0.2)
61+
rack (>= 0.4)
62+
rack-mount (0.8.2)
63+
rack (>= 1.0.0)
64+
rack-ssl (1.3.2)
65+
rack
66+
rack-test (0.6.1)
67+
rack (>= 1.0)
68+
rails (3.1.0.rc6)
69+
actionmailer (= 3.1.0.rc6)
70+
actionpack (= 3.1.0.rc6)
71+
activerecord (= 3.1.0.rc6)
72+
activeresource (= 3.1.0.rc6)
73+
activesupport (= 3.1.0.rc6)
74+
bundler (~> 1.0)
75+
railties (= 3.1.0.rc6)
76+
railties (3.1.0.rc6)
77+
actionpack (= 3.1.0.rc6)
78+
activesupport (= 3.1.0.rc6)
79+
rack-ssl (~> 1.3.2)
80+
rake (>= 0.8.7)
81+
rdoc (~> 3.4)
82+
thor (~> 0.14.6)
83+
rake (0.9.2)
84+
rdoc (3.9.4)
85+
sass (3.1.7)
86+
sass-rails (3.1.0.rc.6)
87+
actionpack (~> 3.1.0.rc6)
88+
railties (~> 3.1.0.rc6)
89+
sass (>= 3.1.4)
90+
sprockets (2.0.0.beta.15)
91+
hike (~> 1.2)
92+
rack (~> 1.0)
93+
tilt (~> 1.1, != 1.3.0)
94+
sqlite3 (1.3.4)
95+
thor (0.14.6)
96+
tilt (1.3.3)
97+
treetop (1.4.10)
98+
polyglot
99+
polyglot (>= 0.3.1)
100+
tzinfo (0.3.29)
101+
uglifier (1.0.1)
102+
execjs (>= 0.3.0)
103+
multi_json (>= 1.0.2)
104+
105+
PLATFORMS
106+
ruby
107+
108+
DEPENDENCIES
109+
coffee-rails (~> 3.1.0.rc)
110+
jquery-rails
111+
json
112+
rails (= 3.1.0.rc6)
113+
sass-rails (~> 3.1.0.rc)
114+
sqlite3
115+
uglifier

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# hackety-hack.com
2+
3+
This is the source code for hackety-hack.com.
4+
5+
At the moment, we're re-building it for Rails 3. So there's not a lot of docs. Sorry about that!

Rakefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/usr/bin/env rake
2+
# Add your own tasks in files placed in lib/tasks ending in .rake,
3+
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
4+
5+
require File.expand_path('../config/application', __FILE__)
6+
7+
HacketyHackCom::Application.load_tasks

app/assets/images/rails.png

6.49 KB
Loading
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// This is a manifest file that'll be compiled into including all the files listed below.
2+
// Add new JavaScript/Coffee code in separate files in this directory and they'll automatically
3+
// be included in the compiled file accessible from http://example.com/assets/application.js
4+
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
5+
// the compiled file.
6+
//
7+
//= require jquery
8+
//= require jquery_ujs
9+
//= require_tree .
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/*
2+
* This is a manifest file that'll automatically include all the stylesheets available in this directory
3+
* and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
4+
* the top of the compiled file, but it's generally better to create a new file per style scope.
5+
*= require_self
6+
*= require_tree .
7+
*/
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
class ApplicationController < ActionController::Base
2+
protect_from_forgery
3+
end

0 commit comments

Comments
 (0)