Permalink
Browse files

Set up initial authentication and Devise

  • Loading branch information...
1 parent f027d28 commit 670b64ba44cd7bcb2faa3b73bf570c5d3772a321 @cpursley committed Nov 18, 2012
Showing with 1,899 additions and 0 deletions.
  1. +15 −0 .gitignore
  2. +39 −0 Gemfile
  3. +121 −0 Gemfile.lock
  4. +261 −0 README.rdoc
  5. +7 −0 Rakefile
  6. BIN app/assets/images/rails.png
  7. +15 −0 app/assets/javascripts/application.js
  8. +3 −0 app/assets/javascripts/dreams.js.coffee
  9. +13 −0 app/assets/stylesheets/application.css
  10. +3 −0 app/assets/stylesheets/dreams.css.scss
  11. +69 −0 app/assets/stylesheets/scaffolds.css.scss
  12. +3 −0 app/controllers/application_controller.rb
  13. +85 −0 app/controllers/dreams_controller.rb
  14. +2 −0 app/helpers/application_helper.rb
  15. +2 −0 app/helpers/dreams_helper.rb
  16. 0 app/mailers/.gitkeep
  17. 0 app/models/.gitkeep
  18. +3 −0 app/models/dream.rb
  19. +11 −0 app/models/user.rb
  20. +61 −0 app/views/dreams/_form.html.erb
  21. +6 −0 app/views/dreams/edit.html.erb
  22. +43 −0 app/views/dreams/index.html.erb
  23. +5 −0 app/views/dreams/new.html.erb
  24. +60 −0 app/views/dreams/show.html.erb
  25. +57 −0 app/views/layouts/application.html.erb
  26. +4 −0 config.ru
  27. +62 −0 config/application.rb
  28. +6 −0 config/boot.rb
  29. +25 −0 config/database.yml
  30. +5 −0 config/environment.rb
  31. +52 −0 config/environments/development.rb
  32. +67 −0 config/environments/production.rb
  33. +37 −0 config/environments/test.rb
  34. +7 −0 config/initializers/backtrace_silencers.rb
  35. +232 −0 config/initializers/devise.rb
  36. +15 −0 config/initializers/inflections.rb
  37. +5 −0 config/initializers/mime_types.rb
  38. +7 −0 config/initializers/secret_token.rb
  39. +8 −0 config/initializers/session_store.rb
  40. +14 −0 config/initializers/wrap_parameters.rb
  41. +58 −0 config/locales/devise.en.yml
  42. +5 −0 config/locales/en.yml
  43. +64 −0 config/routes.rb
  44. +19 −0 db/migrate/20121118231059_create_dreams.rb
  45. +46 −0 db/migrate/20121118232125_devise_create_users.rb
  46. +50 −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. 0 log/.gitkeep
  52. +26 −0 public/404.html
  53. +26 −0 public/422.html
  54. +25 −0 public/500.html
  55. 0 public/favicon.ico
  56. +5 −0 public/robots.txt
  57. +6 −0 script/rails
  58. 0 test/fixtures/.gitkeep
  59. +27 −0 test/fixtures/dreams.yml
  60. +11 −0 test/fixtures/users.yml
  61. 0 test/functional/.gitkeep
  62. +49 −0 test/functional/dreams_controller_test.rb
  63. 0 test/integration/.gitkeep
  64. +12 −0 test/performance/browsing_test.rb
  65. +13 −0 test/test_helper.rb
  66. 0 test/unit/.gitkeep
  67. +7 −0 test/unit/dream_test.rb
  68. +4 −0 test/unit/helpers/dreams_helper_test.rb
  69. +7 −0 test/unit/user_test.rb
  70. 0 vendor/assets/javascripts/.gitkeep
  71. 0 vendor/assets/stylesheets/.gitkeep
  72. 0 vendor/plugins/.gitkeep
View
@@ -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
View
39 Gemfile
@@ -0,0 +1,39 @@
+source 'https://rubygems.org'
+
+gem 'rails', '3.2.8'
+
+# Bundle edge Rails instead:
+# gem 'rails', :git => 'git://github.com/rails/rails.git'
+
+gem 'sqlite3'
+
+
+# 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'
+ gem 'devise'
+
+ # See https://github.com/sstephenson/execjs#readme for more supported runtimes
+ # gem 'therubyracer', :platforms => :ruby
+
+ gem 'uglifier', '>= 1.0.3'
+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 'debugger'
View
@@ -0,0 +1,121 @@
+GEM
+ remote: https://rubygems.org/
+ specs:
+ actionmailer (3.2.8)
+ actionpack (= 3.2.8)
+ mail (~> 2.4.4)
+ actionpack (3.2.8)
+ activemodel (= 3.2.8)
+ activesupport (= 3.2.8)
+ builder (~> 3.0.0)
+ erubis (~> 2.7.0)
+ journey (~> 1.0.4)
+ rack (~> 1.4.0)
+ rack-cache (~> 1.2)
+ rack-test (~> 0.6.1)
+ sprockets (~> 2.1.3)
+ activemodel (3.2.8)
+ activesupport (= 3.2.8)
+ builder (~> 3.0.0)
+ activerecord (3.2.8)
+ activemodel (= 3.2.8)
+ activesupport (= 3.2.8)
+ arel (~> 3.0.2)
+ tzinfo (~> 0.3.29)
+ activeresource (3.2.8)
+ activemodel (= 3.2.8)
+ activesupport (= 3.2.8)
+ activesupport (3.2.8)
+ i18n (~> 0.6)
+ multi_json (~> 1.0)
+ arel (3.0.2)
+ bcrypt-ruby (3.0.1)
+ builder (3.0.4)
+ 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.4.0)
+ devise (2.1.2)
+ bcrypt-ruby (~> 3.0)
+ orm_adapter (~> 0.1)
+ railties (~> 3.1)
+ warden (~> 1.2.1)
+ erubis (2.7.0)
+ execjs (1.4.0)
+ multi_json (~> 1.0)
+ hike (1.2.1)
+ i18n (0.6.1)
+ journey (1.0.4)
+ jquery-rails (2.1.3)
+ railties (>= 3.1.0, < 5.0)
+ thor (~> 0.14)
+ json (1.7.5)
+ mail (2.4.4)
+ i18n (>= 0.4.0)
+ mime-types (~> 1.16)
+ treetop (~> 1.4.8)
+ mime-types (1.19)
+ multi_json (1.3.7)
+ orm_adapter (0.4.0)
+ 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.2)
+ rack (>= 1.0)
+ rails (3.2.8)
+ actionmailer (= 3.2.8)
+ actionpack (= 3.2.8)
+ activerecord (= 3.2.8)
+ activeresource (= 3.2.8)
+ activesupport (= 3.2.8)
+ bundler (~> 1.0)
+ railties (= 3.2.8)
+ railties (3.2.8)
+ actionpack (= 3.2.8)
+ activesupport (= 3.2.8)
+ rack-ssl (~> 1.3.2)
+ rake (>= 0.8.7)
+ rdoc (~> 3.4)
+ thor (>= 0.14.6, < 2.0)
+ rake (10.0.1)
+ rdoc (3.12)
+ json (~> 1.4)
+ sass (3.2.3)
+ sass-rails (3.2.5)
+ railties (~> 3.2.0)
+ sass (>= 3.1.10)
+ tilt (~> 1.3)
+ sprockets (2.1.3)
+ hike (~> 1.2)
+ rack (~> 1.0)
+ tilt (~> 1.1, != 1.3.0)
+ sqlite3 (1.3.6)
+ thor (0.16.0)
+ tilt (1.3.3)
+ treetop (1.4.12)
+ polyglot
+ polyglot (>= 0.3.1)
+ tzinfo (0.3.35)
+ uglifier (1.3.0)
+ execjs (>= 0.3.0)
+ multi_json (~> 1.0, >= 1.0.2)
+ warden (1.2.1)
+ rack (>= 1.0)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ coffee-rails (~> 3.2.1)
+ devise
+ jquery-rails
+ rails (= 3.2.8)
+ sass-rails (~> 3.2.3)
+ sqlite3
+ uglifier (>= 1.0.3)
Oops, something went wrong.

0 comments on commit 670b64b

Please sign in to comment.