nyauth 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +24 -6
- data/app/controllers/concerns/nyauth/application_concern.rb +10 -0
- data/app/controllers/concerns/nyauth/client_concern.rb +31 -0
- data/app/controllers/nyauth/confirmation_requests_controller.rb +10 -8
- data/app/controllers/nyauth/confirmations_controller.rb +8 -6
- data/app/controllers/nyauth/new_password_requests_controller.rb +10 -8
- data/app/controllers/nyauth/new_passwords_controller.rb +10 -8
- data/app/controllers/nyauth/passwords_controller.rb +11 -9
- data/app/controllers/nyauth/registrations_controller.rb +10 -8
- data/app/controllers/nyauth/sessions_controller.rb +6 -4
- data/app/helpers/nyauth/application_helper.rb +38 -1
- data/app/mailers/nyauth/request_mailer.rb +15 -0
- data/app/views/nyauth/confirmation_requests/new.html.slim +1 -1
- data/app/views/nyauth/confirmations/edit.html.slim +2 -2
- data/app/views/nyauth/new_password_requests/new.html.slim +1 -1
- data/app/views/nyauth/new_passwords/edit.html.slim +3 -3
- data/app/views/nyauth/passwords/edit.html.slim +3 -3
- data/app/views/nyauth/registrations/new.html.slim +3 -3
- data/app/views/nyauth/request_mailer/request_confirmation.html.slim +2 -0
- data/app/views/nyauth/request_mailer/request_confirmation.text.erb +3 -0
- data/app/views/nyauth/request_mailer/request_new_password.html.slim +2 -0
- data/app/views/nyauth/request_mailer/request_new_password.text.erb +3 -0
- data/app/views/nyauth/sessions/new.html.slim +1 -5
- data/config/routes.rb +1 -1
- data/lib/generators/nyauth/install_generator.rb +11 -0
- data/lib/generators/nyauth/templates/nyauth_install_initializer.rb +7 -0
- data/lib/nyauth/configuration.rb +40 -0
- data/lib/nyauth/engine.rb +2 -0
- data/lib/nyauth/version.rb +1 -1
- data/lib/nyauth.rb +10 -0
- data/spec/dummy/app/controllers/pages_controller.rb +4 -0
- data/spec/dummy/app/controllers/posts_controller.rb +5 -0
- data/spec/dummy/app/models/admin.rb +3 -0
- data/spec/dummy/app/views/layouts/application.html.erb +2 -1
- data/spec/dummy/config/routes.rb +7 -1
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/20150317141956_create_admins.rb +12 -0
- data/spec/dummy/db/schema.rb +11 -1
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +1662 -0
- data/spec/dummy/log/test.log +36831 -0
- data/spec/dummy/tmp/capybara/capybara-201503142131285774508896.html +1 -0
- data/spec/dummy/tmp/capybara/capybara-201503142131502672526321.html +1 -0
- data/spec/dummy/tmp/capybara/capybara-201503142132597161072575.html +16 -0
- data/spec/dummy/tmp/capybara/capybara-201503142147454003977122.html +16 -0
- data/spec/dummy/tmp/capybara/capybara-201503150030597512321952.html +1 -0
- data/spec/dummy/tmp/capybara/capybara-201503172332094559831059.html +15 -0
- data/spec/dummy/tmp/capybara/capybara-201503172332489943616503.html +15 -0
- data/spec/dummy/tmp/capybara/capybara-201503172333245353296202.html +15 -0
- data/spec/dummy/tmp/capybara/capybara-201503172335156567049015.html +15 -0
- data/spec/dummy/tmp/capybara/capybara-201503172339176031196898.html +15 -0
- data/spec/dummy/tmp/capybara/capybara-201503172340144947026095.html +15 -0
- data/spec/dummy/tmp/capybara/capybara-201503172341585213923875.html +15 -0
- data/spec/dummy/tmp/capybara/capybara-201503172342188836603353.html +15 -0
- data/spec/dummy/tmp/capybara/capybara-201503172344586782457691.html +15 -0
- data/spec/dummy/tmp/capybara/capybara-201503172346495241516033.html +15 -0
- data/spec/dummy/tmp/capybara/capybara-201503172354248621830336.html +15 -0
- data/spec/dummy/tmp/capybara/capybara-20150623002226753539811.html +15 -0
- data/spec/dummy/tmp/pids/server.pid +1 -0
- data/spec/factories/admins.rb +6 -0
- data/spec/featrues/nyauth/registrations_spec.rb +1 -0
- data/spec/featrues/nyauth/sessions_spec.rb +54 -19
- data/spec/featrues/url_helper_on_application_spec.rb +10 -0
- data/spec/helpers/nyauth/application_helper_spec.rb +145 -0
- data/spec/lib/generators/nyauth/install_generator_spec.rb +19 -0
- data/spec/lib/generators/nyauth/tmp/config/initializers/nyauth.rb +7 -0
- data/spec/lib/nyauth/configuration_spec.rb +23 -0
- data/spec/mailers/nyauth/{user_mailer_spec.rb → request_mailer_spec.rb} +3 -3
- metadata +72 -13
- data/app/controllers/nyauth/base_controller.rb +0 -5
- data/app/mailers/nyauth/user_mailer.rb +0 -15
- data/app/views/nyauth/group_requests/new.html.slim +0 -14
- data/app/views/nyauth/groups/show.html.slim +0 -0
- data/app/views/nyauth/user_mailer/request_confirmation.html.slim +0 -2
- data/app/views/nyauth/user_mailer/request_confirmation.text.erb +0 -3
- data/app/views/nyauth/user_mailer/request_new_password.html.slim +0 -2
- data/app/views/nyauth/user_mailer/request_new_password.text.erb +0 -3
- /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.