any_login 1.4.3 → 1.5.1
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/assets/javascripts/any_login/application.js +23 -0
- data/app/assets/stylesheets/any_login/application.css +96 -0
- data/app/controllers/any_login/application_controller.rb +14 -2
- data/app/views/any_login/_any_login.html.erb +8 -135
- data/app/views/any_login/svg/_user.html.erb +13 -0
- data/config/routes.rb +2 -0
- data/lib/any_login/engine.rb +20 -29
- data/{app/helpers/any_login/application_helper.rb → lib/any_login/helpers.rb} +3 -7
- 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/lib/any_login.rb +3 -0
- 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-authlogic → 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-authlogic → rails_apps/authlogic}/config/environment.rb +1 -1
- data/test/rails_apps/authlogic/config/environments/development.rb +70 -0
- data/test/{dummy-authlogic → 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-authlogic → 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-sorcery → rails_apps/authlogic}/db/migrate/20150907190846_add_devise_to_users.rb +1 -1
- data/test/{dummy-authlogic → 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-sorcery → 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 → rails_apps/clearance}/config/database.yml +3 -3
- data/test/{dummy-clearance → rails_apps/clearance}/config/environment.rb +1 -1
- data/test/rails_apps/clearance/config/environments/development.rb +70 -0
- data/test/{dummy → 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-sorcery → 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-authlogic → 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-clearance → 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-authlogic → rails_apps/devise}/config/database.yml +3 -3
- data/test/{dummy → rails_apps/devise}/config/environment.rb +1 -1
- data/test/rails_apps/devise/config/environments/development.rb +67 -0
- data/test/{dummy-sorcery → 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-authlogic → rails_apps/devise}/db/migrate/20150907190739_create_users.rb +1 -1
- data/test/{dummy → 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 → rails_apps/devise}/public/404.html +6 -6
- data/test/{dummy-authlogic → rails_apps/devise}/public/422.html +6 -6
- data/test/{dummy-authlogic → rails_apps/devise}/public/500.html +6 -6
- data/test/{dummy-sorcery → rails_apps/devise}/public/favicon.ico +0 -0
- data/test/{dummy-clearance → 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-sorcery → rails_apps/sorcery}/config/environment.rb +1 -1
- data/test/rails_apps/sorcery/config/environments/development.rb +70 -0
- data/test/{dummy-clearance → 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 → rails_apps/sorcery}/db/migrate/20150907190739_create_users.rb +1 -1
- data/test/{dummy-clearance → 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-clearance → rails_apps/sorcery}/public/404.html +6 -6
- data/test/{dummy → rails_apps/sorcery}/public/422.html +6 -6
- data/test/{dummy → 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 +350 -791
- data/app/assets/images/any_login/person.png +0 -0
- 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/tmp/cache/assets/sprockets/v3.0/-D/-Dg5ZkTls3rHNa2l35Y2GMEXbJnvHY0-Egoq3V3KvGY.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/-S/-SuAD2dP0cSgjTq3tP0swCy0jyqmR6tInZKuAFBcVp8.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/04/04oTddx5RijUeZloooZ1Pm3k8cfkpg-3477aFaNANq4.cache +0 -5
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/0Q/0QThAlIyHET8vLk7e4zmbnV9ZMHI5g4KcJu3By5L0xg.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/0s/0s938iaOX2NBJ-elmk5V7j6XyYC7WxwS57x4aSiyH54.cache +0 -3
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/1l/1l2LyYtD0hI8QJI83gSEdwWsnqaFREIwwRAqXquREMY.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/2c/2cjCUV2SoZNb4a7U-CVWPBsrSAT_805cWMBQqcDuR8U.cache +0 -3
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/3N/3Ns3xAyH95BGx95LC8MPlnLNfnm1HQC-LRJ4n8Zlbhs.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/3p/3pTb9cnqbyj8oSbBnv-vO5Snw8FMgSpsEqhfftd6KM8.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/5P/5Pf0YftQI-ZQIqD1eArSl11t-n_RMCnpNAm7PJbPMg8.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/6L/6L8OhKpEg9OopqEks1Eg3Yn2nNpXkMUcYB3Ct90tmOI.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/6R/6R8Ab2VVfHjOSQ8bJdbYqEEpI_BwsOTGMIWrs7CPiA8.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/6w/6wSsp-himpVCHqd2MwCqg5qpg9qvaBZK_QetzKx6fhg.cache +0 -4
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/7U/7Urlldd4JqrpBAeGSO40LnBaBJUapZRia0-eA3BGgnQ.cache +0 -4
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/9X/9Xc8YFlDJRwahzhOQ9-q0-FtnQcMniRnX8jJlHTROm8.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/AU/AUUQfp0ZTTAPUPDe8TEwY9U4B7rPF5tbb3DTaahfXGg.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Bx/BxIh9R3OGw4rXVuqRbI8E4_FFNuY0pqWtEVgO_M47hE.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Cu/CuKQFQrECTYFUbTL112t_9VxYRa-qPAtFh_puj554eI.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Cu/CuNnn165lBWZkKCjdY_joHCV8qyyN-UNj2O0ZHBSddU.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/FB/FBHo9LuH0xkwMXXXx95xeALLysZQEJGD_jAXz0L5D9c.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Fg/Fgi2PW3c1qK1CS8Mp5xq_m4Frc-Y4fz6MgbB--5_DFg.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Fo/FoMKiqVuXZlqXKS5sZ2CepOYjMVxk3XUCUC8z96dGlk.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Fw/FwiXjnLLgGTbJ2tZcnFWOp30FIQFbt42kxicUMneUFU.cache +0 -3
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/GA/GAdJwtpszZDaIVjZ1vy_hhrduwyRVZ-UVvY1VWHC1F8.cache +0 -3
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/I3/I3nUL1109ON75W3zxAKo1beybc7C4ZS1LGTLiZg2ej8.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/IH/IHEtgWG-bM5JdeS4MpjATwdDPniVNIk31MgI5xCGuAw.cache +0 -2
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/J-/J-4oPSPBOYXvlx3v1bU5yFRhWKIt9Pbd-jTh4ARZTAo.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/L5/L55mKPIZW4yu8-ei7nxwOfhFbR2XEGnrlMdydgpfai8.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Mu/MuFc7AzSpPX16nZtGyUj6Jm09C_4L5gsM0FzPOBIwY4.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Na/NaOPJqxpTLnXnQ4IX8jEw3cvYo2SrqrlUYeZW2UzoOk.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/On/OnResjr8j7pB3v8AMPlqruJ_597sdzzOxgAmjDuwa3w.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/P8/P8ytY6J2lveAeG2fMvyy8r9-tPg7fiN_3Ab7V7bQqTA.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/PV/PVK-jZacxU1cWegzoBx4MuUxIFJx_s7WSdxTCeSJ2b4.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/QI/QI0_r-lhQ11MgB5hl0iDmZkYUP2lhIbinlNV6z-CADI.cache +0 -3
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/QK/QKxzR5Cw94Oy0fL3B1xQmewTiZ6syQcpkWvN_q51-hs.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Qr/QrrG5X3SHARlU3cX7xW8wIwoKn4WwLZmZnr43pECtq8.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/RI/RICxiF1Y7tRr1144F7mHmJPW-mEKzj8mvHddAM2tiiM.cache +0 -2
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/RI/RIZ9Fwy55ZmMRMNm2m3o4FB0CmGeRKIDhRbjHCaG_2U.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/TK/TKL8jyLcA2JcZ3puvU_LSHcONp-_5Z-77GJRSThtC7A.cache +0 -2
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Uf/UfrjkaQSDo_CFzC0sczZIJW0X-owh9Tnm1xLkODaJ1I.cache +0 -2
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/W8/W8nAt_ntq-eifnenvYEnaPn1yPvEs66qr95bxpARWMQ.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/WR/WRkATZ__BM8FSA_ps96QuKbjF1qxdXUQ2R0DbA1NiyA.cache +0 -4
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/WS/WShZwpbrt5Q9NU5ngKHDGLed1e8DSQC7UbTdCbsgsT8.cache +0 -2
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/X9/X9CCaGqqaUv4WO8YGDLvsoMRI-YE_hZ7zMPXI8r12ts.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/XX/XXAHmbeg_TfKNFVv5Bke0lxLHJg2JKBL6_niQsSaNWU.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/YW/YWz7RsbYEyV5W5K-N2XAZG4-LH1XcsjBxFfO-tCGlDE.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/Yl/YlW61yeKVQbCaGB5KQ9x5UBQKkcFCI080Uagi4qUfMM.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/ZP/ZPAB02xJo6ZN3L6OfzyWEgh36ZS4MGSuk_e7CAwfanM.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/eU/eUX6c56Kt_pz8fPl14NxlFJfGidrugVhIMj1gjs97pQ.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/eq/eq-hOvJwIQGfeaOxPvLLoSgspYnPt1qmAvfzhIjiQ8I.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/f5/f54V076hGyLBoyXVqTSQ4TYLpxxfpE4rfnZKmPlkYD0.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/fp/fpeHoSYPNIxuVWmz3_zN7Vbi23P-F3HPYv-XpKpLZFg.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/g0/g0C0AU1L_x5sxYFr6z0NE79m0pF6-CXBH6VFPVxgCpM.cache +0 -2
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/gT/gTC13k-_pje-P_LWe83hQ9_3C5cinGmG8ckrar4b7vE.cache +0 -3
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/gT/gTkUgaB4k61_B3ydTNzFB012pqNr-7E4KO2cVtNLDkU.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/h8/h8MyXG62sm-uRDQiYg6CH_Z-EtBPEai0euDPYa2ZOLQ.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/jJ/jJMUuOxfxNdR_iw6_Atzc9BQIkzNyweek8qCfDM1620.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/kh/khZgphuPeZYzQwBZrBEVGDBq4QQAvZ_CUfNsM15KtXc.cache +0 -4
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/kw/kwrJPJzQnUZy6XwmBrFMJjah6mZ9qNB8nStiWPrGWhs.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/l5/l5rpSHE1xK2jT7OGZDVOzAUK0LgmIMJAhVJQGaGWQ00.cache +0 -2
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/my/myQlTWBqjEV7aXVwBtOaHIt42To2MmC_zlFFqkPxjmw.cache +0 -2
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/ni/niVUoVEMUptq6L7GFj6Df_vajoeWEYtSF4BHTsuLmfE.cache +0 -3
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/o9/o9K2isMkub-cGtNTwR7zJ2UkWW-Q3C2vrMc7vyG6cQk.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/pI/pIVqc5tXAaLDSQbx4dvcFawX1iRPdcw_JTjDIE6Y0eM.cache +0 -3
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/pn/pnW3u_1AN48ig6ngefI89y96xoSlvnJurx-e3J-leoE.cache +0 -3
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/qD/qDNkKDUNVSrSAWT8yqnkWcqqtxLn4VA_kyk8JX1pKOU.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/s-/s-mG18OjpD8IKlOk-YOYmUYFC16rIaqqtnmGQYSEPIY.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/sY/sYqD_6_DLhWbWmBm4ZOKDNI8bKtF7czThI6GXwmFlMU.cache +0 -3
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/ss/ssS2x0Wl67rwXHaVHsh6CO7ayn9fQ5saIwATKN6O-nI.cache +0 -3
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/t1/t1w3t0uQeIB6mj-VliOTOvNCAcjMoQdBxMlac-VXXUk.cache +0 -3
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/tV/tVUTHHlY5TMaPTcTIRE487ouNUpGmQVD_Ab6VAuDGw0.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/tu/tuEq0SXuQh3A3UWa1dGXRLlKGMt6evB5YqwFJRyPvIE.cache +0 -3
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/v-/v-N2813JF9StwoLTE-8AAriPnHbuvVx-m9DzTCXCH9M.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/x0/x00ZU4Y_G6K5u2IqypZTnQIPb--furSWaQfLMsVfEqo.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/xC/xCexSNESQ_s5_Nb67lUl0oXgCpdisNQNvtsR-hfgIAo.cache +0 -1
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/xg/xgfY0nnn8IRgObhr6ZixwkE7oqh7Ksdwe2VRgjKNB9A.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v3.0/xp/xp_GvoQomYX5lkhg7vSvVU0DGGy4QG_ldNHacZLqZt0.cache +0 -0
- 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/development.sqlite3 +0 -0
- 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"] %>
|
Binary file
|
@@ -1,21 +0,0 @@
|
|
1
|
-
class PopulateTestUsers < ActiveRecord::Migration
|
2
|
-
def change
|
3
|
-
add_column :users, :role, :string
|
4
|
-
100.times { User.create(name: gen_name, age: rand(100), email: gen_email, role: gen_role, password: '12345678', password_confirmation: '12345678') }
|
5
|
-
end
|
6
|
-
|
7
|
-
private
|
8
|
-
|
9
|
-
def gen_name
|
10
|
-
['Igor', 'Michael' 'John', 'Stan', 'Bob', 'Kris', 'Alan'].sample + ' ' + rand(100).to_s
|
11
|
-
end
|
12
|
-
|
13
|
-
def gen_email
|
14
|
-
email = ['Igor', 'Michael' 'John', 'Stan', 'Bob', 'Kris', 'Alan'].sample + rand(100).to_s + '@gmail.com'
|
15
|
-
email.downcase
|
16
|
-
end
|
17
|
-
|
18
|
-
def gen_role
|
19
|
-
['admin', 'user', 'moderator'].sample
|
20
|
-
end
|
21
|
-
end
|
@@ -1,48 +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: 20150928123254) 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 "login"
|
33
|
-
t.string "crypted_password"
|
34
|
-
t.string "password_salt"
|
35
|
-
t.string "persistence_token"
|
36
|
-
t.integer "login_count"
|
37
|
-
t.integer "failed_login_count"
|
38
|
-
t.datetime "last_request_at"
|
39
|
-
t.datetime "current_login_at"
|
40
|
-
t.datetime "last_login_at"
|
41
|
-
t.string "current_login_ip"
|
42
|
-
t.string "last_login_ip"
|
43
|
-
end
|
44
|
-
|
45
|
-
add_index "users", ["email"], name: "index_users_on_email", unique: true
|
46
|
-
add_index "users", ["reset_password_token"], name: "index_users_on_reset_password_token", unique: true
|
47
|
-
|
48
|
-
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
|