sorcery 0.4.2 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of sorcery might be problematic. Click here for more details.

Files changed (93) hide show
  1. data/Gemfile +5 -2
  2. data/Gemfile.lock +12 -0
  3. data/README.rdoc +12 -7
  4. data/VERSION +1 -1
  5. data/lib/sorcery/controller/submodules/brute_force_protection.rb +1 -1
  6. data/lib/sorcery/crypto_providers/common.rb +2 -2
  7. data/lib/sorcery/engine.rb +0 -4
  8. data/lib/sorcery/initializers/initializer.rb +1 -0
  9. data/lib/sorcery/model/adapters/active_record.rb +28 -0
  10. data/lib/sorcery/model/adapters/mongoid.rb +59 -0
  11. data/lib/sorcery/model/submodules/activity_logging.rb +12 -3
  12. data/lib/sorcery/model/submodules/brute_force_protection.rb +6 -1
  13. data/lib/sorcery/model/submodules/external.rb +1 -0
  14. data/lib/sorcery/model/submodules/remember_me.rb +15 -1
  15. data/lib/sorcery/model/submodules/reset_password.rb +10 -3
  16. data/lib/sorcery/model/submodules/user_activation.rb +11 -1
  17. data/lib/sorcery/model/temporary_token.rb +1 -1
  18. data/lib/sorcery/model.rb +15 -7
  19. data/lib/sorcery/sinatra.rb +0 -1
  20. data/lib/sorcery/test_helpers/internal/sinatra.rb +6 -54
  21. data/lib/sorcery/test_helpers/internal.rb +2 -1
  22. data/lib/sorcery/test_helpers/sinatra.rb +4 -1
  23. data/lib/sorcery.rb +22 -1
  24. data/sorcery.gemspec +107 -10
  25. data/spec/Gemfile.lock +1 -1
  26. data/spec/rails3/Gemfile.lock +5 -5
  27. data/spec/rails3/spec/user_reset_password_spec.rb +2 -2
  28. data/spec/rails3/spec/user_spec.rb +0 -1
  29. data/spec/rails3_mongoid/.gitignore +4 -0
  30. data/spec/rails3_mongoid/.rspec +1 -0
  31. data/spec/rails3_mongoid/Gemfile +14 -0
  32. data/spec/rails3_mongoid/Gemfile.lock +146 -0
  33. data/spec/rails3_mongoid/Rakefile +11 -0
  34. data/spec/rails3_mongoid/app/controllers/application_controller.rb +108 -0
  35. data/spec/rails3_mongoid/app/helpers/application_helper.rb +2 -0
  36. data/spec/rails3_mongoid/app/mailers/sorcery_mailer.rb +25 -0
  37. data/spec/rails3_mongoid/app/models/authentication.rb +7 -0
  38. data/spec/rails3_mongoid/app/models/user.rb +5 -0
  39. data/spec/rails3_mongoid/app/views/layouts/application.html.erb +14 -0
  40. data/spec/rails3_mongoid/app/views/sorcery_mailer/activation_email.html.erb +17 -0
  41. data/spec/rails3_mongoid/app/views/sorcery_mailer/activation_email.text.erb +9 -0
  42. data/spec/rails3_mongoid/app/views/sorcery_mailer/activation_success_email.html.erb +17 -0
  43. data/spec/rails3_mongoid/app/views/sorcery_mailer/activation_success_email.text.erb +9 -0
  44. data/spec/rails3_mongoid/app/views/sorcery_mailer/reset_password_email.html.erb +16 -0
  45. data/spec/rails3_mongoid/app/views/sorcery_mailer/reset_password_email.text.erb +8 -0
  46. data/spec/rails3_mongoid/config/application.rb +51 -0
  47. data/spec/rails3_mongoid/config/boot.rb +13 -0
  48. data/spec/rails3_mongoid/config/environment.rb +5 -0
  49. data/spec/rails3_mongoid/config/environments/development.rb +26 -0
  50. data/spec/rails3_mongoid/config/environments/in_memory.rb +0 -0
  51. data/spec/rails3_mongoid/config/environments/production.rb +49 -0
  52. data/spec/rails3_mongoid/config/environments/test.rb +35 -0
  53. data/spec/rails3_mongoid/config/initializers/backtrace_silencers.rb +7 -0
  54. data/spec/rails3_mongoid/config/initializers/inflections.rb +10 -0
  55. data/spec/rails3_mongoid/config/initializers/mime_types.rb +5 -0
  56. data/spec/rails3_mongoid/config/initializers/secret_token.rb +7 -0
  57. data/spec/rails3_mongoid/config/initializers/session_store.rb +8 -0
  58. data/spec/rails3_mongoid/config/locales/en.yml +5 -0
  59. data/spec/rails3_mongoid/config/mongoid.yml +7 -0
  60. data/spec/rails3_mongoid/config/routes.rb +59 -0
  61. data/spec/rails3_mongoid/config.ru +4 -0
  62. data/spec/rails3_mongoid/db/schema.rb +23 -0
  63. data/spec/rails3_mongoid/db/seeds.rb +7 -0
  64. data/spec/rails3_mongoid/lib/tasks/.gitkeep +0 -0
  65. data/spec/rails3_mongoid/public/404.html +26 -0
  66. data/spec/rails3_mongoid/public/422.html +26 -0
  67. data/spec/rails3_mongoid/public/500.html +26 -0
  68. data/spec/rails3_mongoid/public/favicon.ico +0 -0
  69. data/spec/rails3_mongoid/public/images/rails.png +0 -0
  70. data/spec/rails3_mongoid/public/javascripts/application.js +2 -0
  71. data/spec/rails3_mongoid/public/javascripts/controls.js +965 -0
  72. data/spec/rails3_mongoid/public/javascripts/dragdrop.js +974 -0
  73. data/spec/rails3_mongoid/public/javascripts/effects.js +1123 -0
  74. data/spec/rails3_mongoid/public/javascripts/prototype.js +6001 -0
  75. data/spec/rails3_mongoid/public/javascripts/rails.js +175 -0
  76. data/spec/rails3_mongoid/public/robots.txt +5 -0
  77. data/spec/rails3_mongoid/public/stylesheets/.gitkeep +0 -0
  78. data/spec/rails3_mongoid/script/rails +6 -0
  79. data/spec/rails3_mongoid/spec/spec.opts +2 -0
  80. data/spec/rails3_mongoid/spec/spec_helper.orig.rb +27 -0
  81. data/spec/rails3_mongoid/spec/spec_helper.rb +55 -0
  82. data/spec/rails3_mongoid/spec/user_activation_spec.rb +178 -0
  83. data/spec/rails3_mongoid/spec/user_activity_logging_spec.rb +31 -0
  84. data/spec/rails3_mongoid/spec/user_brute_force_protection_spec.rb +41 -0
  85. data/spec/rails3_mongoid/spec/user_oauth_spec.rb +34 -0
  86. data/spec/rails3_mongoid/spec/user_remember_me_spec.rb +51 -0
  87. data/spec/rails3_mongoid/spec/user_reset_password_spec.rb +174 -0
  88. data/spec/rails3_mongoid/spec/user_spec.rb +329 -0
  89. data/spec/rails3_mongoid/vendor/plugins/.gitkeep +0 -0
  90. data/spec/sinatra/Gemfile.lock +5 -5
  91. data/spec/sinatra/spec/spec_helper.rb +0 -1
  92. metadata +150 -37
  93. data/spec/untitled folder +0 -18

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the gem file manually.