any_login 1.4.4 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +22 -7
- data/app/controllers/any_login/application_controller.rb +3 -2
- data/lib/any_login/engine.rb +19 -22
- data/lib/any_login/helpers.rb +2 -2
- data/lib/any_login/providers/authlogic.rb +0 -2
- data/lib/any_login/providers/clearance.rb +0 -4
- data/lib/any_login/providers/devise.rb +0 -2
- data/lib/any_login/providers/sorcery.rb +0 -2
- data/lib/any_login/version.rb +1 -1
- data/test/authlogic/integration/navigation_test.rb +25 -0
- data/test/authlogic/test_helper_authlogic.rb +5 -0
- data/test/clearance/integration/navigation_test.rb +24 -0
- data/test/clearance/test_helper_clearance.rb +5 -0
- data/test/devise/integration/navigation_test.rb +26 -0
- data/test/devise/test_helper_devise.rb +5 -0
- data/test/{any_login_test.rb → devise/unit/any_login_test.rb} +1 -1
- data/test/{any_login → devise/unit}/collection_test.rb +1 -1
- data/test/{dummy-sorcery → rails_apps/authlogic}/Rakefile +1 -1
- data/test/rails_apps/authlogic/app/assets/config/manifest.js +1 -0
- data/test/{dummy-authlogic → rails_apps/authlogic}/app/controllers/application_controller.rb +0 -0
- data/test/{dummy-authlogic → rails_apps/authlogic}/app/controllers/home_controller.rb +1 -1
- data/test/{dummy-authlogic → rails_apps/authlogic}/app/controllers/user_sessions_controller.rb +0 -0
- data/test/{dummy-authlogic → rails_apps/authlogic}/app/models/user.rb +0 -0
- data/test/{dummy-authlogic → rails_apps/authlogic}/app/models/user_session.rb +0 -0
- data/test/{dummy-authlogic → rails_apps/authlogic}/app/views/home/about.html.erb +0 -0
- data/test/{dummy-authlogic → rails_apps/authlogic}/app/views/home/index.html.erb +0 -0
- data/test/rails_apps/authlogic/app/views/layouts/application.html.erb +29 -0
- data/test/{dummy-authlogic → rails_apps/authlogic}/app/views/shared/_footer.html.erb +0 -0
- data/test/{dummy-authlogic → rails_apps/authlogic}/app/views/shared/_header.html.erb +0 -0
- data/test/{dummy-authlogic → rails_apps/authlogic}/app/views/user_sessions/new.html.erb +0 -0
- data/test/rails_apps/authlogic/bin/rails +4 -0
- data/test/rails_apps/authlogic/bin/rake +4 -0
- data/test/rails_apps/authlogic/bin/setup +33 -0
- data/test/rails_apps/authlogic/config/application.rb +25 -0
- data/test/rails_apps/authlogic/config/boot.rb +5 -0
- data/test/{dummy-sorcery → rails_apps/authlogic}/config/database.yml +3 -3
- data/test/{dummy-clearance → rails_apps/authlogic}/config/environment.rb +1 -1
- data/test/rails_apps/authlogic/config/environments/development.rb +70 -0
- data/test/{dummy → rails_apps/authlogic}/config/environments/production.rb +40 -26
- data/test/rails_apps/authlogic/config/environments/test.rb +60 -0
- data/test/{dummy-authlogic → rails_apps/authlogic}/config/initializers/any_login.rb +1 -0
- data/test/rails_apps/authlogic/config/initializers/assets.rb +12 -0
- data/test/rails_apps/authlogic/config/initializers/filter_parameter_logging.rb +8 -0
- data/test/{dummy-clearance → rails_apps/authlogic}/config/initializers/inflections.rb +4 -4
- data/test/{dummy-sorcery → rails_apps/authlogic}/config/initializers/sorcery.rb +0 -0
- data/test/{dummy-sorcery → rails_apps/authlogic}/config/locales/en.yml +13 -3
- data/test/{dummy-authlogic → rails_apps/authlogic}/config/routes.rb +0 -0
- data/test/rails_apps/authlogic/config/storage.yml +34 -0
- data/test/{dummy-clearance → rails_apps/authlogic}/config.ru +3 -1
- data/test/{dummy-clearance → rails_apps/authlogic}/db/migrate/20150907190739_create_users.rb +1 -1
- data/test/{dummy → rails_apps/authlogic}/db/migrate/20150907190846_add_devise_to_users.rb +1 -1
- data/test/{dummy-clearance → rails_apps/authlogic}/db/migrate/20150928123254_change_users.rb +1 -1
- data/test/rails_apps/authlogic/db/migrate/20220825195914_populate_test_users.rb +21 -0
- data/test/rails_apps/authlogic/db/schema.rb +46 -0
- data/test/{dummy-authlogic → rails_apps/authlogic}/public/404.html +6 -6
- data/test/{dummy-clearance → rails_apps/authlogic}/public/422.html +6 -6
- data/test/{dummy-clearance → rails_apps/authlogic}/public/500.html +6 -6
- data/test/{dummy-authlogic → rails_apps/authlogic}/public/favicon.ico +0 -0
- data/test/{dummy-clearance → rails_apps/clearance}/Rakefile +1 -1
- data/test/rails_apps/clearance/app/assets/config/manifest.js +1 -0
- data/test/{dummy-clearance → rails_apps/clearance}/app/controllers/application_controller.rb +0 -0
- data/test/{dummy-clearance → rails_apps/clearance}/app/controllers/home_controller.rb +0 -0
- data/test/{dummy-clearance → rails_apps/clearance}/app/models/user.rb +0 -0
- data/test/{dummy-clearance → rails_apps/clearance}/app/models/user_session.rb +0 -0
- data/test/{dummy-clearance → rails_apps/clearance}/app/views/home/about.html.erb +0 -0
- data/test/{dummy-clearance → rails_apps/clearance}/app/views/home/index.html.erb +0 -0
- data/test/rails_apps/clearance/app/views/layouts/application.html.erb +29 -0
- data/test/{dummy-clearance → rails_apps/clearance}/app/views/shared/_footer.html.erb +0 -0
- data/test/{dummy-clearance → rails_apps/clearance}/app/views/shared/_header.html.erb +0 -0
- data/test/rails_apps/clearance/bin/rails +4 -0
- data/test/rails_apps/clearance/bin/rake +4 -0
- data/test/rails_apps/clearance/bin/setup +33 -0
- data/test/rails_apps/clearance/config/application.rb +25 -0
- data/test/rails_apps/clearance/config/boot.rb +5 -0
- data/test/{dummy-authlogic → rails_apps/clearance}/config/database.yml +3 -3
- data/test/{dummy → rails_apps/clearance}/config/environment.rb +1 -1
- data/test/rails_apps/clearance/config/environments/development.rb +70 -0
- data/test/{dummy-authlogic → rails_apps/clearance}/config/environments/production.rb +40 -26
- data/test/rails_apps/clearance/config/environments/test.rb +60 -0
- data/test/{dummy-clearance → rails_apps/clearance}/config/initializers/any_login.rb +1 -0
- data/test/rails_apps/clearance/config/initializers/assets.rb +12 -0
- data/test/{dummy-clearance → rails_apps/clearance}/config/initializers/clearance.rb +0 -0
- data/test/rails_apps/clearance/config/initializers/filter_parameter_logging.rb +8 -0
- data/test/{dummy-sorcery → rails_apps/clearance}/config/initializers/inflections.rb +4 -4
- data/test/{dummy-authlogic → rails_apps/clearance}/config/locales/en.yml +13 -3
- data/test/{dummy-clearance → rails_apps/clearance}/config/routes.rb +0 -0
- data/test/rails_apps/clearance/config/storage.yml +34 -0
- data/test/{dummy-sorcery → rails_apps/clearance}/config.ru +3 -1
- data/test/{dummy-sorcery → rails_apps/clearance}/db/migrate/20150907190739_create_users.rb +1 -1
- data/test/{dummy-sorcery → rails_apps/clearance}/db/migrate/20150907190846_add_devise_to_users.rb +1 -1
- data/test/{dummy-clearance → rails_apps/clearance}/db/migrate/20150909210357_populate_test_users.rb +6 -6
- data/test/{dummy-authlogic → rails_apps/clearance}/db/migrate/20150928123254_change_users.rb +1 -1
- data/test/{dummy-clearance → rails_apps/clearance}/db/migrate/20151007170422_add_clearance_to_users.rb +1 -1
- data/test/rails_apps/clearance/db/schema.rb +49 -0
- data/test/{dummy-sorcery → rails_apps/clearance}/public/404.html +6 -6
- data/test/{dummy-sorcery → rails_apps/clearance}/public/422.html +6 -6
- data/test/{dummy-sorcery → rails_apps/clearance}/public/500.html +6 -6
- data/test/{dummy-clearance → rails_apps/clearance}/public/favicon.ico +0 -0
- data/test/{dummy → rails_apps/devise}/Rakefile +1 -1
- data/test/rails_apps/devise/app/assets/config/manifest.js +1 -0
- data/test/rails_apps/devise/app/controllers/application_controller.rb +2 -0
- data/test/{dummy → rails_apps/devise}/app/controllers/home_controller.rb +0 -0
- data/test/{dummy → rails_apps/devise}/app/models/user.rb +0 -0
- data/test/{dummy-sorcery → rails_apps/devise}/app/views/home/about.html.erb +0 -0
- data/test/{dummy → rails_apps/devise}/app/views/home/index.html.erb +0 -0
- data/test/rails_apps/devise/app/views/layouts/application.html.erb +29 -0
- data/test/{dummy → rails_apps/devise}/app/views/shared/_footer.html.erb +0 -1
- data/test/{dummy-sorcery → rails_apps/devise}/app/views/shared/_header.html.erb +0 -0
- data/test/rails_apps/devise/bin/rails +4 -0
- data/test/rails_apps/devise/bin/rake +4 -0
- data/test/rails_apps/devise/bin/setup +33 -0
- data/test/rails_apps/devise/config/application.rb +25 -0
- data/test/rails_apps/devise/config/boot.rb +5 -0
- data/test/{dummy → rails_apps/devise}/config/database.yml +3 -3
- data/test/{dummy-sorcery → rails_apps/devise}/config/environment.rb +1 -1
- data/test/rails_apps/devise/config/environments/development.rb +67 -0
- data/test/{dummy-clearance → rails_apps/devise}/config/environments/production.rb +40 -26
- data/test/rails_apps/devise/config/environments/test.rb +60 -0
- data/test/{dummy → rails_apps/devise}/config/initializers/any_login.rb +1 -0
- data/test/rails_apps/devise/config/initializers/assets.rb +12 -0
- data/test/{dummy → rails_apps/devise}/config/initializers/devise.rb +0 -0
- data/test/rails_apps/devise/config/initializers/filter_parameter_logging.rb +8 -0
- data/test/{dummy-authlogic → rails_apps/devise}/config/initializers/inflections.rb +4 -4
- data/test/{dummy → rails_apps/devise}/config/locales/en.yml +13 -3
- data/test/{dummy → rails_apps/devise}/config/routes.rb +0 -0
- data/test/rails_apps/devise/config/storage.yml +34 -0
- data/test/{dummy-authlogic → rails_apps/devise}/config.ru +3 -1
- data/test/{dummy → rails_apps/devise}/db/migrate/20150907190739_create_users.rb +1 -1
- data/test/{dummy-clearance → rails_apps/devise}/db/migrate/20150907190846_add_devise_to_users.rb +1 -1
- data/test/rails_apps/devise/db/migrate/20150909210357_populate_test_users.rb +21 -0
- data/test/rails_apps/devise/db/schema.rb +35 -0
- data/test/{dummy-clearance → rails_apps/devise}/public/404.html +6 -6
- data/test/{dummy → rails_apps/devise}/public/422.html +6 -6
- data/test/{dummy → rails_apps/devise}/public/500.html +6 -6
- data/test/{dummy-sorcery → rails_apps/devise}/public/favicon.ico +0 -0
- data/test/{dummy-authlogic → rails_apps/sorcery}/Rakefile +1 -1
- data/test/rails_apps/sorcery/app/assets/config/manifest.js +1 -0
- data/test/rails_apps/sorcery/app/controllers/application_controller.rb +2 -0
- data/test/{dummy-sorcery → rails_apps/sorcery}/app/controllers/home_controller.rb +0 -0
- data/test/{dummy-sorcery → rails_apps/sorcery}/app/models/user.rb +0 -0
- data/test/{dummy → rails_apps/sorcery}/app/views/home/about.html.erb +0 -0
- data/test/{dummy-sorcery → rails_apps/sorcery}/app/views/home/index.html.erb +0 -0
- data/test/rails_apps/sorcery/app/views/layouts/application.html.erb +29 -0
- data/test/{dummy-sorcery → rails_apps/sorcery}/app/views/shared/_footer.html.erb +0 -0
- data/test/{dummy → rails_apps/sorcery}/app/views/shared/_header.html.erb +0 -0
- data/test/rails_apps/sorcery/bin/rails +4 -0
- data/test/rails_apps/sorcery/bin/rake +4 -0
- data/test/rails_apps/sorcery/bin/setup +33 -0
- data/test/rails_apps/sorcery/config/application.rb +25 -0
- data/test/rails_apps/sorcery/config/boot.rb +5 -0
- data/test/{dummy-clearance → rails_apps/sorcery}/config/database.yml +3 -3
- data/test/{dummy-authlogic → rails_apps/sorcery}/config/environment.rb +1 -1
- data/test/rails_apps/sorcery/config/environments/development.rb +70 -0
- data/test/{dummy-sorcery → rails_apps/sorcery}/config/environments/production.rb +40 -26
- data/test/rails_apps/sorcery/config/environments/test.rb +60 -0
- data/test/{dummy-sorcery → rails_apps/sorcery}/config/initializers/any_login.rb +1 -0
- data/test/rails_apps/sorcery/config/initializers/assets.rb +12 -0
- data/test/rails_apps/sorcery/config/initializers/filter_parameter_logging.rb +8 -0
- data/test/{dummy → rails_apps/sorcery}/config/initializers/inflections.rb +4 -4
- data/test/rails_apps/sorcery/config/initializers/sorcery.rb +463 -0
- data/test/{dummy-clearance → rails_apps/sorcery}/config/locales/en.yml +13 -3
- data/test/{dummy-sorcery → rails_apps/sorcery}/config/routes.rb +0 -0
- data/test/rails_apps/sorcery/config/storage.yml +34 -0
- data/test/{dummy → rails_apps/sorcery}/config.ru +3 -1
- data/test/{dummy-authlogic → rails_apps/sorcery}/db/migrate/20150907190739_create_users.rb +1 -1
- data/test/{dummy-authlogic → rails_apps/sorcery}/db/migrate/20150907190846_add_devise_to_users.rb +1 -1
- data/test/rails_apps/sorcery/db/migrate/20150909210357_add_role_to_users.rb +6 -0
- data/test/{dummy-sorcery → rails_apps/sorcery}/db/migrate/20151019154558_sorcery_core.rb +2 -2
- data/test/rails_apps/sorcery/db/migrate/20220827040518_populate_test_users.rb +20 -0
- data/test/rails_apps/sorcery/db/schema.rb +37 -0
- data/test/{dummy → rails_apps/sorcery}/public/404.html +6 -6
- data/test/{dummy-authlogic → rails_apps/sorcery}/public/422.html +6 -6
- data/test/{dummy-authlogic → rails_apps/sorcery}/public/500.html +6 -6
- data/test/{dummy → rails_apps/sorcery}/public/favicon.ico +0 -0
- data/test/sorcery/integration/navigation_test.rb +24 -0
- data/test/sorcery/test_helper_sorcery.rb +5 -0
- data/test/test_helper_common.rb +25 -0
- metadata +346 -632
- data/test/dummy/README.rdoc +0 -28
- data/test/dummy/app/assets/fonts/glyphicons-halflings-regular.eot +0 -0
- data/test/dummy/app/assets/fonts/glyphicons-halflings-regular.svg +0 -288
- data/test/dummy/app/assets/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/test/dummy/app/assets/fonts/glyphicons-halflings-regular.woff +0 -0
- data/test/dummy/app/assets/fonts/glyphicons-halflings-regular.woff2 +0 -0
- data/test/dummy/app/assets/javascripts/application.js +0 -15
- data/test/dummy/app/assets/javascripts/bootstrap.min.js +0 -7
- data/test/dummy/app/assets/javascripts/home.js +0 -2
- data/test/dummy/app/assets/stylesheets/application.css +0 -22
- data/test/dummy/app/assets/stylesheets/bootstrap-theme.min.css +0 -5
- data/test/dummy/app/assets/stylesheets/bootstrap.min.css +0 -5
- data/test/dummy/app/assets/stylesheets/home.css +0 -4
- data/test/dummy/app/controllers/application_controller.rb +0 -5
- data/test/dummy/app/helpers/application_helper.rb +0 -2
- data/test/dummy/app/helpers/home_helper.rb +0 -2
- data/test/dummy/app/views/layouts/application.html.erb +0 -22
- data/test/dummy/bin/bundle +0 -3
- data/test/dummy/bin/rails +0 -4
- data/test/dummy/bin/rake +0 -4
- data/test/dummy/bin/setup +0 -29
- data/test/dummy/config/application.rb +0 -26
- data/test/dummy/config/boot.rb +0 -5
- data/test/dummy/config/environments/development.rb +0 -42
- data/test/dummy/config/environments/test.rb +0 -42
- data/test/dummy/config/initializers/assets.rb +0 -11
- data/test/dummy/config/initializers/backtrace_silencers.rb +0 -7
- data/test/dummy/config/initializers/cookies_serializer.rb +0 -3
- data/test/dummy/config/initializers/filter_parameter_logging.rb +0 -4
- data/test/dummy/config/initializers/mime_types.rb +0 -4
- data/test/dummy/config/initializers/session_store.rb +0 -3
- data/test/dummy/config/initializers/wrap_parameters.rb +0 -14
- data/test/dummy/config/locales/devise.en.yml +0 -60
- data/test/dummy/config/secrets.yml +0 -22
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/20150909210357_populate_test_users.rb +0 -21
- data/test/dummy/db/schema.rb +0 -37
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +0 -25
- data/test/dummy-authlogic/README.rdoc +0 -28
- data/test/dummy-authlogic/app/assets/fonts/glyphicons-halflings-regular.eot +0 -0
- data/test/dummy-authlogic/app/assets/fonts/glyphicons-halflings-regular.svg +0 -288
- data/test/dummy-authlogic/app/assets/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/test/dummy-authlogic/app/assets/fonts/glyphicons-halflings-regular.woff +0 -0
- data/test/dummy-authlogic/app/assets/fonts/glyphicons-halflings-regular.woff2 +0 -0
- data/test/dummy-authlogic/app/assets/javascripts/application.js +0 -15
- data/test/dummy-authlogic/app/assets/javascripts/bootstrap.min.js +0 -7
- data/test/dummy-authlogic/app/assets/javascripts/home.js +0 -2
- data/test/dummy-authlogic/app/assets/stylesheets/application.css +0 -15
- data/test/dummy-authlogic/app/assets/stylesheets/bootstrap-theme.min.css +0 -5
- data/test/dummy-authlogic/app/assets/stylesheets/bootstrap.min.css +0 -5
- data/test/dummy-authlogic/app/assets/stylesheets/home.css +0 -4
- data/test/dummy-authlogic/app/helpers/application_helper.rb +0 -2
- data/test/dummy-authlogic/app/helpers/home_helper.rb +0 -2
- data/test/dummy-authlogic/app/views/layouts/application.html.erb +0 -22
- data/test/dummy-authlogic/bin/bundle +0 -3
- data/test/dummy-authlogic/bin/rails +0 -4
- data/test/dummy-authlogic/bin/rake +0 -4
- data/test/dummy-authlogic/bin/setup +0 -29
- data/test/dummy-authlogic/config/application.rb +0 -26
- data/test/dummy-authlogic/config/boot.rb +0 -5
- data/test/dummy-authlogic/config/environments/development.rb +0 -42
- data/test/dummy-authlogic/config/environments/test.rb +0 -42
- data/test/dummy-authlogic/config/initializers/assets.rb +0 -11
- data/test/dummy-authlogic/config/initializers/backtrace_silencers.rb +0 -7
- data/test/dummy-authlogic/config/initializers/cookies_serializer.rb +0 -3
- data/test/dummy-authlogic/config/initializers/filter_parameter_logging.rb +0 -4
- data/test/dummy-authlogic/config/initializers/mime_types.rb +0 -4
- data/test/dummy-authlogic/config/initializers/session_store.rb +0 -3
- data/test/dummy-authlogic/config/initializers/wrap_parameters.rb +0 -14
- data/test/dummy-authlogic/config/locales/devise.en.yml +0 -60
- data/test/dummy-authlogic/config/secrets.yml +0 -22
- data/test/dummy-authlogic/db/development.sqlite3 +0 -0
- data/test/dummy-authlogic/db/migrate/20150909210357_populate_test_users.rb +0 -21
- data/test/dummy-authlogic/db/schema.rb +0 -48
- data/test/dummy-clearance/README.rdoc +0 -28
- data/test/dummy-clearance/app/assets/fonts/glyphicons-halflings-regular.eot +0 -0
- data/test/dummy-clearance/app/assets/fonts/glyphicons-halflings-regular.svg +0 -288
- data/test/dummy-clearance/app/assets/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/test/dummy-clearance/app/assets/fonts/glyphicons-halflings-regular.woff +0 -0
- data/test/dummy-clearance/app/assets/fonts/glyphicons-halflings-regular.woff2 +0 -0
- data/test/dummy-clearance/app/assets/javascripts/application.js +0 -15
- data/test/dummy-clearance/app/assets/javascripts/bootstrap.min.js +0 -7
- data/test/dummy-clearance/app/assets/javascripts/home.js +0 -2
- data/test/dummy-clearance/app/assets/stylesheets/application.css +0 -15
- data/test/dummy-clearance/app/assets/stylesheets/bootstrap-theme.min.css +0 -5
- data/test/dummy-clearance/app/assets/stylesheets/bootstrap.min.css +0 -5
- data/test/dummy-clearance/app/assets/stylesheets/home.css +0 -4
- data/test/dummy-clearance/app/helpers/application_helper.rb +0 -2
- data/test/dummy-clearance/app/helpers/home_helper.rb +0 -2
- data/test/dummy-clearance/app/views/layouts/application.html.erb +0 -22
- data/test/dummy-clearance/app/views/user_sessions/new.html.erb +0 -11
- data/test/dummy-clearance/bin/bundle +0 -3
- data/test/dummy-clearance/bin/rails +0 -4
- data/test/dummy-clearance/bin/rake +0 -4
- data/test/dummy-clearance/bin/setup +0 -29
- data/test/dummy-clearance/config/application.rb +0 -26
- data/test/dummy-clearance/config/boot.rb +0 -5
- data/test/dummy-clearance/config/environments/development.rb +0 -42
- data/test/dummy-clearance/config/environments/test.rb +0 -42
- data/test/dummy-clearance/config/initializers/assets.rb +0 -11
- data/test/dummy-clearance/config/initializers/backtrace_silencers.rb +0 -7
- data/test/dummy-clearance/config/initializers/cookies_serializer.rb +0 -3
- data/test/dummy-clearance/config/initializers/filter_parameter_logging.rb +0 -4
- data/test/dummy-clearance/config/initializers/mime_types.rb +0 -4
- data/test/dummy-clearance/config/initializers/session_store.rb +0 -3
- data/test/dummy-clearance/config/initializers/wrap_parameters.rb +0 -14
- data/test/dummy-clearance/config/locales/devise.en.yml +0 -60
- data/test/dummy-clearance/config/secrets.yml +0 -22
- data/test/dummy-clearance/db/schema.rb +0 -51
- data/test/dummy-sorcery/README.rdoc +0 -28
- data/test/dummy-sorcery/app/assets/fonts/glyphicons-halflings-regular.eot +0 -0
- data/test/dummy-sorcery/app/assets/fonts/glyphicons-halflings-regular.svg +0 -288
- data/test/dummy-sorcery/app/assets/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/test/dummy-sorcery/app/assets/fonts/glyphicons-halflings-regular.woff +0 -0
- data/test/dummy-sorcery/app/assets/fonts/glyphicons-halflings-regular.woff2 +0 -0
- data/test/dummy-sorcery/app/assets/javascripts/application.js +0 -15
- data/test/dummy-sorcery/app/assets/javascripts/bootstrap.min.js +0 -7
- data/test/dummy-sorcery/app/assets/javascripts/home.js +0 -2
- data/test/dummy-sorcery/app/assets/stylesheets/application.css +0 -15
- data/test/dummy-sorcery/app/assets/stylesheets/bootstrap-theme.min.css +0 -5
- data/test/dummy-sorcery/app/assets/stylesheets/bootstrap.min.css +0 -5
- data/test/dummy-sorcery/app/assets/stylesheets/home.css +0 -4
- data/test/dummy-sorcery/app/controllers/application_controller.rb +0 -5
- data/test/dummy-sorcery/app/helpers/application_helper.rb +0 -2
- data/test/dummy-sorcery/app/helpers/home_helper.rb +0 -2
- data/test/dummy-sorcery/app/views/layouts/application.html.erb +0 -22
- data/test/dummy-sorcery/bin/bundle +0 -3
- data/test/dummy-sorcery/bin/rails +0 -4
- data/test/dummy-sorcery/bin/rake +0 -4
- data/test/dummy-sorcery/bin/setup +0 -29
- data/test/dummy-sorcery/config/application.rb +0 -26
- data/test/dummy-sorcery/config/boot.rb +0 -5
- data/test/dummy-sorcery/config/environments/development.rb +0 -42
- data/test/dummy-sorcery/config/environments/test.rb +0 -42
- data/test/dummy-sorcery/config/initializers/assets.rb +0 -11
- data/test/dummy-sorcery/config/initializers/backtrace_silencers.rb +0 -7
- data/test/dummy-sorcery/config/initializers/cookies_serializer.rb +0 -3
- data/test/dummy-sorcery/config/initializers/filter_parameter_logging.rb +0 -4
- data/test/dummy-sorcery/config/initializers/mime_types.rb +0 -4
- data/test/dummy-sorcery/config/initializers/session_store.rb +0 -3
- data/test/dummy-sorcery/config/initializers/wrap_parameters.rb +0 -14
- data/test/dummy-sorcery/config/locales/devise.en.yml +0 -60
- data/test/dummy-sorcery/config/secrets.yml +0 -22
- data/test/dummy-sorcery/db/migrate/20150909210357_populate_test_users.rb +0 -21
- data/test/dummy-sorcery/db/schema.rb +0 -39
- data/test/integration/navigation_test.rb +0 -8
- data/test/test_helper.rb +0 -17
@@ -1,26 +0,0 @@
|
|
1
|
-
require File.expand_path('../boot', __FILE__)
|
2
|
-
|
3
|
-
require 'rails/all'
|
4
|
-
|
5
|
-
Bundler.require(*Rails.groups)
|
6
|
-
require "any_login"
|
7
|
-
|
8
|
-
module Dummy
|
9
|
-
class Application < Rails::Application
|
10
|
-
# Settings in config/environments/* take precedence over those specified here.
|
11
|
-
# Application configuration should go into files in config/initializers
|
12
|
-
# -- all .rb files in that directory are automatically loaded.
|
13
|
-
|
14
|
-
# Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
|
15
|
-
# Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
|
16
|
-
# config.time_zone = 'Central Time (US & Canada)'
|
17
|
-
|
18
|
-
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
|
19
|
-
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
|
20
|
-
# config.i18n.default_locale = :de
|
21
|
-
|
22
|
-
# Do not swallow errors in after_commit/after_rollback callbacks.
|
23
|
-
config.active_record.raise_in_transactional_callbacks = true
|
24
|
-
end
|
25
|
-
end
|
26
|
-
|
@@ -1,42 +0,0 @@
|
|
1
|
-
Rails.application.configure do
|
2
|
-
# Settings specified here will take precedence over those in config/application.rb.
|
3
|
-
|
4
|
-
# In the development environment your application's code is reloaded on
|
5
|
-
# every request. This slows down response time but is perfect for development
|
6
|
-
# since you don't have to restart the web server when you make code changes.
|
7
|
-
config.cache_classes = false
|
8
|
-
|
9
|
-
# Do not eager load code on boot.
|
10
|
-
config.eager_load = false
|
11
|
-
|
12
|
-
# Show full error reports and disable caching.
|
13
|
-
config.consider_all_requests_local = true
|
14
|
-
config.action_controller.perform_caching = false
|
15
|
-
|
16
|
-
# Don't care if the mailer can't send.
|
17
|
-
config.action_mailer.raise_delivery_errors = false
|
18
|
-
|
19
|
-
# Print deprecation notices to the Rails logger.
|
20
|
-
config.active_support.deprecation = :log
|
21
|
-
|
22
|
-
# Raise an error on page load if there are pending migrations.
|
23
|
-
config.active_record.migration_error = :page_load
|
24
|
-
|
25
|
-
# Debug mode disables concatenation and preprocessing of assets.
|
26
|
-
# This option may cause significant delays in view rendering with a large
|
27
|
-
# number of complex assets.
|
28
|
-
config.assets.debug = true
|
29
|
-
|
30
|
-
# Asset digests allow you to set far-future HTTP expiration dates on all assets,
|
31
|
-
# yet still be able to expire them through the digest params.
|
32
|
-
config.assets.digest = true
|
33
|
-
|
34
|
-
# Adds additional error checking when serving assets at runtime.
|
35
|
-
# Checks for improperly declared sprockets dependencies.
|
36
|
-
# Raises helpful error messages.
|
37
|
-
config.assets.raise_runtime_errors = true
|
38
|
-
|
39
|
-
# Raises error for missing translations
|
40
|
-
# config.action_view.raise_on_missing_translations = true
|
41
|
-
config.action_mailer.default_url_options = { host: 'localhost', port: 3000 }
|
42
|
-
end
|
@@ -1,42 +0,0 @@
|
|
1
|
-
Rails.application.configure do
|
2
|
-
# Settings specified here will take precedence over those in config/application.rb.
|
3
|
-
|
4
|
-
# The test environment is used exclusively to run your application's
|
5
|
-
# test suite. You never need to work with it otherwise. Remember that
|
6
|
-
# your test database is "scratch space" for the test suite and is wiped
|
7
|
-
# and recreated between test runs. Don't rely on the data there!
|
8
|
-
config.cache_classes = true
|
9
|
-
|
10
|
-
# Do not eager load code on boot. This avoids loading your whole application
|
11
|
-
# just for the purpose of running a single test. If you are using a tool that
|
12
|
-
# preloads Rails for running tests, you may have to set it to true.
|
13
|
-
config.eager_load = false
|
14
|
-
|
15
|
-
# Configure static file server for tests with Cache-Control for performance.
|
16
|
-
config.serve_static_files = true
|
17
|
-
config.static_cache_control = 'public, max-age=3600'
|
18
|
-
|
19
|
-
# Show full error reports and disable caching.
|
20
|
-
config.consider_all_requests_local = true
|
21
|
-
config.action_controller.perform_caching = false
|
22
|
-
|
23
|
-
# Raise exceptions instead of rendering exception templates.
|
24
|
-
config.action_dispatch.show_exceptions = false
|
25
|
-
|
26
|
-
# Disable request forgery protection in test environment.
|
27
|
-
config.action_controller.allow_forgery_protection = false
|
28
|
-
|
29
|
-
# Tell Action Mailer not to deliver emails to the real world.
|
30
|
-
# The :test delivery method accumulates sent emails in the
|
31
|
-
# ActionMailer::Base.deliveries array.
|
32
|
-
config.action_mailer.delivery_method = :test
|
33
|
-
|
34
|
-
# Randomize the order test cases are executed.
|
35
|
-
config.active_support.test_order = :random
|
36
|
-
|
37
|
-
# Print deprecation notices to the stderr.
|
38
|
-
config.active_support.deprecation = :stderr
|
39
|
-
|
40
|
-
# Raises error for missing translations
|
41
|
-
# config.action_view.raise_on_missing_translations = true
|
42
|
-
end
|
@@ -1,11 +0,0 @@
|
|
1
|
-
# Be sure to restart your server when you modify this file.
|
2
|
-
|
3
|
-
# Version of your assets, change this if you want to expire all your assets.
|
4
|
-
Rails.application.config.assets.version = '1.0'
|
5
|
-
|
6
|
-
# Add additional assets to the asset load path
|
7
|
-
# Rails.application.config.assets.paths << Emoji.images_path
|
8
|
-
|
9
|
-
# Precompile additional assets.
|
10
|
-
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
|
11
|
-
# Rails.application.config.assets.precompile += %w( search.js )
|
@@ -1,7 +0,0 @@
|
|
1
|
-
# Be sure to restart your server when you modify this file.
|
2
|
-
|
3
|
-
# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
|
4
|
-
# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
|
5
|
-
|
6
|
-
# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
|
7
|
-
# Rails.backtrace_cleaner.remove_silencers!
|
@@ -1,14 +0,0 @@
|
|
1
|
-
# Be sure to restart your server when you modify this file.
|
2
|
-
|
3
|
-
# This file contains settings for ActionController::ParamsWrapper which
|
4
|
-
# is enabled by default.
|
5
|
-
|
6
|
-
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
|
7
|
-
ActiveSupport.on_load(:action_controller) do
|
8
|
-
wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
|
9
|
-
end
|
10
|
-
|
11
|
-
# To enable root element in JSON for ActiveRecord objects.
|
12
|
-
# ActiveSupport.on_load(:active_record) do
|
13
|
-
# self.include_root_in_json = true
|
14
|
-
# end
|
@@ -1,60 +0,0 @@
|
|
1
|
-
# Additional translations at https://github.com/plataformatec/devise/wiki/I18n
|
2
|
-
|
3
|
-
en:
|
4
|
-
devise:
|
5
|
-
confirmations:
|
6
|
-
confirmed: "Your email address has been successfully confirmed."
|
7
|
-
send_instructions: "You will receive an email with instructions for how to confirm your email address in a few minutes."
|
8
|
-
send_paranoid_instructions: "If your email address exists in our database, you will receive an email with instructions for how to confirm your email address in a few minutes."
|
9
|
-
failure:
|
10
|
-
already_authenticated: "You are already signed in."
|
11
|
-
inactive: "Your account is not activated yet."
|
12
|
-
invalid: "Invalid %{authentication_keys} or password."
|
13
|
-
locked: "Your account is locked."
|
14
|
-
last_attempt: "You have one more attempt before your account is locked."
|
15
|
-
not_found_in_database: "Invalid %{authentication_keys} or password."
|
16
|
-
timeout: "Your session expired. Please sign in again to continue."
|
17
|
-
unauthenticated: "You need to sign in or sign up before continuing."
|
18
|
-
unconfirmed: "You have to confirm your email address before continuing."
|
19
|
-
mailer:
|
20
|
-
confirmation_instructions:
|
21
|
-
subject: "Confirmation instructions"
|
22
|
-
reset_password_instructions:
|
23
|
-
subject: "Reset password instructions"
|
24
|
-
unlock_instructions:
|
25
|
-
subject: "Unlock instructions"
|
26
|
-
omniauth_callbacks:
|
27
|
-
failure: "Could not authenticate you from %{kind} because \"%{reason}\"."
|
28
|
-
success: "Successfully authenticated from %{kind} account."
|
29
|
-
passwords:
|
30
|
-
no_token: "You can't access this page without coming from a password reset email. If you do come from a password reset email, please make sure you used the full URL provided."
|
31
|
-
send_instructions: "You will receive an email with instructions on how to reset your password in a few minutes."
|
32
|
-
send_paranoid_instructions: "If your email address exists in our database, you will receive a password recovery link at your email address in a few minutes."
|
33
|
-
updated: "Your password has been changed successfully. You are now signed in."
|
34
|
-
updated_not_active: "Your password has been changed successfully."
|
35
|
-
registrations:
|
36
|
-
destroyed: "Bye! Your account has been successfully cancelled. We hope to see you again soon."
|
37
|
-
signed_up: "Welcome! You have signed up successfully."
|
38
|
-
signed_up_but_inactive: "You have signed up successfully. However, we could not sign you in because your account is not yet activated."
|
39
|
-
signed_up_but_locked: "You have signed up successfully. However, we could not sign you in because your account is locked."
|
40
|
-
signed_up_but_unconfirmed: "A message with a confirmation link has been sent to your email address. Please follow the link to activate your account."
|
41
|
-
update_needs_confirmation: "You updated your account successfully, but we need to verify your new email address. Please check your email and follow the confirm link to confirm your new email address."
|
42
|
-
updated: "Your account has been updated successfully."
|
43
|
-
sessions:
|
44
|
-
signed_in: "Signed in successfully."
|
45
|
-
signed_out: "Signed out successfully."
|
46
|
-
already_signed_out: "Signed out successfully."
|
47
|
-
unlocks:
|
48
|
-
send_instructions: "You will receive an email with instructions for how to unlock your account in a few minutes."
|
49
|
-
send_paranoid_instructions: "If your account exists, you will receive an email with instructions for how to unlock it in a few minutes."
|
50
|
-
unlocked: "Your account has been unlocked successfully. Please sign in to continue."
|
51
|
-
errors:
|
52
|
-
messages:
|
53
|
-
already_confirmed: "was already confirmed, please try signing in"
|
54
|
-
confirmation_period_expired: "needs to be confirmed within %{period}, please request a new one"
|
55
|
-
expired: "has expired, please request a new one"
|
56
|
-
not_found: "not found"
|
57
|
-
not_locked: "was not locked"
|
58
|
-
not_saved:
|
59
|
-
one: "1 error prohibited this %{resource} from being saved:"
|
60
|
-
other: "%{count} errors prohibited this %{resource} from being saved:"
|
@@ -1,22 +0,0 @@
|
|
1
|
-
# Be sure to restart your server when you modify this file.
|
2
|
-
|
3
|
-
# Your secret key is used for verifying the integrity of signed cookies.
|
4
|
-
# If you change this key, all old signed cookies will become invalid!
|
5
|
-
|
6
|
-
# Make sure the secret is at least 30 characters and all random,
|
7
|
-
# no regular words or you'll be exposed to dictionary attacks.
|
8
|
-
# You can use `rake secret` to generate a secure secret key.
|
9
|
-
|
10
|
-
# Make sure the secrets in this file are kept private
|
11
|
-
# if you're sharing your code publicly.
|
12
|
-
|
13
|
-
development:
|
14
|
-
secret_key_base: 0185a39cbc94e0e4efe2efcb693619031ea34cc67a1a94cef1fb0fee74c5fcbfb4fbb3acff192e2dd0d2f2960f8b403a1f5ed0fa46972963b33e33d599ce5e9b
|
15
|
-
|
16
|
-
test:
|
17
|
-
secret_key_base: ea13d47b7f6469e9bf1053b6a45629dc8c27f962351fd07ebf5dea75e514a297a762b168a3b0156be83ba9086b20790d83458a3579e5c67d1d1eb1068fe72f04
|
18
|
-
|
19
|
-
# Do not keep production secrets in the repository,
|
20
|
-
# instead read values from the environment.
|
21
|
-
production:
|
22
|
-
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
|
@@ -1,51 +0,0 @@
|
|
1
|
-
# encoding: UTF-8
|
2
|
-
# This file is auto-generated from the current state of the database. Instead
|
3
|
-
# of editing this file, please use the migrations feature of Active Record to
|
4
|
-
# incrementally modify your database, and then regenerate this schema definition.
|
5
|
-
#
|
6
|
-
# Note that this schema.rb definition is the authoritative source for your
|
7
|
-
# database schema. If you need to create the application database on another
|
8
|
-
# system, you should be using db:schema:load, not running all the migrations
|
9
|
-
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
10
|
-
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
11
|
-
#
|
12
|
-
# It's strongly recommended that you check this file into your version control system.
|
13
|
-
|
14
|
-
ActiveRecord::Schema.define(version: 20151007170422) do
|
15
|
-
|
16
|
-
create_table "users", force: :cascade do |t|
|
17
|
-
t.string "name"
|
18
|
-
t.integer "age"
|
19
|
-
t.datetime "created_at", null: false
|
20
|
-
t.datetime "updated_at", null: false
|
21
|
-
t.string "email", default: "", null: false
|
22
|
-
t.string "encrypted_password", default: "", null: false
|
23
|
-
t.string "reset_password_token"
|
24
|
-
t.datetime "reset_password_sent_at"
|
25
|
-
t.datetime "remember_created_at"
|
26
|
-
t.integer "sign_in_count", default: 0, null: false
|
27
|
-
t.datetime "current_sign_in_at"
|
28
|
-
t.datetime "last_sign_in_at"
|
29
|
-
t.string "current_sign_in_ip"
|
30
|
-
t.string "last_sign_in_ip"
|
31
|
-
t.string "role"
|
32
|
-
t.string "remember_token", limit: 128
|
33
|
-
t.string "login"
|
34
|
-
t.string "crypted_password"
|
35
|
-
t.string "password_salt"
|
36
|
-
t.string "persistence_token"
|
37
|
-
t.integer "login_count"
|
38
|
-
t.integer "failed_login_count"
|
39
|
-
t.datetime "last_request_at"
|
40
|
-
t.datetime "current_login_at"
|
41
|
-
t.datetime "last_login_at"
|
42
|
-
t.string "current_login_ip"
|
43
|
-
t.string "last_login_ip"
|
44
|
-
t.string "confirmation_token", limit: 128
|
45
|
-
end
|
46
|
-
|
47
|
-
add_index "users", ["email"], name: "index_users_on_email", unique: true
|
48
|
-
add_index "users", ["remember_token"], name: "index_users_on_remember_token"
|
49
|
-
add_index "users", ["reset_password_token"], name: "index_users_on_reset_password_token", unique: true
|
50
|
-
|
51
|
-
end
|
@@ -1,28 +0,0 @@
|
|
1
|
-
== README
|
2
|
-
|
3
|
-
This README would normally document whatever steps are necessary to get the
|
4
|
-
application up and running.
|
5
|
-
|
6
|
-
Things you may want to cover:
|
7
|
-
|
8
|
-
* Ruby version
|
9
|
-
|
10
|
-
* System dependencies
|
11
|
-
|
12
|
-
* Configuration
|
13
|
-
|
14
|
-
* Database creation
|
15
|
-
|
16
|
-
* Database initialization
|
17
|
-
|
18
|
-
* How to run the test suite
|
19
|
-
|
20
|
-
* Services (job queues, cache servers, search engines, etc.)
|
21
|
-
|
22
|
-
* Deployment instructions
|
23
|
-
|
24
|
-
* ...
|
25
|
-
|
26
|
-
|
27
|
-
Please feel free to use a different markup language if you do not plan to run
|
28
|
-
<tt>rake doc:app</tt>.
|
Binary file
|