Permalink
Browse files

initial commit

  • Loading branch information...
NoamB committed Jan 30, 2011
0 parents commit ad8a136317ec20c0a94576e980804f17a0497cde
Showing with 10,985 additions and 0 deletions.
  1. +7 −0 .gitignore
  2. +28 −0 Gemfile
  3. +155 −0 Gemfile.lock
  4. +256 −0 README
  5. +7 −0 Rakefile
  6. +17 −0 app/controllers/application_controller.rb
  7. +30 −0 app/controllers/password_resets_controller.rb
  8. +26 −0 app/controllers/user_sessions_controller.rb
  9. +95 −0 app/controllers/users_controller.rb
  10. +2 −0 app/helpers/application_helper.rb
  11. +2 −0 app/helpers/password_resets_helper.rb
  12. +2 −0 app/helpers/user_sessions_helper.rb
  13. +2 −0 app/helpers/users_helper.rb
  14. +25 −0 app/mailers/my_mailer.rb
  15. +12 −0 app/mailers/user_mailer.rb
  16. +10 −0 app/models/user.rb
  17. +23 −0 app/views/layouts/application.html.erb
  18. +17 −0 app/views/my_mailer/activation_needed_email.html.erb
  19. +9 −0 app/views/my_mailer/activation_needed_email.text.erb
  20. +17 −0 app/views/my_mailer/activation_success_email.html.erb
  21. +9 −0 app/views/my_mailer/activation_success_email.text.erb
  22. +16 −0 app/views/my_mailer/reset_password_email.html.erb
  23. +8 −0 app/views/my_mailer/reset_password_email.text.erb
  24. +30 −0 app/views/password_resets/_form.html.erb
  25. +5 −0 app/views/password_resets/edit.html.erb
  26. +20 −0 app/views/user_mailer/password_reset_instructions.html.erb
  27. +8 −0 app/views/user_mailer/password_reset_instructions.text.erb
  28. +6 −0 app/views/user_sessions/_forgot_password_form.html.erb
  29. +17 −0 app/views/user_sessions/_form.html.erb
  30. +2 −0 app/views/user_sessions/create.html.erb
  31. +2 −0 app/views/user_sessions/destroy.html.erb
  32. +6 −0 app/views/user_sessions/edit.html.erb
  33. +9 −0 app/views/user_sessions/new.html.erb
  34. +29 −0 app/views/users/_form.html.erb
  35. +6 −0 app/views/users/edit.html.erb
  36. +24 −0 app/views/users/index.html.erb
  37. +5 −0 app/views/users/new.html.erb
  38. +25 −0 app/views/users/show.html.erb
  39. +4 −0 config.ru
  40. +44 −0 config/application.rb
  41. +13 −0 config/boot.rb
  42. +39 −0 config/database.yml
  43. +5 −0 config/environment.rb
  44. +36 −0 config/environments/development.rb
  45. +49 −0 config/environments/production.rb
  46. +35 −0 config/environments/test.rb
  47. +7 −0 config/initializers/backtrace_silencers.rb
  48. +10 −0 config/initializers/inflections.rb
  49. +5 −0 config/initializers/mime_types.rb
  50. +7 −0 config/initializers/secret_token.rb
  51. +8 −0 config/initializers/session_store.rb
  52. +5 −0 config/locales/en.yml
  53. +72 −0 config/routes.rb
  54. +17 −0 db/migrate/20101210151424_create_users.rb
  55. +15 −0 db/migrate/20101224223622_add_activation_to_users.rb
  56. +15 −0 db/migrate/20101224223623_add_remember_me_token_to_users.rb
  57. +9 −0 db/migrate/20101224223624_add_password_reset_to_users.rb
  58. +32 −0 db/schema.rb
  59. +7 −0 db/seeds.rb
  60. +2 −0 doc/README_FOR_APP
  61. 0 lib/tasks/.gitkeep
  62. +26 −0 public/404.html
  63. +26 −0 public/422.html
  64. +26 −0 public/500.html
  65. 0 public/favicon.ico
  66. BIN public/images/rails.png
  67. +2 −0 public/javascripts/application.js
  68. +965 −0 public/javascripts/controls.js
  69. +974 −0 public/javascripts/dragdrop.js
  70. +1,123 −0 public/javascripts/effects.js
  71. +6,001 −0 public/javascripts/prototype.js
  72. +175 −0 public/javascripts/rails.js
  73. +5 −0 public/robots.txt
  74. 0 public/stylesheets/.gitkeep
  75. +60 −0 public/stylesheets/scaffold.css
  76. +6 −0 script/rails
  77. +33 −0 spec/controllers/password_resets_controller_spec.rb
  78. +15 −0 spec/helpers/password_resets_helper_spec.rb
  79. +5 −0 spec/views/password_resets/create.html.erb_spec.rb
  80. +5 −0 spec/views/password_resets/edit.html.erb_spec.rb
  81. +5 −0 spec/views/password_resets/new.html.erb_spec.rb
  82. +5 −0 spec/views/password_resets/update.html.erb_spec.rb
  83. +8 −0 test/fixtures/users.yml
  84. +8 −0 test/functional/user_mailer_test.rb
  85. +19 −0 test/functional/user_sessions_controller_test.rb
  86. +49 −0 test/functional/users_controller_test.rb
  87. +9 −0 test/performance/browsing_test.rb
  88. +14 −0 test/test_helper.rb
  89. +4 −0 test/unit/helpers/user_sessions_helper_test.rb
  90. +4 −0 test/unit/helpers/users_helper_test.rb
  91. +8 −0 test/unit/user_test.rb
@@ -0,0 +1,7 @@
+.bundle
+db/*.sqlite3
+log/*.log
+tmp/**/*
+.rvmrc
+rvm*
+vendor
28 Gemfile
@@ -0,0 +1,28 @@
+source 'http://rubygems.org'
+
+gem 'rails', '3.0.3'
+gem 'mysql2'
+
+# Deploy with Capistrano
+# gem 'capistrano'
+
+# To use debugger (ruby-debug for Ruby 1.8.7+, ruby-debug19 for Ruby 1.9.2+)
+# gem 'ruby-debug'
+
+
+# Bundle the extra gems:
+gem 'sorcery'
+
+# Bundle gems for the local environment. Make sure to
+# put test-only gems in this group so their generators
+# and rake tasks are available in development mode:
+group :development, :test do
+ gem 'ruby-debug19'
+ gem 'capybara'
+ gem 'database_cleaner'
+ gem 'cucumber-rails'
+ gem 'cucumber'
+ gem 'rspec-rails'
+ gem 'spork'
+ gem 'launchy'
+end
@@ -0,0 +1,155 @@
+GEM
+ remote: http://rubygems.org/
+ specs:
+ abstract (1.0.0)
+ actionmailer (3.0.3)
+ actionpack (= 3.0.3)
+ mail (~> 2.2.9)
+ actionpack (3.0.3)
+ activemodel (= 3.0.3)
+ activesupport (= 3.0.3)
+ builder (~> 2.1.2)
+ erubis (~> 2.6.6)
+ i18n (~> 0.4)
+ rack (~> 1.2.1)
+ rack-mount (~> 0.6.13)
+ rack-test (~> 0.5.6)
+ tzinfo (~> 0.3.23)
+ activemodel (3.0.3)
+ activesupport (= 3.0.3)
+ builder (~> 2.1.2)
+ i18n (~> 0.4)
+ activerecord (3.0.3)
+ activemodel (= 3.0.3)
+ activesupport (= 3.0.3)
+ arel (~> 2.0.2)
+ tzinfo (~> 0.3.23)
+ activeresource (3.0.3)
+ activemodel (= 3.0.3)
+ activesupport (= 3.0.3)
+ activesupport (3.0.3)
+ archive-tar-minitar (0.5.2)
+ arel (2.0.6)
+ builder (2.1.2)
+ capybara (0.4.0)
+ celerity (>= 0.7.9)
+ culerity (>= 0.2.4)
+ mime-types (>= 1.16)
+ nokogiri (>= 1.3.3)
+ rack (>= 1.0.0)
+ rack-test (>= 0.5.4)
+ selenium-webdriver (>= 0.0.27)
+ xpath (~> 0.1.2)
+ celerity (0.8.6)
+ childprocess (0.1.6)
+ ffi (~> 0.6.3)
+ columnize (0.3.2)
+ configuration (1.2.0)
+ cucumber (0.10.0)
+ builder (>= 2.1.2)
+ diff-lcs (~> 1.1.2)
+ gherkin (~> 2.3.2)
+ json (~> 1.4.6)
+ term-ansicolor (~> 1.0.5)
+ cucumber-rails (0.3.2)
+ cucumber (>= 0.8.0)
+ culerity (0.2.13)
+ database_cleaner (0.6.0)
+ diff-lcs (1.1.2)
+ erubis (2.6.6)
+ abstract (>= 1.0.0)
+ ffi (0.6.3)
+ rake (>= 0.8.7)
+ gherkin (2.3.2)
+ json (~> 1.4.6)
+ term-ansicolor (~> 1.0.5)
+ i18n (0.5.0)
+ json (1.4.6)
+ json_pure (1.4.6)
+ launchy (0.3.7)
+ configuration (>= 0.0.5)
+ rake (>= 0.8.1)
+ linecache19 (0.5.11)
+ ruby_core_source (>= 0.1.4)
+ mail (2.2.12)
+ activesupport (>= 2.3.6)
+ i18n (>= 0.4.0)
+ mime-types (~> 1.16)
+ treetop (~> 1.4.8)
+ mime-types (1.16)
+ mysql2 (0.2.6)
+ nokogiri (1.4.4)
+ polyglot (0.3.1)
+ rack (1.2.1)
+ rack-mount (0.6.13)
+ rack (>= 1.0.0)
+ rack-test (0.5.6)
+ rack (>= 1.0)
+ rails (3.0.3)
+ actionmailer (= 3.0.3)
+ actionpack (= 3.0.3)
+ activerecord (= 3.0.3)
+ activeresource (= 3.0.3)
+ activesupport (= 3.0.3)
+ bundler (~> 1.0)
+ railties (= 3.0.3)
+ railties (3.0.3)
+ actionpack (= 3.0.3)
+ activesupport (= 3.0.3)
+ rake (>= 0.8.7)
+ thor (~> 0.14.4)
+ rake (0.8.7)
+ rspec (2.3.0)
+ rspec-core (~> 2.3.0)
+ rspec-expectations (~> 2.3.0)
+ rspec-mocks (~> 2.3.0)
+ rspec-core (2.3.1)
+ rspec-expectations (2.3.0)
+ diff-lcs (~> 1.1.2)
+ rspec-mocks (2.3.0)
+ rspec-rails (2.3.1)
+ actionpack (~> 3.0)
+ activesupport (~> 3.0)
+ railties (~> 3.0)
+ rspec (~> 2.3.0)
+ ruby-debug-base19 (0.11.24)
+ 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.4)
+ archive-tar-minitar (>= 0.5.2)
+ rubyzip (0.9.4)
+ selenium-webdriver (0.1.2)
+ childprocess (~> 0.1.5)
+ ffi (~> 0.6.3)
+ json_pure
+ rubyzip
+ sorcery (0.2.0)
+ spork (0.8.4)
+ term-ansicolor (1.0.5)
+ thor (0.14.6)
+ treetop (1.4.9)
+ polyglot (>= 0.3.1)
+ tzinfo (0.3.23)
+ xpath (0.1.2)
+ nokogiri (~> 1.3)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ capybara
+ cucumber
+ cucumber-rails
+ database_cleaner
+ launchy
+ mysql2
+ rails (= 3.0.3)
+ rspec-rails
+ ruby-debug19
+ sorcery
+ spork
Oops, something went wrong.

0 comments on commit ad8a136

Please sign in to comment.