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.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +47 -3
  3. data/Rakefile +1 -0
  4. data/app/assets/stylesheets/omniauth/rails/application.css +11 -12
  5. data/app/controllers/omniauth/rails/{require_authentication.rb → authentication_concern.rb} +13 -3
  6. data/app/controllers/omniauth/rails/{require_authorization.rb → authorization_concern.rb} +13 -4
  7. data/app/controllers/omniauth/rails/controllers_concern.rb +11 -0
  8. data/app/controllers/omniauth/rails/flash.rb +2 -21
  9. data/app/models/omniauth/rails/authentication_request.rb +5 -2
  10. data/app/views/omniauth/rails/forbidden.html +1 -0
  11. data/app/views/omniauth/rails/sessions/destroy.html.erb +3 -3
  12. data/config/initializers/omniauth_rails.rb +1 -34
  13. data/lib/omniauth/rails.rb +2 -0
  14. data/lib/omniauth/rails/configuration.rb +5 -1
  15. data/lib/omniauth/rails/configurator.rb +103 -0
  16. data/lib/omniauth/rails/engine.rb +13 -0
  17. data/lib/omniauth/rails/provider.rb +20 -0
  18. data/lib/omniauth/rails/provider/google_oauth2.rb +34 -0
  19. data/lib/omniauth/rails/version.rb +1 -1
  20. data/lib/tasks/mutant.rake +8 -0
  21. data/spec/controllers/application_controller_spec.rb +0 -1
  22. data/spec/controllers/authentication_concern_spec.rb +40 -0
  23. data/spec/examples.txt +20 -15
  24. data/spec/lib/omniauth/rails/configurator_spec.rb +45 -0
  25. data/spec/models/omniauth/rails/authorization_types/emails_spec.rb +0 -2
  26. data/spec/models/omniauth/rails/authorization_types/regex_spec.rb +0 -2
  27. data/spec/rails_helper_for_engine.rb +1 -1
  28. data/spec/spec_helper.rb +2 -0
  29. data/spec/test_app/app/controllers/private_controller.rb +0 -1
  30. data/spec/test_app/config/application.rb +1 -0
  31. data/spec/test_app/config/omniauth_rails.yml +6 -0
  32. data/spec/test_app/config/routes.rb +0 -3
  33. data/spec/test_app/log/development.log +2333 -0
  34. data/spec/test_app/log/test.log +50737 -0
  35. data/spec/test_app/spec/requests/private_controller_spec.rb +33 -6
  36. data/spec/test_app/spec/requests/sessions_controller_spec.rb +11 -9
  37. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/7w/7wvYXBtPYrpJ0AsySxiCGKfyqkX-mahHfSlLe8bkKLg.cache +1 -0
  38. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/Em/EmJbUP6PHR0uxNqWjp0TDKiG2j-89vsmX0dfwbmvzkc.cache +0 -0
  39. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/HS/HScCeVhpnmJmuQX7s7oOUbEmBL2KWC40o78iLC-3e3M.cache +1 -0
  40. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/O7/O7W_v6SN36f1tRfV6clZc10p24T7-Ihb3_totn6VrVA.cache +0 -0
  41. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/S-/S-cHz0vJ4VrdXCUiB5fP9TR5Viz885rz10Wgix-urAA.cache +0 -0
  42. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/WJ/WJhc1q0sGH7WcpvF09oA0iw4iAdiQkHerW6hdCHwxHo.cache +0 -0
  43. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/jK/jK2TgENQlNR4Qvt28Euq9dEK5k_UQuVSbofD4vWeTno.cache +0 -0
  44. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/n0/n0Kk2o2xNYUkuiXPYuld9V2t6GRLzY5YfDfnqdfKlRo.cache +1 -0
  45. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/nF/nFB84MNiFDrMN0WelMUdomScBrhYdJ4b8LPhXT3v8C4.cache +1 -0
  46. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/xW/xW2O0qRLEOz9w_8VDiVMAztr-N8UrUvx8v5EEV7mFBU.cache +0 -0
  47. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/yb/ybtAnaaqo1s0ZXeIKLc5sW1EovhL83HYrgFcKGHUa0Q.cache +1 -0
  48. data/spec/test_app/tmp/pids/server.pid +1 -1
  49. 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.