Permalink
Browse files

Add source

  • Loading branch information...
1 parent 1e34ba0 commit ac5a9712f0577b3e939439e56c8e24f7e2fc68ac @ruprict ruprict committed Apr 22, 2012
Showing with 1,361 additions and 0 deletions.
  1. +39 −0 Gemfile
  2. +113 −0 Gemfile.lock
  3. +261 −0 README.rdoc
  4. +7 −0 Rakefile
  5. BIN app/assets/images/header_bg.png
  6. BIN app/assets/images/rails.png
  7. BIN app/assets/images/ruby-source-logo.png
  8. +15 −0 app/assets/javascripts/application.js
  9. +3 −0 app/assets/javascripts/sessions.js.coffee
  10. +3 −0 app/assets/javascripts/users.js.coffee
  11. +91 −0 app/assets/stylesheets/application.css
  12. +3 −0 app/assets/stylesheets/sessions.css.scss
  13. +3 −0 app/assets/stylesheets/users.css.scss
  14. +24 −0 app/controllers/application_controller.rb
  15. +42 −0 app/controllers/sessions_controller.rb
  16. +22 −0 app/controllers/users_controller.rb
  17. +2 −0 app/helpers/application_helper.rb
  18. +2 −0 app/helpers/sessions_helper.rb
  19. +2 −0 app/helpers/users_helper.rb
  20. 0 app/mailers/.gitkeep
  21. 0 app/models/.gitkeep
  22. +50 −0 app/models/user.rb
  23. +42 −0 app/views/layouts/application.html.erb
  24. +1 −0 app/views/sessions/home.html.erb
  25. +15 −0 app/views/sessions/login.html.erb
  26. +1 −0 app/views/sessions/profile.html.erb
  27. +1 −0 app/views/sessions/setting.html.erb
  28. +32 −0 app/views/users/new.html.erb
  29. +4 −0 config.ru
  30. +59 −0 config/application.rb
  31. +6 −0 config/boot.rb
  32. +42 −0 config/database.yml
  33. +5 −0 config/environment.rb
  34. +37 −0 config/environments/development.rb
  35. +67 −0 config/environments/production.rb
  36. +37 −0 config/environments/test.rb
  37. +7 −0 config/initializers/backtrace_silencers.rb
  38. +15 −0 config/initializers/inflections.rb
  39. +5 −0 config/initializers/mime_types.rb
  40. +7 −0 config/initializers/secret_token.rb
  41. +8 −0 config/initializers/session_store.rb
  42. +14 −0 config/initializers/wrap_parameters.rb
  43. +5 −0 config/locales/en.yml
  44. +67 −0 config/routes.rb
  45. +11 −0 db/migrate/20120319110639_create_users.rb
  46. +25 −0 db/schema.rb
  47. +7 −0 db/seeds.rb
  48. +2 −0 doc/README_FOR_APP
  49. 0 lib/assets/.gitkeep
  50. 0 lib/tasks/.gitkeep
  51. +26 −0 public/404.html
  52. +26 −0 public/422.html
  53. +25 −0 public/500.html
  54. 0 public/favicon.ico
  55. +5 −0 public/robots.txt
  56. +6 −0 script/rails
  57. 0 test/fixtures/.gitkeep
  58. +11 −0 test/fixtures/users.yml
  59. 0 test/functional/.gitkeep
  60. +9 −0 test/functional/sessions_controller_test.rb
  61. +9 −0 test/functional/users_controller_test.rb
  62. 0 test/integration/.gitkeep
  63. +12 −0 test/performance/browsing_test.rb
  64. +13 −0 test/test_helper.rb
  65. 0 test/unit/.gitkeep
  66. +4 −0 test/unit/helpers/sessions_helper_test.rb
  67. +4 −0 test/unit/helpers/users_helper_test.rb
  68. +7 −0 test/unit/user_test.rb
  69. 0 vendor/assets/javascripts/.gitkeep
  70. 0 vendor/assets/stylesheets/.gitkeep
  71. 0 vendor/plugins/.gitkeep
View
39 Gemfile
@@ -0,0 +1,39 @@
+source 'https://rubygems.org'
+
+gem 'rails', '3.2.2'
+
+# Bundle edge Rails instead:
+# gem 'rails', :git => 'git://github.com/rails/rails.git'
+
+gem 'mysql2'
+
+
+# Gems used only for assets and not required
+# in production environments by default.
+group :assets do
+ gem 'sass-rails', '~> 3.2.3'
+ gem 'coffee-rails', '~> 3.2.1'
+
+ # See https://github.com/sstephenson/execjs#readme for more supported runtimes
+ # gem 'therubyracer'
+
+ gem 'uglifier', '>= 1.0.3'
+ gem 'bcrypt-ruby', :require => 'bcrypt'
+end
+
+gem 'jquery-rails'
+
+# To use ActiveModel has_secure_password
+# gem 'bcrypt-ruby', '~> 3.0.0'
+
+# To use Jbuilder templates for JSON
+# gem 'jbuilder'
+
+# Use unicorn as the app server
+# gem 'unicorn'
+
+# Deploy with Capistrano
+# gem 'capistrano'
+
+# To use debugger
+# gem 'ruby-debug19', :require => 'ruby-debug'
View
@@ -0,0 +1,113 @@
+GEM
+ remote: https://rubygems.org/
+ specs:
+ actionmailer (3.2.2)
+ actionpack (= 3.2.2)
+ mail (~> 2.4.0)
+ actionpack (3.2.2)
+ activemodel (= 3.2.2)
+ activesupport (= 3.2.2)
+ builder (~> 3.0.0)
+ erubis (~> 2.7.0)
+ journey (~> 1.0.1)
+ rack (~> 1.4.0)
+ rack-cache (~> 1.1)
+ rack-test (~> 0.6.1)
+ sprockets (~> 2.1.2)
+ activemodel (3.2.2)
+ activesupport (= 3.2.2)
+ builder (~> 3.0.0)
+ activerecord (3.2.2)
+ activemodel (= 3.2.2)
+ activesupport (= 3.2.2)
+ arel (~> 3.0.2)
+ tzinfo (~> 0.3.29)
+ activeresource (3.2.2)
+ activemodel (= 3.2.2)
+ activesupport (= 3.2.2)
+ activesupport (3.2.2)
+ i18n (~> 0.6)
+ multi_json (~> 1.0)
+ arel (3.0.2)
+ bcrypt-ruby (3.0.1)
+ builder (3.0.0)
+ coffee-rails (3.2.2)
+ coffee-script (>= 2.2.0)
+ railties (~> 3.2.0)
+ coffee-script (2.2.0)
+ coffee-script-source
+ execjs
+ coffee-script-source (1.2.0)
+ erubis (2.7.0)
+ execjs (1.3.0)
+ multi_json (~> 1.0)
+ hike (1.2.1)
+ i18n (0.6.0)
+ journey (1.0.3)
+ jquery-rails (2.0.1)
+ railties (>= 3.2.0, < 5.0)
+ thor (~> 0.14)
+ json (1.6.5)
+ mail (2.4.4)
+ i18n (>= 0.4.0)
+ mime-types (~> 1.16)
+ treetop (~> 1.4.8)
+ mime-types (1.17.2)
+ multi_json (1.1.0)
+ mysql2 (0.3.11)
+ polyglot (0.3.3)
+ rack (1.4.1)
+ rack-cache (1.2)
+ rack (>= 0.4)
+ rack-ssl (1.3.2)
+ rack
+ rack-test (0.6.1)
+ rack (>= 1.0)
+ rails (3.2.2)
+ actionmailer (= 3.2.2)
+ actionpack (= 3.2.2)
+ activerecord (= 3.2.2)
+ activeresource (= 3.2.2)
+ activesupport (= 3.2.2)
+ bundler (~> 1.0)
+ railties (= 3.2.2)
+ railties (3.2.2)
+ actionpack (= 3.2.2)
+ activesupport (= 3.2.2)
+ 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)
+ sass (3.1.15)
+ sass-rails (3.2.5)
+ railties (~> 3.2.0)
+ sass (>= 3.1.10)
+ tilt (~> 1.3)
+ sprockets (2.1.2)
+ 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)
+ tzinfo (0.3.32)
+ uglifier (1.2.3)
+ execjs (>= 0.3.0)
+ multi_json (>= 1.0.2)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ bcrypt-ruby
+ coffee-rails (~> 3.2.1)
+ jquery-rails
+ mysql2
+ rails (= 3.2.2)
+ sass-rails (~> 3.2.3)
+ uglifier (>= 1.0.3)
Oops, something went wrong.

0 comments on commit ac5a971

Please sign in to comment.