Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@ db/*.sqlite3
log/*.log
tmp/
.sass-cache/
# for IDE
nbproject/*
nbproject/**
nbproject/private/*
36 changes: 24 additions & 12 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,27 @@ source 'http://rubygems.org'

gem 'rails', '3.1.0'

# fix for Error - uninitialized constant Rake::DSL in Ruby Gem
# see http://stackoverflow.com/questions/6268518/uninitialized-constant-rakedsl-in-ruby-gem
#include Rake::DSL if defined?(Rake::DSL)

gem 'compass', git: 'git://github.com/chriseppstein/compass.git'

gem 'facebox-rails'
gem "recaptcha", :require => "recaptcha/rails"


gem 'jquery-rails'
gem 'httparty'
gem 'omniauth'

gem 'databasedotcom'
#leverage the databasedotcom rails helper gem
gem 'databasedotcom-rails'

# sqlite for small stuff, like captcha
gem 'sqlite3'
gem 'pg' #Heroku force you to use PostgreSQL

group :development, :test do
gem 'rspec-rails', '~> 2.6'
Expand All @@ -19,6 +37,12 @@ end
group :test do
# Pretty printed test output
gem 'turn', :require => false
#BDD stuff
gem "cucumber"
gem "cucumber-rails"
gem "capybara"
gem 'minitest'
gem 'database_cleaner'
end

group :assets do
Expand All @@ -27,16 +51,4 @@ group :assets do
gem 'uglifier'
end

gem 'jquery-rails'
gem 'httparty'

# Use unicorn as the web server
# gem 'unicorn'

# Deploy with Capistrano
# gem 'capistrano'

# To use debugger
# gem 'ruby-debug19', :require => 'ruby-debug'

gem 'omniauth'
115 changes: 84 additions & 31 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
GIT
remote: git://github.com/chriseppstein/compass.git
revision: d03d52990968db144483bcccea4dece826f06e3e
revision: a00044cc491ff4701e081a3e7e6723fc8868ef1f
specs:
compass (0.12.alpha.0.d03d529)
compass (0.12.alpha.0.a00044c)
chunky_png (~> 1.2)
fssm (>= 0.2.7)
sass (~> 3.1)
Expand Down Expand Up @@ -46,6 +46,15 @@ GEM
arel (2.2.1)
bcrypt-ruby (3.0.1)
builder (3.0.0)
capybara (1.1.1)
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
rack (>= 1.0.0)
rack-test (>= 0.5.4)
selenium-webdriver (~> 2.0)
xpath (~> 0.1.4)
childprocess (0.2.2)
ffi (~> 1.0.6)
chunky_png (1.2.5)
coffee-rails (3.1.1)
coffee-script (>= 2.2.0)
Expand All @@ -54,35 +63,55 @@ GEM
coffee-script-source
execjs
coffee-script-source (1.1.2)
crack (0.1.8)
databasedotcom (1.1.1)
cucumber (1.1.0)
builder (>= 2.1.2)
diff-lcs (>= 1.1.2)
gherkin (~> 2.5.0)
json (>= 1.4.6)
term-ansicolor (>= 1.0.6)
cucumber-rails (1.1.1)
capybara (>= 1.1.1)
cucumber (>= 1.1.0)
nokogiri (>= 1.5.0)
database_cleaner (0.6.7)
databasedotcom (1.1.5)
json
multipart-post (~> 1.1)
databasedotcom-rails (1.0.0)
databasedotcom
diff-lcs (1.1.3)
erubis (2.7.0)
execjs (1.2.8)
execjs (1.2.9)
multi_json (~> 1.0)
faraday (0.7.4)
facebox-rails (0.1.0)
railties (~> 3.0)
thor (~> 0.14)
faraday (0.7.5)
addressable (~> 2.2.6)
multipart-post (~> 1.1.0)
multipart-post (~> 1.1.3)
rack (>= 1.1.0, < 2)
ffi (1.0.9)
fssm (0.2.7)
gherkin (2.5.2)
json (>= 1.4.6)
growl (1.0.3)
guard (0.7.0)
guard (0.8.6)
thor (~> 0.14.6)
guard-bundler (0.1.3)
bundler (>= 1.0.0)
guard (>= 0.2.2)
guard-rspec (0.4.5)
guard (>= 0.4.0)
guard-rspec (0.5.0)
guard (>= 0.8.4)
hike (1.2.1)
httparty (0.7.4)
crack (= 0.1.8)
httparty (0.8.1)
multi_json
multi_xml
i18n (0.6.0)
jquery-rails (1.0.14)
jquery-rails (1.0.16)
railties (~> 3.0)
thor (~> 0.14)
json (1.6.1)
json_pure (1.6.1)
log4r (1.1.9)
macaddr (1.4.0)
systemu (~> 2.2.0)
Expand All @@ -91,6 +120,7 @@ GEM
mime-types (~> 1.16)
treetop (~> 1.4.8)
mime-types (1.16)
minitest (2.6.1)
multi_json (1.0.3)
multi_xml (0.4.1)
multipart-post (1.1.3)
Expand Down Expand Up @@ -135,9 +165,10 @@ GEM
oa-more (= 0.3.0)
oa-oauth (= 0.3.0)
oa-openid (= 0.3.0)
pg (0.11.0)
polyglot (0.3.2)
pyu-ruby-sasl (0.0.3.3)
rack (1.3.3)
rack (1.3.4)
rack-cache (1.0.3)
rack (>= 0.4)
rack-mount (0.8.3)
Expand Down Expand Up @@ -166,69 +197,91 @@ GEM
thor (~> 0.14.6)
rake (0.9.2)
rb-fsevent (0.4.3.1)
rdoc (3.9.4)
rdoc (3.11)
json (~> 1.4)
recaptcha (0.3.1)
rest-client (1.6.7)
mime-types (>= 1.16)
rspec (2.6.0)
rspec-core (~> 2.6.0)
rspec-expectations (~> 2.6.0)
rspec-mocks (~> 2.6.0)
rspec-core (2.6.4)
rspec-expectations (2.6.0)
rspec (2.7.0)
rspec-core (~> 2.7.0)
rspec-expectations (~> 2.7.0)
rspec-mocks (~> 2.7.0)
rspec-core (2.7.0)
rspec-expectations (2.7.0)
diff-lcs (~> 1.1.2)
rspec-mocks (2.6.0)
rspec-rails (2.6.1)
rspec-mocks (2.7.0)
rspec-rails (2.7.0)
actionpack (~> 3.0)
activesupport (~> 3.0)
railties (~> 3.0)
rspec (~> 2.6.0)
rspec (~> 2.7.0)
ruby-openid (2.1.8)
ruby-openid-apps-discovery (1.2.0)
ruby-openid (>= 2.1.7)
rubyntlm (0.1.1)
sass (3.1.7)
sass-rails (3.1.2)
rubyzip (0.9.4)
sass (3.1.10)
sass-rails (3.1.4)
actionpack (~> 3.1.0)
railties (~> 3.1.0)
sass (>= 3.1.4)
sprockets (~> 2.0.0)
tilt (~> 1.3.2)
sprockets (2.0.0)
selenium-webdriver (2.8.0)
childprocess (>= 0.2.1)
ffi (>= 1.0.7)
json_pure
rubyzip
sprockets (2.0.3)
hike (~> 1.2)
rack (~> 1.0)
tilt (!= 1.3.0, ~> 1.1)
tilt (~> 1.1, != 1.3.0)
sqlite3 (1.3.4)
systemu (2.2.0)
term-ansicolor (1.0.7)
thor (0.14.6)
tilt (1.3.3)
treetop (1.4.10)
polyglot
polyglot (>= 0.3.1)
turn (0.8.2)
ansi (>= 1.2.2)
tzinfo (0.3.29)
turn (0.8.3)
ansi
tzinfo (0.3.30)
uglifier (1.0.3)
execjs (>= 0.3.0)
multi_json (>= 1.0.2)
uuid (2.3.4)
macaddr (~> 1.0)
xpath (0.1.4)
nokogiri (~> 1.3)

PLATFORMS
ruby

DEPENDENCIES
capybara
coffee-rails (~> 3.1.0)
compass!
cucumber
cucumber-rails
database_cleaner
databasedotcom
databasedotcom-rails
facebox-rails
growl
guard
guard-bundler
guard-rspec
httparty
jquery-rails
minitest
omniauth
pg
rails (= 3.1.0)
rb-fsevent
recaptcha
rspec-rails (~> 2.6)
sass-rails (~> 3.1.0)
sqlite3
turn
uglifier
2 changes: 2 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require 'rake/dsl_definition'

#!/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.
Expand Down
2 changes: 2 additions & 0 deletions app/assets/javascripts/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@
//= require jquery
//= require jquery_ujs
//= require_tree .

//= require jquery.facebox
Loading