Permalink
Browse files

Initial commit

  • Loading branch information...
0 parents commit 0ba966d6cb0f856661f62585778e2dc5968e5228 @aantix committed Dec 18, 2011
Showing with 1,386 additions and 0 deletions.
  1. +15 −0 .gitignore
  2. +1 −0 .rspec
  3. +7 −0 .rvmrc
  4. +60 −0 Gemfile
  5. +189 −0 Gemfile.lock
  6. +14 −0 Guardfile
  7. +261 −0 README
  8. +7 −0 Rakefile
  9. BIN app/assets/images/rails.png
  10. +9 −0 app/assets/javascripts/application.js
  11. +7 −0 app/assets/stylesheets/application.css
  12. +3 −0 app/controllers/application_controller.rb
  13. +2 −0 app/helpers/application_helper.rb
  14. 0 app/mailers/.gitkeep
  15. 0 app/models/.gitkeep
  16. +3 −0 app/models/candidate.rb
  17. +2 −0 app/models/party.rb
  18. +27 −0 app/models/video.rb
  19. +14 −0 app/views/layouts/application.html.erb
  20. +4 −0 config.ru
  21. +48 −0 config/application.rb
  22. +6 −0 config/boot.rb
  23. +27 −0 config/database.yml
  24. +5 −0 config/environment.rb
  25. +30 −0 config/environments/development.rb
  26. +60 −0 config/environments/production.rb
  27. +39 −0 config/environments/test.rb
  28. +7 −0 config/initializers/backtrace_silencers.rb
  29. +10 −0 config/initializers/inflections.rb
  30. +5 −0 config/initializers/mime_types.rb
  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. +5 −0 spec/factories/candidate_factory.rb
  49. +3 −0 spec/factories/party_factory.rb
  50. +5 −0 spec/models/candidate_spec.rb
  51. +5 −0 spec/models/party_spec.rb
  52. +26 −0 spec/models/video_spec.rb
  53. +49 −0 spec/spec_helper.rb
  54. 0 vendor/assets/stylesheets/.gitkeep
  55. 0 vendor/plugins/.gitkeep
@@ -0,0 +1,15 @@
+# See http://help.github.com/ignore-files/ for more about ignoring files.
+#
+# If you find yourself ignoring temporary files generated by your text editor
+# or operating system, you probably want to add a global ignore instead:
+# git config --global core.excludesfile ~/.gitignore_global
+
+# Ignore bundler config
+/.bundle
+
+# Ignore the default SQLite database.
+/db/*.sqlite3
+
+# Ignore all logfiles and tempfiles.
+/log/*.log
+/tmp
@@ -0,0 +1 @@
+--colour
@@ -0,0 +1,7 @@
+
+if [[ -d "${rvm_path:-$HOME/.rvm}/environments" \
+ && -s "${rvm_path:-$HOME/.rvm}/environments/ruby-1.9.2-p290@politics" ]] ; then
+ \. "${rvm_path:-$HOME/.rvm}/environments/ruby-1.9.2-p290@politics"
+else
+ rvm --create "ruby-1.9.2-p290@politics"
+fi
@@ -0,0 +1,60 @@
+source 'http://rubygems.org'
+
+#gem 'rails', :git => "git://github.com/rails/rails.git"
+gem 'rails'
+
+# Bundle edge Rails instead:
+# gem 'rails', :git => 'git://github.com/rails/rails.git'
+
+gem 'mysql2'
+gem 'turkee', :git => 'git://github.com/aantix/turkee.git', :branch => 'turkee_rails31'
+gem 'youtube_search'
+
+
+# Gems used only for assets and not required
+# in production environments by default.
+group :assets do
+ gem 'sass-rails' #, :git => 'git://github.com/rails/sass-rails'
+ gem 'coffee-rails' #, :git => 'git://github.com/rails/coffee-rails'
+ gem 'uglifier'
+end
+
+
+gem 'jquery-rails'
+
+# Use unicorn as the web server
+# gem 'unicorn'
+
+# Deploy with Capistrano
+# gem 'capistrano'
+
+# To use debugger
+# gem 'ruby-debug19', :require => 'ruby-debug'
+
+group :development do
+ gem 'heroku'
+end
+
+group :production do
+ gem 'pg'
+end
+
+group :test do
+ # Pretty printed test output
+ gem 'turn', :require => false
+
+ gem "spork", "> 0.9.0.rc"
+ gem 'growl', '>= 1.0.3'
+ gem "guard-spork"
+ gem 'factory_girl', '>= 1.3.2'
+
+ if RUBY_PLATFORM.downcase.include?("darwin")
+ gem 'rb-fsevent', ">= 0.4.3.1"
+ end
+ gem "rspec"
+ gem "guard-rspec"
+end
+
+group :test,:development do
+ gem "rspec-rails"
+end
@@ -0,0 +1,189 @@
+GIT
+ remote: git://github.com/aantix/turkee.git
+ revision: ac532e6b2ab0abc51bf689c8d268e04cf2492e5d
+ branch: turkee_rails31
+ specs:
+ turkee (1.1.1)
+ lockfile (>= 1.4.3)
+ rails (>= 3.0.7)
+ rturk (>= 2.3.0)
+ turkee
+
+GEM
+ remote: http://rubygems.org/
+ specs:
+ actionmailer (3.1.3)
+ actionpack (= 3.1.3)
+ mail (~> 2.3.0)
+ actionpack (3.1.3)
+ activemodel (= 3.1.3)
+ activesupport (= 3.1.3)
+ builder (~> 3.0.0)
+ erubis (~> 2.7.0)
+ i18n (~> 0.6)
+ rack (~> 1.3.5)
+ rack-cache (~> 1.1)
+ rack-mount (~> 0.8.2)
+ rack-test (~> 0.6.1)
+ sprockets (~> 2.0.3)
+ activemodel (3.1.3)
+ activesupport (= 3.1.3)
+ builder (~> 3.0.0)
+ i18n (~> 0.6)
+ activerecord (3.1.3)
+ activemodel (= 3.1.3)
+ activesupport (= 3.1.3)
+ arel (~> 2.2.1)
+ tzinfo (~> 0.3.29)
+ activeresource (3.1.3)
+ activemodel (= 3.1.3)
+ activesupport (= 3.1.3)
+ activesupport (3.1.3)
+ multi_json (~> 1.0)
+ addressable (2.2.6)
+ ansi (1.4.1)
+ arel (2.2.1)
+ builder (3.0.0)
+ coffee-rails (3.1.1)
+ coffee-script (>= 2.2.0)
+ railties (~> 3.1.0)
+ coffee-script (2.2.0)
+ coffee-script-source
+ execjs
+ coffee-script-source (1.1.3)
+ diff-lcs (1.1.3)
+ erubis (2.7.0)
+ execjs (1.2.12)
+ multi_json (~> 1.0)
+ factory_girl (2.3.2)
+ activesupport
+ growl (1.0.3)
+ guard (0.8.8)
+ thor (~> 0.14.6)
+ guard-rspec (0.5.9)
+ guard (>= 0.8.4)
+ guard-spork (0.4.1)
+ guard (>= 0.8.4)
+ spork (>= 0.8.4)
+ heroku (2.16.3)
+ launchy (>= 0.3.2)
+ rest-client (~> 1.6.1)
+ rubyzip
+ term-ansicolor (~> 1.0.5)
+ hike (1.2.1)
+ i18n (0.6.0)
+ jquery-rails (1.0.19)
+ railties (~> 3.0)
+ thor (~> 0.14)
+ json (1.6.3)
+ launchy (2.0.5)
+ addressable (~> 2.2.6)
+ lockfile (2.1.0)
+ mail (2.3.0)
+ i18n (>= 0.4.0)
+ mime-types (~> 1.16)
+ treetop (~> 1.4.8)
+ mime-types (1.17.2)
+ multi_json (1.0.4)
+ mysql2 (0.3.11)
+ nokogiri (1.5.0)
+ pg (0.12.0)
+ rake-compiler (~> 0.7)
+ polyglot (0.3.3)
+ rack (1.3.5)
+ rack-cache (1.1)
+ rack (>= 0.4)
+ rack-mount (0.8.3)
+ rack (>= 1.0.0)
+ rack-ssl (1.3.2)
+ rack
+ rack-test (0.6.1)
+ rack (>= 1.0)
+ rails (3.1.3)
+ actionmailer (= 3.1.3)
+ actionpack (= 3.1.3)
+ activerecord (= 3.1.3)
+ activeresource (= 3.1.3)
+ activesupport (= 3.1.3)
+ bundler (~> 1.0)
+ railties (= 3.1.3)
+ railties (3.1.3)
+ actionpack (= 3.1.3)
+ activesupport (= 3.1.3)
+ rack-ssl (~> 1.3.2)
+ rake (>= 0.8.7)
+ rdoc (~> 3.4)
+ thor (~> 0.14.6)
+ rake (0.9.2.2)
+ rake-compiler (0.7.9)
+ rake
+ rb-fsevent (0.4.3.1)
+ rdoc (3.12)
+ json (~> 1.4)
+ rest-client (1.6.7)
+ mime-types (>= 1.16)
+ rspec (2.7.0)
+ rspec-core (~> 2.7.0)
+ rspec-expectations (~> 2.7.0)
+ rspec-mocks (~> 2.7.0)
+ rspec-core (2.7.1)
+ rspec-expectations (2.7.0)
+ diff-lcs (~> 1.1.2)
+ rspec-mocks (2.7.0)
+ rspec-rails (2.7.0)
+ actionpack (~> 3.0)
+ activesupport (~> 3.0)
+ railties (~> 3.0)
+ rspec (~> 2.7.0)
+ rturk (2.5.2)
+ nokogiri (>= 1.4.1)
+ rest-client (>= 1.4.0)
+ rubyzip (0.9.5)
+ sass (3.1.12)
+ sass-rails (3.1.5)
+ actionpack (~> 3.1.0)
+ railties (~> 3.1.0)
+ sass (~> 3.1.10)
+ tilt (~> 1.3.2)
+ spork (0.9.0.rc9)
+ sprockets (2.0.3)
+ hike (~> 1.2)
+ rack (~> 1.0)
+ tilt (~> 1.1, != 1.3.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.3)
+ ansi
+ tzinfo (0.3.31)
+ uglifier (1.2.0)
+ execjs (>= 0.3.0)
+ multi_json (>= 1.0.2)
+ youtube_search (0.1.3)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ coffee-rails
+ factory_girl (>= 1.3.2)
+ growl (>= 1.0.3)
+ guard-rspec
+ guard-spork
+ heroku
+ jquery-rails
+ mysql2
+ pg
+ rails
+ rb-fsevent (>= 0.4.3.1)
+ rspec
+ rspec-rails
+ sass-rails
+ spork (> 0.9.0.rc)
+ turkee!
+ turn
+ uglifier
+ youtube_search
@@ -0,0 +1,14 @@
+# A sample Guardfile
+# More info at https://github.com/guard/guard#readme
+
+guard 'spork', :cucumber_env => { 'RAILS_ENV' => 'test' }, :rspec_env => { 'RAILS_ENV' => 'test' } do
+ watch('spec/spec_helper.rb')
+end
+
+guard 'rspec', :version => 2, :cli => "--drb" do
+ watch(%r{^spec/.+_spec\.rb$})
+ watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" }
+ watch(%r{^app/models/(.+)\.rb$}) { |m| "spec/models/#{m[1]}_spec.rb" }
+ watch('spec/spec_helper.rb') { "spec" }
+end
+
Oops, something went wrong. Retry.

0 comments on commit 0ba966d

Please sign in to comment.