Permalink
Browse files

Initial commit

  • Loading branch information...
0 parents commit 18929870ac53bdc98ab79017773460538815f637 David Davis committed Jan 10, 2012
Showing with 1,815 additions and 0 deletions.
  1. +17 −0 .gitignore
  2. +1 −0 .rvmrc
  3. +38 −0 Gemfile
  4. +151 −0 Gemfile.lock
  5. +261 −0 README
  6. +7 −0 Rakefile
  7. BIN app/assets/images/rails.png
  8. +9 −0 app/assets/javascripts/application.js
  9. +3 −0 app/assets/javascripts/problems.js.coffee
  10. +3 −0 app/assets/javascripts/static.js.coffee
  11. +30 −0 app/assets/stylesheets/application.css.scss
  12. +3 −0 app/assets/stylesheets/problems.css.scss
  13. +56 −0 app/assets/stylesheets/scaffolds.css.scss
  14. +3 −0 app/assets/stylesheets/static.css.scss
  15. +3 −0 app/controllers/application_controller.rb
  16. +83 −0 app/controllers/problems_controller.rb
  17. +5 −0 app/controllers/static_controller.rb
  18. +2 −0 app/helpers/application_helper.rb
  19. +2 −0 app/helpers/problems_helper.rb
  20. +2 −0 app/helpers/static_helper.rb
  21. 0 app/mailers/.gitkeep
  22. 0 app/models/.gitkeep
  23. +7 −0 app/models/problem.rb
  24. +14 −0 app/models/user.rb
  25. +12 −0 app/views/devise/confirmations/new.html.erb
  26. +5 −0 app/views/devise/mailer/confirmation_instructions.html.erb
  27. +8 −0 app/views/devise/mailer/reset_password_instructions.html.erb
  28. +7 −0 app/views/devise/mailer/unlock_instructions.html.erb
  29. +16 −0 app/views/devise/passwords/edit.html.erb
  30. +12 −0 app/views/devise/passwords/new.html.erb
  31. +25 −0 app/views/devise/registrations/edit.html.erb
  32. +21 −0 app/views/devise/registrations/new.html.erb
  33. +17 −0 app/views/devise/sessions/new.html.erb
  34. +25 −0 app/views/devise/shared/_links.erb
  35. +12 −0 app/views/devise/unlocks/new.html.erb
  36. +22 −0 app/views/layouts/application.html.erb
  37. +33 −0 app/views/problems/_form.html.erb
  38. +6 −0 app/views/problems/edit.html.erb
  39. +29 −0 app/views/problems/index.html.erb
  40. +5 −0 app/views/problems/new.html.erb
  41. +21 −0 app/views/problems/show.html.erb
  42. +9 −0 app/views/static/index.html.erb
  43. +4 −0 config.ru
  44. +54 −0 config/application.rb
  45. +6 −0 config/boot.rb
  46. +5 −0 config/environment.rb
  47. +32 −0 config/environments/development.rb
  48. +60 −0 config/environments/production.rb
  49. +39 −0 config/environments/test.rb
  50. +7 −0 config/initializers/backtrace_silencers.rb
  51. +209 −0 config/initializers/devise.rb
  52. +10 −0 config/initializers/inflections.rb
  53. +5 −0 config/initializers/mime_types.rb
  54. +7 −0 config/initializers/secret_token.rb
  55. +8 −0 config/initializers/session_store.rb
  56. +10 −0 config/initializers/wrap_parameters.rb
  57. +58 −0 config/locales/devise.en.yml
  58. +5 −0 config/locales/en.yml
  59. +18 −0 config/mongoid.yml
  60. +66 −0 config/routes.rb
  61. +13 −0 db/seeds.rb
  62. +2 −0 doc/README_FOR_APP
  63. 0 lib/assets/.gitkeep
  64. 0 lib/tasks/.gitkeep
  65. 0 log/.gitkeep
  66. +26 −0 public/404.html
  67. +26 −0 public/422.html
  68. +26 −0 public/500.html
  69. 0 public/favicon.ico
  70. +5 −0 public/robots.txt
  71. +6 −0 script/rails
  72. 0 test/fixtures/.gitkeep
  73. +13 −0 test/fixtures/problems.yml
  74. +11 −0 test/fixtures/users.yml
  75. 0 test/functional/.gitkeep
  76. +49 −0 test/functional/problems_controller_test.rb
  77. +9 −0 test/functional/static_controller_test.rb
  78. 0 test/integration/.gitkeep
  79. +12 −0 test/performance/browsing_test.rb
  80. +7 −0 test/test_helper.rb
  81. 0 test/unit/.gitkeep
  82. +4 −0 test/unit/helpers/problems_helper_test.rb
  83. +4 −0 test/unit/helpers/static_helper_test.rb
  84. +7 −0 test/unit/problem_test.rb
  85. +7 −0 test/unit/user_test.rb
  86. 0 vendor/assets/stylesheets/.gitkeep
  87. 0 vendor/plugins/.gitkeep
@@ -0,0 +1,17 @@
+# 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
+
+.sass-cache
1 .rvmrc
@@ -0,0 +1 @@
+rvm 1.9.3@rubiks
38 Gemfile
@@ -0,0 +1,38 @@
+source 'http://rubygems.org'
+
+gem 'rails', '3.1.3'
+gem "mongoid", "~> 2.4"
+gem "bson_ext", "~> 1.5"
+
+# Gems used only for assets and not required
+# in production environments by default.
+group :assets do
+ gem 'sass-rails', '~> 3.1.5'
+ gem 'coffee-rails', '~> 3.1.1'
+ gem 'uglifier', '>= 1.0.3'
+end
+
+gem 'jquery-rails'
+gem 'devise', '~> 1.5.3'
+
+# To use ActiveModel has_secure_password
+# gem 'bcrypt-ruby', '~> 3.0.0'
+
+# Use unicorn as the web server
+# gem 'unicorn'
+
+# Deploy with Capistrano
+# gem 'capistrano'
+
+# To use debugger
+# gem 'ruby-debug19', :require => 'ruby-debug'
+
+group :test do
+ # Pretty printed test output
+ gem 'turn', '0.8.2', :require => false
+end
+
+group :development do
+ # bash < <(curl -L https://raw.github.com/gist/1333785)
+ gem 'ruby-debug19'
+end
@@ -0,0 +1,151 @@
+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)
+ ansi (1.4.1)
+ archive-tar-minitar (0.5.2)
+ arel (2.2.1)
+ bcrypt-ruby (3.0.1)
+ bson (1.5.2)
+ bson_ext (1.5.2)
+ bson (= 1.5.2)
+ 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.2.0)
+ columnize (0.3.6)
+ devise (1.5.3)
+ bcrypt-ruby (~> 3.0)
+ orm_adapter (~> 0.0.3)
+ warden (~> 1.1)
+ erubis (2.7.0)
+ execjs (1.2.13)
+ multi_json (~> 1.0)
+ hike (1.2.1)
+ i18n (0.6.0)
+ jquery-rails (1.0.19)
+ railties (~> 3.0)
+ thor (~> 0.14)
+ json (1.6.4)
+ linecache19 (0.5.12)
+ ruby_core_source (>= 0.1.4)
+ mail (2.3.0)
+ i18n (>= 0.4.0)
+ mime-types (~> 1.16)
+ treetop (~> 1.4.8)
+ mime-types (1.17.2)
+ mongo (1.5.2)
+ bson (= 1.5.2)
+ mongoid (2.4.0)
+ activemodel (~> 3.1)
+ mongo (~> 1.3)
+ tzinfo (~> 0.3.22)
+ multi_json (1.0.4)
+ orm_adapter (0.0.5)
+ polyglot (0.3.3)
+ rack (1.3.6)
+ 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)
+ rdoc (3.12)
+ json (~> 1.4)
+ ruby-debug-base19 (0.11.25)
+ columnize (>= 0.3.1)
+ linecache19 (>= 0.5.11)
+ ruby_core_source (>= 0.1.4)
+ ruby-debug19 (0.11.6)
+ columnize (>= 0.3.1)
+ linecache19 (>= 0.5.11)
+ ruby-debug-base19 (>= 0.11.19)
+ ruby_core_source (0.1.5)
+ archive-tar-minitar (>= 0.5.2)
+ 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)
+ sprockets (2.0.3)
+ hike (~> 1.2)
+ rack (~> 1.0)
+ tilt (~> 1.1, != 1.3.0)
+ 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.31)
+ uglifier (1.2.1)
+ execjs (>= 0.3.0)
+ multi_json (>= 1.0.2)
+ warden (1.1.0)
+ rack (>= 1.0)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ bson_ext (~> 1.5)
+ coffee-rails (~> 3.1.1)
+ devise (~> 1.5.3)
+ jquery-rails
+ mongoid (~> 2.4)
+ rails (= 3.1.3)
+ ruby-debug19
+ sass-rails (~> 3.1.5)
+ turn (= 0.8.2)
+ uglifier (>= 1.0.3)
Oops, something went wrong.

0 comments on commit 1892987

Please sign in to comment.