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.
- checksums.yaml +4 -4
- data/README.md +14 -4
- data/lib/doorkeeper-mongodb/mixins/mongo_mapper/access_token_mixin.rb +1 -1
- data/lib/doorkeeper-mongodb/mixins/mongo_mapper/application_mixin.rb +28 -1
- data/lib/doorkeeper-mongodb/mixins/mongoid/access_token_mixin.rb +1 -1
- data/lib/doorkeeper-mongodb/mixins/mongoid/application_mixin.rb +28 -1
- data/lib/doorkeeper-mongodb/version.rb +1 -1
- data/lib/doorkeeper/orm/mongo_mapper/application.rb +1 -0
- data/lib/doorkeeper/orm/mongoid4/application.rb +1 -0
- data/lib/doorkeeper/orm/mongoid5/application.rb +1 -0
- data/lib/doorkeeper/orm/mongoid6/application.rb +1 -0
- data/lib/doorkeeper/orm/mongoid7/application.rb +1 -0
- data/spec/controllers/authorizations_controller_spec.rb +34 -2
- data/spec/controllers/tokens_controller_spec.rb +59 -7
- data/spec/dummy/config/initializers/doorkeeper.rb +16 -0
- data/spec/dummy/db/migrate/20111122132257_create_users.rb +3 -1
- data/spec/dummy/db/migrate/20120312140401_add_password_to_users.rb +3 -1
- data/spec/dummy/db/migrate/20151223192035_create_doorkeeper_tables.rb +3 -1
- data/spec/dummy/db/migrate/20151223200000_add_owner_to_application.rb +3 -1
- data/spec/dummy/db/migrate/20160320211015_add_previous_refresh_token_to_access_tokens.rb +3 -1
- data/spec/dummy/db/migrate/20180210183654_add_confidential_to_application.rb +13 -0
- data/spec/dummy/db/schema.rb +2 -1
- data/spec/dummy/log/test.log +42919 -1155
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{D9/D9fEdDvxWhngpnQPHr1FTwQHL604FuHmaWxQlh7nok4.cache → -4/-4b6k9VbovmXpob9TEreMNbQqIq2frgEkXbJmaLpXXo.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{ta/taYouTiRnSIHwA3iNj6mcoN57fxG6-AcZRBxXnoZA6A.cache → 3R/3R0IlALSataFe0QXquFlLgPkS12rgPAHsrnaCNZcP5E.cache} +1 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{Wq/WqR0oz-DxQxVQZ9WeV8Ey01S8-hmMym-alX1ZIeGcyw.cache → 45/45HM8KBWEUkiP_490juLH2Z8mPYNvM0SWJEsbZSf-S0.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{fe/feHuxmxsfeyr6pDo0Hsq-ToOVXAjCZnZl9Vt5bvFLYg.cache → 7C/7C_H6iKWpfJDii1YogQrSSaPEK7vd4Yfuqhd3QloNjI.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{b2/b2BfYDhSV9fWL8fEi5lO_H--gisMJqwzT0gmWDyEseo.cache → EJ/EJEkZ1VTObngEDZDbY6RBWwvY8bZfUlUSccPwFdQstU.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{x3/x3quJr1-zURZiHgn1fyavoPEcZ6Gz-F-ZTGHLMCq8F4.cache → Gc/GcCh3Q_ZFDDRrSCrGY-akIqT_d5smO_RcJ7BTDxDx9M.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{Wz/WzU5ImvcBYPRRo1bDcUoMBnYvMHElmP1WmpSoWFGrIA.cache → IZ/IZF3X64f5MivAUq6IkvkQkPKxa06jCGI94vN_imFwv8.cache} +1 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/Vw/Vw7y8QAO4DQwNaWGwLo7_3NKa_pdX0vCYAzk7CVykfw.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{Gd/Gd13CrC_hyFXI6YkLDcl76UZb5vYjlYqFBmF0_aY2UA.cache → Y7/Y772A7TJ6-gpe-9AmRmcRZpJK6g92kS1nWduuGFPfOM.cache} +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/iZ/iZxru9bhjMYVAmekcMRoFdZiEnpEj55tS7566aoOE_Q.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/jj/jjeDmVIyET494Gq15Sob1rbi_KO8D1-vwo4vwVIjYWg.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{T9/T9SRvIirztZ2z-NS27p6uDCnS-SfsrqePihCkC7Z0bo.cache → r2/r2BLffvW211dRKmFTSEtrrxY9mgSpAbJvAMYgffd0Wo.cache} +1 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{7B/7BQrqCAX5USU9CPwXaBgC9o5N8slSgZi8nbDPdXZWy4.cache → rO/rOJ5Qletb3Q5P_zAPve6Pb0AZLvUfqhr8eTmIMHhTjE.cache} +1 -1
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/{Mc/Mc82fixkCIrNkzovtrFyWVaxz_YMs_0nB0z2aUfm1k4.cache → wy/wy1q9jo24sJvPLH8a36mvtxEc8mWcEevN1zuAo-AJHg.cache} +1 -1
- data/spec/lib/config_spec.rb +25 -0
- data/spec/lib/oauth/authorization_code_request_spec.rb +18 -3
- data/spec/lib/oauth/client/credentials_spec.rb +4 -2
- data/spec/lib/oauth/helpers/uri_checker_spec.rb +110 -1
- data/spec/lib/oauth/password_access_token_request_spec.rb +3 -3
- data/spec/lib/oauth/pre_authorization_spec.rb +12 -7
- data/spec/lib/oauth/refresh_token_request_spec.rb +3 -3
- data/spec/models/doorkeeper/application_spec.rb +96 -5
- data/spec/requests/flows/authorization_code_spec.rb +1 -1
- data/spec/requests/flows/password_spec.rb +64 -21
- metadata +36 -34
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/cR/cRfgFbJ7Ssu1jWEBQejbIXjvNXL4NcrEwyow92EhVYI.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/wi/wiNoTKijy4NStsMmmG4tY5xuViXEiGgA944y09eeqH4.cache +0 -0
- data/spec/dummy/tmp/cache/assets/sprockets/v3.0/x0/x0P5YVye0-UGqw0Ogxkk3qBPNTjQ9ehoc5Kf58zrttk.cache +0 -0
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: doorkeeper-mongodb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- jasl
|
8
|
-
-
|
8
|
+
- Nikita Bulai
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-
|
12
|
+
date: 2018-10-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: doorkeeper
|
@@ -17,7 +17,7 @@ dependencies:
|
|
17
17
|
requirements:
|
18
18
|
- - ">="
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version: 4.
|
20
|
+
version: '4.4'
|
21
21
|
- - "<"
|
22
22
|
- !ruby/object:Gem::Version
|
23
23
|
version: '5.0'
|
@@ -27,7 +27,7 @@ dependencies:
|
|
27
27
|
requirements:
|
28
28
|
- - ">="
|
29
29
|
- !ruby/object:Gem::Version
|
30
|
-
version: 4.
|
30
|
+
version: '4.4'
|
31
31
|
- - "<"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '5.0'
|
@@ -145,7 +145,7 @@ dependencies:
|
|
145
145
|
version: 1.6.0
|
146
146
|
description: Doorkeeper mongoid and mongo_mapper ORMs
|
147
147
|
email:
|
148
|
-
-
|
148
|
+
- bulaj.nikita@gmail.com
|
149
149
|
executables: []
|
150
150
|
extensions: []
|
151
151
|
extra_rdoc_files: []
|
@@ -231,6 +231,7 @@ files:
|
|
231
231
|
- spec/dummy/db/migrate/20151223192035_create_doorkeeper_tables.rb
|
232
232
|
- spec/dummy/db/migrate/20151223200000_add_owner_to_application.rb
|
233
233
|
- spec/dummy/db/migrate/20160320211015_add_previous_refresh_token_to_access_tokens.rb
|
234
|
+
- spec/dummy/db/migrate/20180210183654_add_confidential_to_application.rb
|
234
235
|
- spec/dummy/db/schema.rb
|
235
236
|
- spec/dummy/log/test.log
|
236
237
|
- spec/dummy/public/404.html
|
@@ -238,27 +239,27 @@ files:
|
|
238
239
|
- spec/dummy/public/500.html
|
239
240
|
- spec/dummy/public/favicon.ico
|
240
241
|
- spec/dummy/script/rails
|
242
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/-4/-4b6k9VbovmXpob9TEreMNbQqIq2frgEkXbJmaLpXXo.cache
|
241
243
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/1E/1ETWCnjmHMjTtSQMVl1dUwTUxpc_5_LFts5JjNUw3QE.cache
|
244
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/3R/3R0IlALSataFe0QXquFlLgPkS12rgPAHsrnaCNZcP5E.cache
|
245
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/45/45HM8KBWEUkiP_490juLH2Z8mPYNvM0SWJEsbZSf-S0.cache
|
242
246
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/6T/6T8iO0MYEHpLDcbZNWbitwyl9_bZVsIZx5ceYiWpAn4.cache
|
243
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
244
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/D9/D9fEdDvxWhngpnQPHr1FTwQHL604FuHmaWxQlh7nok4.cache
|
247
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/7C/7C_H6iKWpfJDii1YogQrSSaPEK7vd4Yfuqhd3QloNjI.cache
|
245
248
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/EH/EH9yDQ716umT-CvYxDsNgFxYxwECoMC_ccI35fQABe0.cache
|
246
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
249
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/EJ/EJEkZ1VTObngEDZDbY6RBWwvY8bZfUlUSccPwFdQstU.cache
|
250
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/Gc/GcCh3Q_ZFDDRrSCrGY-akIqT_d5smO_RcJ7BTDxDx9M.cache
|
251
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/IZ/IZF3X64f5MivAUq6IkvkQkPKxa06jCGI94vN_imFwv8.cache
|
247
252
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/K6/K6rJdRkdTA83qpr3g55FkzPpWkB8px5Q8Mn4zt2h5Ww.cache
|
248
253
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/M-/M-hScGnWXtmj2ikov4q-dIk0YJWclCAusdohn8l7noE.cache
|
249
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/Mc/Mc82fixkCIrNkzovtrFyWVaxz_YMs_0nB0z2aUfm1k4.cache
|
250
254
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/P6/P6LSVwGKE6M313ZvBo58NI20Z5hS6N9N7BLs2sRXpcQ.cache
|
251
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
252
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
253
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
254
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
255
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/cR/cRfgFbJ7Ssu1jWEBQejbIXjvNXL4NcrEwyow92EhVYI.cache
|
256
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/fe/feHuxmxsfeyr6pDo0Hsq-ToOVXAjCZnZl9Vt5bvFLYg.cache
|
255
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/Vw/Vw7y8QAO4DQwNaWGwLo7_3NKa_pdX0vCYAzk7CVykfw.cache
|
256
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/Y7/Y772A7TJ6-gpe-9AmRmcRZpJK6g92kS1nWduuGFPfOM.cache
|
257
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/iZ/iZxru9bhjMYVAmekcMRoFdZiEnpEj55tS7566aoOE_Q.cache
|
258
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/jj/jjeDmVIyET494Gq15Sob1rbi_KO8D1-vwo4vwVIjYWg.cache
|
257
259
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/qL/qLtZ8rS6syF0ERjhI_KnLoArCKNQL3hx6FKkA1158RY.cache
|
258
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
259
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
260
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
261
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/x3/x3quJr1-zURZiHgn1fyavoPEcZ6Gz-F-ZTGHLMCq8F4.cache
|
260
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/r2/r2BLffvW211dRKmFTSEtrrxY9mgSpAbJvAMYgffd0Wo.cache
|
261
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/rO/rOJ5Qletb3Q5P_zAPve6Pb0AZLvUfqhr8eTmIMHhTjE.cache
|
262
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/wy/wy1q9jo24sJvPLH8a36mvtxEc8mWcEevN1zuAo-AJHg.cache
|
262
263
|
- spec/factories.rb
|
263
264
|
- spec/grape/grape_integration_spec.rb
|
264
265
|
- spec/helpers/doorkeeper/dashboard_helper_spec.rb
|
@@ -391,27 +392,27 @@ test_files:
|
|
391
392
|
- spec/dummy/public/favicon.ico
|
392
393
|
- spec/dummy/public/404.html
|
393
394
|
- spec/dummy/public/500.html
|
395
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/Gc/GcCh3Q_ZFDDRrSCrGY-akIqT_d5smO_RcJ7BTDxDx9M.cache
|
396
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/EJ/EJEkZ1VTObngEDZDbY6RBWwvY8bZfUlUSccPwFdQstU.cache
|
394
397
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/K6/K6rJdRkdTA83qpr3g55FkzPpWkB8px5Q8Mn4zt2h5Ww.cache
|
395
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
398
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/Vw/Vw7y8QAO4DQwNaWGwLo7_3NKa_pdX0vCYAzk7CVykfw.cache
|
399
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/rO/rOJ5Qletb3Q5P_zAPve6Pb0AZLvUfqhr8eTmIMHhTjE.cache
|
396
400
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/6T/6T8iO0MYEHpLDcbZNWbitwyl9_bZVsIZx5ceYiWpAn4.cache
|
401
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/3R/3R0IlALSataFe0QXquFlLgPkS12rgPAHsrnaCNZcP5E.cache
|
397
402
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/EH/EH9yDQ716umT-CvYxDsNgFxYxwECoMC_ccI35fQABe0.cache
|
398
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
399
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
403
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/45/45HM8KBWEUkiP_490juLH2Z8mPYNvM0SWJEsbZSf-S0.cache
|
404
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/wy/wy1q9jo24sJvPLH8a36mvtxEc8mWcEevN1zuAo-AJHg.cache
|
400
405
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/qL/qLtZ8rS6syF0ERjhI_KnLoArCKNQL3hx6FKkA1158RY.cache
|
401
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
402
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
403
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
404
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/Wq/WqR0oz-DxQxVQZ9WeV8Ey01S8-hmMym-alX1ZIeGcyw.cache
|
406
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/IZ/IZF3X64f5MivAUq6IkvkQkPKxa06jCGI94vN_imFwv8.cache
|
407
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/r2/r2BLffvW211dRKmFTSEtrrxY9mgSpAbJvAMYgffd0Wo.cache
|
408
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/Y7/Y772A7TJ6-gpe-9AmRmcRZpJK6g92kS1nWduuGFPfOM.cache
|
405
409
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/P6/P6LSVwGKE6M313ZvBo58NI20Z5hS6N9N7BLs2sRXpcQ.cache
|
406
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/Mc/Mc82fixkCIrNkzovtrFyWVaxz_YMs_0nB0z2aUfm1k4.cache
|
407
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/Wz/WzU5ImvcBYPRRo1bDcUoMBnYvMHElmP1WmpSoWFGrIA.cache
|
408
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/ta/taYouTiRnSIHwA3iNj6mcoN57fxG6-AcZRBxXnoZA6A.cache
|
409
410
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/1E/1ETWCnjmHMjTtSQMVl1dUwTUxpc_5_LFts5JjNUw3QE.cache
|
410
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
411
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
411
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/jj/jjeDmVIyET494Gq15Sob1rbi_KO8D1-vwo4vwVIjYWg.cache
|
412
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/iZ/iZxru9bhjMYVAmekcMRoFdZiEnpEj55tS7566aoOE_Q.cache
|
412
413
|
- spec/dummy/tmp/cache/assets/sprockets/v3.0/M-/M-hScGnWXtmj2ikov4q-dIk0YJWclCAusdohn8l7noE.cache
|
413
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0
|
414
|
-
- spec/dummy/tmp/cache/assets/sprockets/v3.0/
|
414
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/-4/-4b6k9VbovmXpob9TEreMNbQqIq2frgEkXbJmaLpXXo.cache
|
415
|
+
- spec/dummy/tmp/cache/assets/sprockets/v3.0/7C/7C_H6iKWpfJDii1YogQrSSaPEK7vd4Yfuqhd3QloNjI.cache
|
415
416
|
- spec/dummy/app/views/home/index.html.erb
|
416
417
|
- spec/dummy/app/views/layouts/application.html.erb
|
417
418
|
- spec/dummy/app/models/user.rb
|
@@ -428,6 +429,7 @@ test_files:
|
|
428
429
|
- spec/dummy/db/schema.rb
|
429
430
|
- spec/dummy/db/migrate/20120312140401_add_password_to_users.rb
|
430
431
|
- spec/dummy/db/migrate/20111122132257_create_users.rb
|
432
|
+
- spec/dummy/db/migrate/20180210183654_add_confidential_to_application.rb
|
431
433
|
- spec/dummy/db/migrate/20151223200000_add_owner_to_application.rb
|
432
434
|
- spec/dummy/db/migrate/20160320211015_add_previous_refresh_token_to_access_tokens.rb
|
433
435
|
- spec/dummy/db/migrate/20151223192035_create_doorkeeper_tables.rb
|
data/spec/dummy/tmp/cache/assets/sprockets/v3.0/cR/cRfgFbJ7Ssu1jWEBQejbIXjvNXL4NcrEwyow92EhVYI.cache
DELETED
Binary file
|