nyauth 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +1 -0
- data/Rakefile +26 -0
- data/app/assets/javascripts/nyauth/application.js +13 -0
- data/app/assets/stylesheets/nyauth/application.css +15 -0
- data/app/controllers/concerns/nyauth/session_concern.rb +71 -0
- data/app/controllers/nyauth/confirmation_requests_controller.rb +28 -0
- data/app/controllers/nyauth/confirmations_controller.rb +19 -0
- data/app/controllers/nyauth/new_password_requests_controller.rb +28 -0
- data/app/controllers/nyauth/new_passwords_controller.rb +26 -0
- data/app/controllers/nyauth/passwords_controller.rb +26 -0
- data/app/controllers/nyauth/registrations_controller.rb +26 -0
- data/app/controllers/nyauth/sessions_controller.rb +31 -0
- data/app/helpers/nyauth/application_helper.rb +4 -0
- data/app/mailers/nyauth/user_mailer.rb +15 -0
- data/app/models/concerns/nyauth/authenticatable.rb +18 -0
- data/app/models/concerns/nyauth/confirmable.rb +34 -0
- data/app/models/concerns/nyauth/new_password_ability.rb +35 -0
- data/app/models/concerns/nyauth/password_digest_ability.rb +40 -0
- data/app/responders/nyauth/app_responder.rb +6 -0
- data/app/responders/nyauth/confirmation_responder.rb +14 -0
- data/app/services/nyauth/confirmation_request_service.rb +15 -0
- data/app/services/nyauth/session_service.rb +21 -0
- data/app/views/layouts/nyauth/mailer.html.erb +1 -0
- data/app/views/layouts/nyauth/mailer.text.erb +1 -0
- data/app/views/nyauth/confirmation_requests/new.html.slim +5 -0
- data/app/views/nyauth/confirmations/edit.html.slim +5 -0
- data/app/views/nyauth/group_requests/edit.html.slim +0 -0
- data/app/views/nyauth/group_requests/new.html.slim +14 -0
- data/app/views/nyauth/groups/show.html.slim +0 -0
- data/app/views/nyauth/layouts/application.html.slim +15 -0
- data/app/views/nyauth/layouts/mailer.html.slim +1 -0
- data/app/views/nyauth/layouts/mailer.text.slim +1 -0
- data/app/views/nyauth/new_password_requests/new.html.slim +5 -0
- data/app/views/nyauth/new_passwords/edit.html.slim +11 -0
- data/app/views/nyauth/passwords/edit.html.slim +11 -0
- data/app/views/nyauth/registrations/new.html.slim +12 -0
- data/app/views/nyauth/sessions/new.html.slim +15 -0
- data/app/views/nyauth/user_mailer/request_confirmation.html.slim +2 -0
- data/app/views/nyauth/user_mailer/request_confirmation.text.erb +3 -0
- data/app/views/nyauth/user_mailer/request_new_password.html.slim +2 -0
- data/app/views/nyauth/user_mailer/request_new_password.text.erb +3 -0
- data/config/application.yml +1 -0
- data/config/locales/en.yml +46 -0
- data/config/routes.rb +10 -0
- data/lib/nyauth/encryptor.rb +26 -0
- data/lib/nyauth/engine.rb +21 -0
- data/lib/nyauth/version.rb +3 -0
- data/lib/nyauth.rb +5 -0
- data/lib/tasks/nyauth_tasks.rake +4 -0
- data/spec/controllers/application_controller_spec.rb +5 -0
- data/spec/dummy/README.rdoc +28 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/javascripts/application.js +13 -0
- data/spec/dummy/app/assets/stylesheets/application.css +15 -0
- data/spec/dummy/app/controllers/application_controller.rb +7 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/models/user.rb +5 -0
- data/spec/dummy/app/views/layouts/application.html.erb +20 -0
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/bin/setup +29 -0
- data/spec/dummy/config/application.rb +32 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/database.yml +25 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +42 -0
- data/spec/dummy/config/environments/production.rb +79 -0
- data/spec/dummy/config/environments/test.rb +46 -0
- data/spec/dummy/config/initializers/assets.rb +11 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +4 -0
- data/spec/dummy/config/initializers/session_store.rb +3 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +23 -0
- data/spec/dummy/config/routes.rb +3 -0
- data/spec/dummy/config/secrets.yml +22 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/20150303135922_create_users.rb +18 -0
- data/spec/dummy/db/schema.rb +32 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +1906 -0
- data/spec/dummy/log/test.log +6719 -0
- data/spec/dummy/public/404.html +67 -0
- data/spec/dummy/public/422.html +67 -0
- data/spec/dummy/public/500.html +66 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/factories/users.rb +21 -0
- data/spec/featrues/nyauth/confirmation_requests_spec.rb +35 -0
- data/spec/featrues/nyauth/new_password_requests_spec.rb +43 -0
- data/spec/featrues/nyauth/passwords_spec.rb +27 -0
- data/spec/featrues/nyauth/registrations_spec.rb +24 -0
- data/spec/featrues/nyauth/sessions_spec.rb +36 -0
- data/spec/models/user_spec.rb +9 -0
- data/spec/rails_helper.rb +41 -0
- data/spec/spec_helper.rb +9 -0
- data/spec/support/controllers/nyauth/session_concern.rb +39 -0
- data/spec/support/macros/controller_macros.rb +3 -0
- data/spec/support/macros/feature_macros.rb +8 -0
- data/spec/support/models/nyauth/authenticatable.rb +36 -0
- data/spec/support/models/nyauth/confirmable.rb +27 -0
- data/spec/support/models/nyauth/new_password_ability.rb +13 -0
- data/spec/support/models/nyauth/password_digest_ability.rb +18 -0
- 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.