devise_invitable 1.7.5 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


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

Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +6 -0
  3. data/README.rdoc +75 -82
  4. data/app/controllers/devise/invitations_controller.rb +10 -10
  5. data/app/controllers/devise_invitable/registrations_controller.rb +1 -1
  6. data/app/views/devise/invitations/edit.html.erb +14 -8
  7. data/app/views/devise/invitations/new.html.erb +11 -7
  8. data/lib/devise_invitable.rb +3 -3
  9. data/lib/devise_invitable/controllers/helpers.rb +1 -1
  10. data/lib/devise_invitable/mailer.rb +1 -1
  11. data/lib/devise_invitable/mapping.rb +1 -1
  12. data/lib/devise_invitable/models.rb +17 -17
  13. data/lib/devise_invitable/routes.rb +4 -4
  14. data/lib/devise_invitable/version.rb +1 -1
  15. data/lib/generators/active_record/devise_invitable_generator.rb +3 -3
  16. data/lib/generators/devise_invitable/devise_invitable_generator.rb +4 -8
  17. data/lib/generators/devise_invitable/install_generator.rb +7 -11
  18. data/lib/generators/devise_invitable/templates/simple_form_for/invitations/edit.html.erb +10 -6
  19. data/lib/generators/devise_invitable/templates/simple_form_for/invitations/new.html.erb +10 -6
  20. data/lib/generators/devise_invitable/views_generator.rb +6 -6
  21. data/test/functional/registrations_controller_test.rb +24 -25
  22. data/test/integration/invitation_remove_test.rb +8 -8
  23. data/test/integration/invitation_test.rb +46 -46
  24. data/test/integration_tests_helper.rb +8 -8
  25. data/test/model_tests_helper.rb +5 -5
  26. data/test/models/invitable_test.rb +110 -110
  27. data/test/models_test.rb +3 -3
  28. data/test/orm/active_record.rb +2 -2
  29. data/test/orm/mongoid.rb +2 -2
  30. data/test/rails_app/app/controllers/admins_controller.rb +1 -1
  31. data/test/rails_app/app/controllers/application_controller.rb +1 -1
  32. data/test/rails_app/app/controllers/users_controller.rb +2 -2
  33. data/test/rails_app/app/models/admin.rb +7 -10
  34. data/test/rails_app/app/models/octopussy.rb +4 -4
  35. data/test/rails_app/app/models/user.rb +20 -20
  36. data/test/rails_app/app/views/admins/new.html.erb +9 -5
  37. data/test/rails_app/app/views/devise/sessions/new.html.erb +14 -6
  38. data/test/rails_app/app/views/free_invitations/new.html.erb +9 -5
  39. data/test/rails_app/app/views/layouts/application.html.erb +3 -4
  40. data/test/rails_app/app/views/users/invitations/new.html.erb +15 -9
  41. data/test/rails_app/config/application.rb +6 -6
  42. data/test/rails_app/config/boot.rb +2 -2
  43. data/test/rails_app/config/credentials.yml.enc +1 -0
  44. data/test/rails_app/config/initializers/session_store.rb +1 -1
  45. data/test/rails_app/config/initializers/wrap_parameters.rb +1 -1
  46. data/test/rails_app/config/master.key +1 -0
  47. data/test/rails_app/config/routes.rb +3 -3
  48. data/test/routes_test.rb +4 -4
  49. data/test/test_helper.rb +2 -2
  50. metadata +22 -20
  51. data/test/rails_app/config/initializers/secret_token.rb +0 -7
@@ -1,7 +0,0 @@
1
- # Be sure to restart your server when you modify this file.
2
-
3
- # Your secret key for verifying the integrity of signed cookies.
4
- # If you change this key, all old signed cookies will become invalid!
5
- # Make sure the secret is at least 30 characters and all random,
6
- # no regular words or you'll be exposed to dictionary attacks.
7
- RailsApp::Application.config.secret_token = 'e997edf9d7eba5cf89a76a046fa53f5d66261d22cfcf29e3f538c75ad2d175b106bd5d099f44f6ce34ad3b3162d71cfaa37d2d4f4b38645288331427b4c2a607'