nyauth 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (110) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +1 -0
  4. data/Rakefile +26 -0
  5. data/app/assets/javascripts/nyauth/application.js +13 -0
  6. data/app/assets/stylesheets/nyauth/application.css +15 -0
  7. data/app/controllers/concerns/nyauth/session_concern.rb +71 -0
  8. data/app/controllers/nyauth/confirmation_requests_controller.rb +28 -0
  9. data/app/controllers/nyauth/confirmations_controller.rb +19 -0
  10. data/app/controllers/nyauth/new_password_requests_controller.rb +28 -0
  11. data/app/controllers/nyauth/new_passwords_controller.rb +26 -0
  12. data/app/controllers/nyauth/passwords_controller.rb +26 -0
  13. data/app/controllers/nyauth/registrations_controller.rb +26 -0
  14. data/app/controllers/nyauth/sessions_controller.rb +31 -0
  15. data/app/helpers/nyauth/application_helper.rb +4 -0
  16. data/app/mailers/nyauth/user_mailer.rb +15 -0
  17. data/app/models/concerns/nyauth/authenticatable.rb +18 -0
  18. data/app/models/concerns/nyauth/confirmable.rb +34 -0
  19. data/app/models/concerns/nyauth/new_password_ability.rb +35 -0
  20. data/app/models/concerns/nyauth/password_digest_ability.rb +40 -0
  21. data/app/responders/nyauth/app_responder.rb +6 -0
  22. data/app/responders/nyauth/confirmation_responder.rb +14 -0
  23. data/app/services/nyauth/confirmation_request_service.rb +15 -0
  24. data/app/services/nyauth/session_service.rb +21 -0
  25. data/app/views/layouts/nyauth/mailer.html.erb +1 -0
  26. data/app/views/layouts/nyauth/mailer.text.erb +1 -0
  27. data/app/views/nyauth/confirmation_requests/new.html.slim +5 -0
  28. data/app/views/nyauth/confirmations/edit.html.slim +5 -0
  29. data/app/views/nyauth/group_requests/edit.html.slim +0 -0
  30. data/app/views/nyauth/group_requests/new.html.slim +14 -0
  31. data/app/views/nyauth/groups/show.html.slim +0 -0
  32. data/app/views/nyauth/layouts/application.html.slim +15 -0
  33. data/app/views/nyauth/layouts/mailer.html.slim +1 -0
  34. data/app/views/nyauth/layouts/mailer.text.slim +1 -0
  35. data/app/views/nyauth/new_password_requests/new.html.slim +5 -0
  36. data/app/views/nyauth/new_passwords/edit.html.slim +11 -0
  37. data/app/views/nyauth/passwords/edit.html.slim +11 -0
  38. data/app/views/nyauth/registrations/new.html.slim +12 -0
  39. data/app/views/nyauth/sessions/new.html.slim +15 -0
  40. data/app/views/nyauth/user_mailer/request_confirmation.html.slim +2 -0
  41. data/app/views/nyauth/user_mailer/request_confirmation.text.erb +3 -0
  42. data/app/views/nyauth/user_mailer/request_new_password.html.slim +2 -0
  43. data/app/views/nyauth/user_mailer/request_new_password.text.erb +3 -0
  44. data/config/application.yml +1 -0
  45. data/config/locales/en.yml +46 -0
  46. data/config/routes.rb +10 -0
  47. data/lib/nyauth/encryptor.rb +26 -0
  48. data/lib/nyauth/engine.rb +21 -0
  49. data/lib/nyauth/version.rb +3 -0
  50. data/lib/nyauth.rb +5 -0
  51. data/lib/tasks/nyauth_tasks.rake +4 -0
  52. data/spec/controllers/application_controller_spec.rb +5 -0
  53. data/spec/dummy/README.rdoc +28 -0
  54. data/spec/dummy/Rakefile +6 -0
  55. data/spec/dummy/app/assets/javascripts/application.js +13 -0
  56. data/spec/dummy/app/assets/stylesheets/application.css +15 -0
  57. data/spec/dummy/app/controllers/application_controller.rb +7 -0
  58. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  59. data/spec/dummy/app/models/user.rb +5 -0
  60. data/spec/dummy/app/views/layouts/application.html.erb +20 -0
  61. data/spec/dummy/bin/bundle +3 -0
  62. data/spec/dummy/bin/rails +4 -0
  63. data/spec/dummy/bin/rake +4 -0
  64. data/spec/dummy/bin/setup +29 -0
  65. data/spec/dummy/config/application.rb +32 -0
  66. data/spec/dummy/config/boot.rb +5 -0
  67. data/spec/dummy/config/database.yml +25 -0
  68. data/spec/dummy/config/environment.rb +5 -0
  69. data/spec/dummy/config/environments/development.rb +42 -0
  70. data/spec/dummy/config/environments/production.rb +79 -0
  71. data/spec/dummy/config/environments/test.rb +46 -0
  72. data/spec/dummy/config/initializers/assets.rb +11 -0
  73. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  74. data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
  75. data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  76. data/spec/dummy/config/initializers/inflections.rb +16 -0
  77. data/spec/dummy/config/initializers/mime_types.rb +4 -0
  78. data/spec/dummy/config/initializers/session_store.rb +3 -0
  79. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  80. data/spec/dummy/config/locales/en.yml +23 -0
  81. data/spec/dummy/config/routes.rb +3 -0
  82. data/spec/dummy/config/secrets.yml +22 -0
  83. data/spec/dummy/config.ru +4 -0
  84. data/spec/dummy/db/development.sqlite3 +0 -0
  85. data/spec/dummy/db/migrate/20150303135922_create_users.rb +18 -0
  86. data/spec/dummy/db/schema.rb +32 -0
  87. data/spec/dummy/db/test.sqlite3 +0 -0
  88. data/spec/dummy/log/development.log +1906 -0
  89. data/spec/dummy/log/test.log +6719 -0
  90. data/spec/dummy/public/404.html +67 -0
  91. data/spec/dummy/public/422.html +67 -0
  92. data/spec/dummy/public/500.html +66 -0
  93. data/spec/dummy/public/favicon.ico +0 -0
  94. data/spec/factories/users.rb +21 -0
  95. data/spec/featrues/nyauth/confirmation_requests_spec.rb +35 -0
  96. data/spec/featrues/nyauth/new_password_requests_spec.rb +43 -0
  97. data/spec/featrues/nyauth/passwords_spec.rb +27 -0
  98. data/spec/featrues/nyauth/registrations_spec.rb +24 -0
  99. data/spec/featrues/nyauth/sessions_spec.rb +36 -0
  100. data/spec/models/user_spec.rb +9 -0
  101. data/spec/rails_helper.rb +41 -0
  102. data/spec/spec_helper.rb +9 -0
  103. data/spec/support/controllers/nyauth/session_concern.rb +39 -0
  104. data/spec/support/macros/controller_macros.rb +3 -0
  105. data/spec/support/macros/feature_macros.rb +8 -0
  106. data/spec/support/models/nyauth/authenticatable.rb +36 -0
  107. data/spec/support/models/nyauth/confirmable.rb +27 -0
  108. data/spec/support/models/nyauth/new_password_ability.rb +13 -0
  109. data/spec/support/models/nyauth/password_digest_ability.rb +18 -0
  110. metadata +280 -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.