omniauth-rails 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +47 -3
- data/Rakefile +1 -0
- data/app/assets/stylesheets/omniauth/rails/application.css +11 -12
- data/app/controllers/omniauth/rails/{require_authentication.rb → authentication_concern.rb} +13 -3
- data/app/controllers/omniauth/rails/{require_authorization.rb → authorization_concern.rb} +13 -4
- data/app/controllers/omniauth/rails/controllers_concern.rb +11 -0
- data/app/controllers/omniauth/rails/flash.rb +2 -21
- data/app/models/omniauth/rails/authentication_request.rb +5 -2
- data/app/views/omniauth/rails/forbidden.html +1 -0
- data/app/views/omniauth/rails/sessions/destroy.html.erb +3 -3
- data/config/initializers/omniauth_rails.rb +1 -34
- data/lib/omniauth/rails.rb +2 -0
- data/lib/omniauth/rails/configuration.rb +5 -1
- data/lib/omniauth/rails/configurator.rb +103 -0
- data/lib/omniauth/rails/engine.rb +13 -0
- data/lib/omniauth/rails/provider.rb +20 -0
- data/lib/omniauth/rails/provider/google_oauth2.rb +34 -0
- data/lib/omniauth/rails/version.rb +1 -1
- data/lib/tasks/mutant.rake +8 -0
- data/spec/controllers/application_controller_spec.rb +0 -1
- data/spec/controllers/authentication_concern_spec.rb +40 -0
- data/spec/examples.txt +20 -15
- data/spec/lib/omniauth/rails/configurator_spec.rb +45 -0
- data/spec/models/omniauth/rails/authorization_types/emails_spec.rb +0 -2
- data/spec/models/omniauth/rails/authorization_types/regex_spec.rb +0 -2
- data/spec/rails_helper_for_engine.rb +1 -1
- data/spec/spec_helper.rb +2 -0
- data/spec/test_app/app/controllers/private_controller.rb +0 -1
- data/spec/test_app/config/application.rb +1 -0
- data/spec/test_app/config/omniauth_rails.yml +6 -0
- data/spec/test_app/config/routes.rb +0 -3
- data/spec/test_app/log/development.log +2333 -0
- data/spec/test_app/log/test.log +50737 -0
- data/spec/test_app/spec/requests/private_controller_spec.rb +33 -6
- data/spec/test_app/spec/requests/sessions_controller_spec.rb +11 -9
- data/spec/test_app/tmp/cache/assets/sprockets/v3.0/7w/7wvYXBtPYrpJ0AsySxiCGKfyqkX-mahHfSlLe8bkKLg.cache +1 -0
- data/spec/test_app/tmp/cache/assets/sprockets/v3.0/Em/EmJbUP6PHR0uxNqWjp0TDKiG2j-89vsmX0dfwbmvzkc.cache +0 -0
- data/spec/test_app/tmp/cache/assets/sprockets/v3.0/HS/HScCeVhpnmJmuQX7s7oOUbEmBL2KWC40o78iLC-3e3M.cache +1 -0
- data/spec/test_app/tmp/cache/assets/sprockets/v3.0/O7/O7W_v6SN36f1tRfV6clZc10p24T7-Ihb3_totn6VrVA.cache +0 -0
- data/spec/test_app/tmp/cache/assets/sprockets/v3.0/S-/S-cHz0vJ4VrdXCUiB5fP9TR5Viz885rz10Wgix-urAA.cache +0 -0
- data/spec/test_app/tmp/cache/assets/sprockets/v3.0/WJ/WJhc1q0sGH7WcpvF09oA0iw4iAdiQkHerW6hdCHwxHo.cache +0 -0
- data/spec/test_app/tmp/cache/assets/sprockets/v3.0/jK/jK2TgENQlNR4Qvt28Euq9dEK5k_UQuVSbofD4vWeTno.cache +0 -0
- data/spec/test_app/tmp/cache/assets/sprockets/v3.0/n0/n0Kk2o2xNYUkuiXPYuld9V2t6GRLzY5YfDfnqdfKlRo.cache +1 -0
- data/spec/test_app/tmp/cache/assets/sprockets/v3.0/nF/nFB84MNiFDrMN0WelMUdomScBrhYdJ4b8LPhXT3v8C4.cache +1 -0
- data/spec/test_app/tmp/cache/assets/sprockets/v3.0/xW/xW2O0qRLEOz9w_8VDiVMAztr-N8UrUvx8v5EEV7mFBU.cache +0 -0
- data/spec/test_app/tmp/cache/assets/sprockets/v3.0/yb/ybtAnaaqo1s0ZXeIKLc5sW1EovhL83HYrgFcKGHUa0Q.cache +1 -0
- data/spec/test_app/tmp/pids/server.pid +1 -1
- metadata +50 -18
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.