doorkeeper-mongodb 4.1.0 → 4.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +14 -4
  3. data/lib/doorkeeper-mongodb/mixins/mongo_mapper/access_token_mixin.rb +1 -1
  4. data/lib/doorkeeper-mongodb/mixins/mongo_mapper/application_mixin.rb +28 -1
  5. data/lib/doorkeeper-mongodb/mixins/mongoid/access_token_mixin.rb +1 -1
  6. data/lib/doorkeeper-mongodb/mixins/mongoid/application_mixin.rb +28 -1
  7. data/lib/doorkeeper-mongodb/version.rb +1 -1
  8. data/lib/doorkeeper/orm/mongo_mapper/application.rb +1 -0
  9. data/lib/doorkeeper/orm/mongoid4/application.rb +1 -0
  10. data/lib/doorkeeper/orm/mongoid5/application.rb +1 -0
  11. data/lib/doorkeeper/orm/mongoid6/application.rb +1 -0
  12. data/lib/doorkeeper/orm/mongoid7/application.rb +1 -0
  13. data/spec/controllers/authorizations_controller_spec.rb +34 -2
  14. data/spec/controllers/tokens_controller_spec.rb +59 -7
  15. data/spec/dummy/config/initializers/doorkeeper.rb +16 -0
  16. data/spec/dummy/db/migrate/20111122132257_create_users.rb +3 -1
  17. data/spec/dummy/db/migrate/20120312140401_add_password_to_users.rb +3 -1
  18. data/spec/dummy/db/migrate/20151223192035_create_doorkeeper_tables.rb +3 -1
  19. data/spec/dummy/db/migrate/20151223200000_add_owner_to_application.rb +3 -1
  20. data/spec/dummy/db/migrate/20160320211015_add_previous_refresh_token_to_access_tokens.rb +3 -1
  21. data/spec/dummy/db/migrate/20180210183654_add_confidential_to_application.rb +13 -0
  22. data/spec/dummy/db/schema.rb +2 -1
  23. data/spec/dummy/log/test.log +42919 -1155
  24. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{D9/D9fEdDvxWhngpnQPHr1FTwQHL604FuHmaWxQlh7nok4.cache → -4/-4b6k9VbovmXpob9TEreMNbQqIq2frgEkXbJmaLpXXo.cache} +0 -0
  25. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{ta/taYouTiRnSIHwA3iNj6mcoN57fxG6-AcZRBxXnoZA6A.cache → 3R/3R0IlALSataFe0QXquFlLgPkS12rgPAHsrnaCNZcP5E.cache} +1 -1
  26. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{Wq/WqR0oz-DxQxVQZ9WeV8Ey01S8-hmMym-alX1ZIeGcyw.cache → 45/45HM8KBWEUkiP_490juLH2Z8mPYNvM0SWJEsbZSf-S0.cache} +0 -0
  27. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{fe/feHuxmxsfeyr6pDo0Hsq-ToOVXAjCZnZl9Vt5bvFLYg.cache → 7C/7C_H6iKWpfJDii1YogQrSSaPEK7vd4Yfuqhd3QloNjI.cache} +0 -0
  28. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{b2/b2BfYDhSV9fWL8fEi5lO_H--gisMJqwzT0gmWDyEseo.cache → EJ/EJEkZ1VTObngEDZDbY6RBWwvY8bZfUlUSccPwFdQstU.cache} +0 -0
  29. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{x3/x3quJr1-zURZiHgn1fyavoPEcZ6Gz-F-ZTGHLMCq8F4.cache → Gc/GcCh3Q_ZFDDRrSCrGY-akIqT_d5smO_RcJ7BTDxDx9M.cache} +0 -0
  30. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{Wz/WzU5ImvcBYPRRo1bDcUoMBnYvMHElmP1WmpSoWFGrIA.cache → IZ/IZF3X64f5MivAUq6IkvkQkPKxa06jCGI94vN_imFwv8.cache} +1 -1
  31. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Vw/Vw7y8QAO4DQwNaWGwLo7_3NKa_pdX0vCYAzk7CVykfw.cache +0 -0
  32. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{Gd/Gd13CrC_hyFXI6YkLDcl76UZb5vYjlYqFBmF0_aY2UA.cache → Y7/Y772A7TJ6-gpe-9AmRmcRZpJK6g92kS1nWduuGFPfOM.cache} +0 -0
  33. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/iZ/iZxru9bhjMYVAmekcMRoFdZiEnpEj55tS7566aoOE_Q.cache +0 -0
  34. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/jj/jjeDmVIyET494Gq15Sob1rbi_KO8D1-vwo4vwVIjYWg.cache +0 -0
  35. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{T9/T9SRvIirztZ2z-NS27p6uDCnS-SfsrqePihCkC7Z0bo.cache → r2/r2BLffvW211dRKmFTSEtrrxY9mgSpAbJvAMYgffd0Wo.cache} +1 -1
  36. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{7B/7BQrqCAX5USU9CPwXaBgC9o5N8slSgZi8nbDPdXZWy4.cache → rO/rOJ5Qletb3Q5P_zAPve6Pb0AZLvUfqhr8eTmIMHhTjE.cache} +1 -1
  37. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{Mc/Mc82fixkCIrNkzovtrFyWVaxz_YMs_0nB0z2aUfm1k4.cache → wy/wy1q9jo24sJvPLH8a36mvtxEc8mWcEevN1zuAo-AJHg.cache} +1 -1
  38. data/spec/lib/config_spec.rb +25 -0
  39. data/spec/lib/oauth/authorization_code_request_spec.rb +18 -3
  40. data/spec/lib/oauth/client/credentials_spec.rb +4 -2
  41. data/spec/lib/oauth/helpers/uri_checker_spec.rb +110 -1
  42. data/spec/lib/oauth/password_access_token_request_spec.rb +3 -3
  43. data/spec/lib/oauth/pre_authorization_spec.rb +12 -7
  44. data/spec/lib/oauth/refresh_token_request_spec.rb +3 -3
  45. data/spec/models/doorkeeper/application_spec.rb +96 -5
  46. data/spec/requests/flows/authorization_code_spec.rb +1 -1
  47. data/spec/requests/flows/password_spec.rb +64 -21
  48. metadata +36 -34
  49. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/cR/cRfgFbJ7Ssu1jWEBQejbIXjvNXL4NcrEwyow92EhVYI.cache +0 -0
  50. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/wi/wiNoTKijy4NStsMmmG4tY5xuViXEiGgA944y09eeqH4.cache +0 -0
  51. data/spec/dummy/tmp/cache/assets/sprockets/v3.0/x0/x0P5YVye0-UGqw0Ogxkk3qBPNTjQ9ehoc5Kf58zrttk.cache +0 -0

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the gem file manually.