nyauth 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +24 -6
  3. data/app/controllers/concerns/nyauth/application_concern.rb +10 -0
  4. data/app/controllers/concerns/nyauth/client_concern.rb +31 -0
  5. data/app/controllers/nyauth/confirmation_requests_controller.rb +10 -8
  6. data/app/controllers/nyauth/confirmations_controller.rb +8 -6
  7. data/app/controllers/nyauth/new_password_requests_controller.rb +10 -8
  8. data/app/controllers/nyauth/new_passwords_controller.rb +10 -8
  9. data/app/controllers/nyauth/passwords_controller.rb +11 -9
  10. data/app/controllers/nyauth/registrations_controller.rb +10 -8
  11. data/app/controllers/nyauth/sessions_controller.rb +6 -4
  12. data/app/helpers/nyauth/application_helper.rb +38 -1
  13. data/app/mailers/nyauth/request_mailer.rb +15 -0
  14. data/app/views/nyauth/confirmation_requests/new.html.slim +1 -1
  15. data/app/views/nyauth/confirmations/edit.html.slim +2 -2
  16. data/app/views/nyauth/new_password_requests/new.html.slim +1 -1
  17. data/app/views/nyauth/new_passwords/edit.html.slim +3 -3
  18. data/app/views/nyauth/passwords/edit.html.slim +3 -3
  19. data/app/views/nyauth/registrations/new.html.slim +3 -3
  20. data/app/views/nyauth/request_mailer/request_confirmation.html.slim +2 -0
  21. data/app/views/nyauth/request_mailer/request_confirmation.text.erb +3 -0
  22. data/app/views/nyauth/request_mailer/request_new_password.html.slim +2 -0
  23. data/app/views/nyauth/request_mailer/request_new_password.text.erb +3 -0
  24. data/app/views/nyauth/sessions/new.html.slim +1 -5
  25. data/config/routes.rb +1 -1
  26. data/lib/generators/nyauth/install_generator.rb +11 -0
  27. data/lib/generators/nyauth/templates/nyauth_install_initializer.rb +7 -0
  28. data/lib/nyauth/configuration.rb +40 -0
  29. data/lib/nyauth/engine.rb +2 -0
  30. data/lib/nyauth/version.rb +1 -1
  31. data/lib/nyauth.rb +10 -0
  32. data/spec/dummy/app/controllers/pages_controller.rb +4 -0
  33. data/spec/dummy/app/controllers/posts_controller.rb +5 -0
  34. data/spec/dummy/app/models/admin.rb +3 -0
  35. data/spec/dummy/app/views/layouts/application.html.erb +2 -1
  36. data/spec/dummy/config/routes.rb +7 -1
  37. data/spec/dummy/db/development.sqlite3 +0 -0
  38. data/spec/dummy/db/migrate/20150317141956_create_admins.rb +12 -0
  39. data/spec/dummy/db/schema.rb +11 -1
  40. data/spec/dummy/db/test.sqlite3 +0 -0
  41. data/spec/dummy/log/development.log +1662 -0
  42. data/spec/dummy/log/test.log +36831 -0
  43. data/spec/dummy/tmp/capybara/capybara-201503142131285774508896.html +1 -0
  44. data/spec/dummy/tmp/capybara/capybara-201503142131502672526321.html +1 -0
  45. data/spec/dummy/tmp/capybara/capybara-201503142132597161072575.html +16 -0
  46. data/spec/dummy/tmp/capybara/capybara-201503142147454003977122.html +16 -0
  47. data/spec/dummy/tmp/capybara/capybara-201503150030597512321952.html +1 -0
  48. data/spec/dummy/tmp/capybara/capybara-201503172332094559831059.html +15 -0
  49. data/spec/dummy/tmp/capybara/capybara-201503172332489943616503.html +15 -0
  50. data/spec/dummy/tmp/capybara/capybara-201503172333245353296202.html +15 -0
  51. data/spec/dummy/tmp/capybara/capybara-201503172335156567049015.html +15 -0
  52. data/spec/dummy/tmp/capybara/capybara-201503172339176031196898.html +15 -0
  53. data/spec/dummy/tmp/capybara/capybara-201503172340144947026095.html +15 -0
  54. data/spec/dummy/tmp/capybara/capybara-201503172341585213923875.html +15 -0
  55. data/spec/dummy/tmp/capybara/capybara-201503172342188836603353.html +15 -0
  56. data/spec/dummy/tmp/capybara/capybara-201503172344586782457691.html +15 -0
  57. data/spec/dummy/tmp/capybara/capybara-201503172346495241516033.html +15 -0
  58. data/spec/dummy/tmp/capybara/capybara-201503172354248621830336.html +15 -0
  59. data/spec/dummy/tmp/capybara/capybara-20150623002226753539811.html +15 -0
  60. data/spec/dummy/tmp/pids/server.pid +1 -0
  61. data/spec/factories/admins.rb +6 -0
  62. data/spec/featrues/nyauth/registrations_spec.rb +1 -0
  63. data/spec/featrues/nyauth/sessions_spec.rb +54 -19
  64. data/spec/featrues/url_helper_on_application_spec.rb +10 -0
  65. data/spec/helpers/nyauth/application_helper_spec.rb +145 -0
  66. data/spec/lib/generators/nyauth/install_generator_spec.rb +19 -0
  67. data/spec/lib/generators/nyauth/tmp/config/initializers/nyauth.rb +7 -0
  68. data/spec/lib/nyauth/configuration_spec.rb +23 -0
  69. data/spec/mailers/nyauth/{user_mailer_spec.rb → request_mailer_spec.rb} +3 -3
  70. metadata +72 -13
  71. data/app/controllers/nyauth/base_controller.rb +0 -5
  72. data/app/mailers/nyauth/user_mailer.rb +0 -15
  73. data/app/views/nyauth/group_requests/new.html.slim +0 -14
  74. data/app/views/nyauth/groups/show.html.slim +0 -0
  75. data/app/views/nyauth/user_mailer/request_confirmation.html.slim +0 -2
  76. data/app/views/nyauth/user_mailer/request_confirmation.text.erb +0 -3
  77. data/app/views/nyauth/user_mailer/request_new_password.html.slim +0 -2
  78. data/app/views/nyauth/user_mailer/request_new_password.text.erb +0 -3
  79. /data/{app/views/nyauth/group_requests/edit.html.slim → spec/dummy/app/views/pages/index.html.slim} +0 -0

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.