doorkeeper 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of doorkeeper might be problematic. Click here for more details.

Files changed (32) hide show
  1. data/README.md +63 -48
  2. data/app/assets/stylesheets/doorkeeper/application.css +10 -2
  3. data/app/controllers/doorkeeper/application_controller.rbc +663 -0
  4. data/app/controllers/doorkeeper/applications_controller.rbc +954 -0
  5. data/app/controllers/doorkeeper/authorizations_controller.rb +8 -1
  6. data/app/controllers/doorkeeper/authorizations_controller.rbc +595 -0
  7. data/app/controllers/doorkeeper/tokens_controller.rbc +423 -0
  8. data/app/helpers/doorkeeper/application_helper.rbc +127 -0
  9. data/app/models/access_grant.rb +10 -2
  10. data/app/models/access_grant.rbc +656 -0
  11. data/app/models/access_token.rbc +781 -0
  12. data/app/models/application.rbc +507 -0
  13. data/app/views/doorkeeper/authorizations/new.html.erb +16 -12
  14. data/app/views/layouts/doorkeeper/application.html.erb +9 -0
  15. data/config/initializers/form_errors.rbc +272 -0
  16. data/config/routes.rbc +322 -0
  17. data/lib/doorkeeper.rbc +407 -0
  18. data/lib/doorkeeper/config.rbc +941 -0
  19. data/lib/doorkeeper/doorkeeper_for.rbc +1029 -0
  20. data/lib/doorkeeper/engine.rbc +318 -0
  21. data/lib/doorkeeper/oauth/access_token_request.rb +9 -2
  22. data/lib/doorkeeper/oauth/access_token_request.rbc +1853 -0
  23. data/lib/doorkeeper/oauth/authorization_request.rb +5 -0
  24. data/lib/doorkeeper/oauth/authorization_request.rbc +2107 -0
  25. data/lib/doorkeeper/oauth/random_string.rbc +437 -0
  26. data/lib/doorkeeper/validations.rbc +774 -0
  27. data/lib/doorkeeper/version.rb +1 -1
  28. data/lib/doorkeeper/version.rbc +130 -0
  29. data/lib/generators/doorkeeper/install_generator.rbc +453 -0
  30. data/lib/generators/doorkeeper/templates/migration.rb +1 -0
  31. data/lib/tasks/doorkeeper_tasks.rake.compiled.rbc +40 -0
  32. metadata +44 -17
@@ -0,0 +1,437 @@
1
+ !RBIX
2
+ 9595534255132031488
3
+ x
4
+ M
5
+ 1
6
+ n
7
+ n
8
+ x
9
+ 10
10
+ __script__
11
+ i
12
+ 30
13
+ 99
14
+ 7
15
+ 0
16
+ 45
17
+ 1
18
+ 2
19
+ 49
20
+ 3
21
+ 2
22
+ 13
23
+ 99
24
+ 12
25
+ 7
26
+ 4
27
+ 12
28
+ 7
29
+ 5
30
+ 12
31
+ 65
32
+ 12
33
+ 49
34
+ 6
35
+ 4
36
+ 15
37
+ 49
38
+ 4
39
+ 0
40
+ 15
41
+ 2
42
+ 11
43
+ I
44
+ 6
45
+ I
46
+ 0
47
+ I
48
+ 0
49
+ I
50
+ 0
51
+ n
52
+ p
53
+ 7
54
+ x
55
+ 5
56
+ OAuth
57
+ x
58
+ 10
59
+ Doorkeeper
60
+ n
61
+ x
62
+ 17
63
+ open_module_under
64
+ x
65
+ 15
66
+ __module_init__
67
+ M
68
+ 1
69
+ n
70
+ n
71
+ x
72
+ 5
73
+ OAuth
74
+ i
75
+ 28
76
+ 5
77
+ 66
78
+ 99
79
+ 7
80
+ 0
81
+ 65
82
+ 49
83
+ 1
84
+ 2
85
+ 13
86
+ 99
87
+ 12
88
+ 7
89
+ 2
90
+ 12
91
+ 7
92
+ 3
93
+ 12
94
+ 65
95
+ 12
96
+ 49
97
+ 4
98
+ 4
99
+ 15
100
+ 49
101
+ 2
102
+ 0
103
+ 11
104
+ I
105
+ 6
106
+ I
107
+ 0
108
+ I
109
+ 0
110
+ I
111
+ 0
112
+ n
113
+ p
114
+ 5
115
+ x
116
+ 12
117
+ RandomString
118
+ x
119
+ 11
120
+ open_module
121
+ x
122
+ 15
123
+ __module_init__
124
+ M
125
+ 1
126
+ n
127
+ n
128
+ x
129
+ 12
130
+ RandomString
131
+ i
132
+ 30
133
+ 5
134
+ 66
135
+ 99
136
+ 7
137
+ 0
138
+ 7
139
+ 1
140
+ 65
141
+ 67
142
+ 49
143
+ 2
144
+ 0
145
+ 49
146
+ 3
147
+ 4
148
+ 15
149
+ 99
150
+ 7
151
+ 4
152
+ 7
153
+ 5
154
+ 65
155
+ 67
156
+ 49
157
+ 2
158
+ 0
159
+ 49
160
+ 3
161
+ 4
162
+ 11
163
+ I
164
+ 5
165
+ I
166
+ 0
167
+ I
168
+ 0
169
+ I
170
+ 0
171
+ n
172
+ p
173
+ 6
174
+ x
175
+ 13
176
+ random_string
177
+ M
178
+ 1
179
+ n
180
+ n
181
+ x
182
+ 13
183
+ random_string
184
+ i
185
+ 9
186
+ 45
187
+ 0
188
+ 1
189
+ 4
190
+ 32
191
+ 49
192
+ 2
193
+ 1
194
+ 11
195
+ I
196
+ 2
197
+ I
198
+ 0
199
+ I
200
+ 0
201
+ I
202
+ 0
203
+ n
204
+ p
205
+ 3
206
+ x
207
+ 12
208
+ SecureRandom
209
+ n
210
+ x
211
+ 3
212
+ hex
213
+ p
214
+ 5
215
+ I
216
+ -1
217
+ I
218
+ 3
219
+ I
220
+ 0
221
+ I
222
+ 4
223
+ I
224
+ 9
225
+ x
226
+ 77
227
+ /Users/felipeelias/Applicake/doorkeeper/lib/doorkeeper/oauth/random_string.rb
228
+ p
229
+ 0
230
+ x
231
+ 17
232
+ method_visibility
233
+ x
234
+ 15
235
+ add_defn_method
236
+ x
237
+ 24
238
+ unique_random_string_for
239
+ M
240
+ 1
241
+ n
242
+ n
243
+ x
244
+ 24
245
+ unique_random_string_for
246
+ i
247
+ 8
248
+ 5
249
+ 56
250
+ 0
251
+ 47
252
+ 50
253
+ 1
254
+ 0
255
+ 11
256
+ I
257
+ 3
258
+ I
259
+ 1
260
+ I
261
+ 1
262
+ I
263
+ 1
264
+ n
265
+ p
266
+ 2
267
+ M
268
+ 1
269
+ p
270
+ 2
271
+ x
272
+ 9
273
+ for_block
274
+ t
275
+ n
276
+ x
277
+ 24
278
+ unique_random_string_for
279
+ i
280
+ 34
281
+ 5
282
+ 48
283
+ 0
284
+ 19
285
+ 0
286
+ 15
287
+ 5
288
+ 49
289
+ 1
290
+ 0
291
+ 7
292
+ 2
293
+ 21
294
+ 1
295
+ 0
296
+ 47
297
+ 101
298
+ 3
299
+ 63
300
+ 2
301
+ 20
302
+ 0
303
+ 49
304
+ 4
305
+ 2
306
+ 9
307
+ 30
308
+ 1
309
+ 8
310
+ 33
311
+ 20
312
+ 0
313
+ 33
314
+ 11
315
+ I
316
+ 5
317
+ I
318
+ 1
319
+ I
320
+ 0
321
+ I
322
+ 0
323
+ I
324
+ -2
325
+ p
326
+ 5
327
+ x
328
+ 13
329
+ random_string
330
+ x
331
+ 5
332
+ class
333
+ s
334
+ 8
335
+ find_by_
336
+ x
337
+ 4
338
+ to_s
339
+ x
340
+ 4
341
+ send
342
+ p
343
+ 7
344
+ I
345
+ 0
346
+ I
347
+ 9
348
+ I
349
+ 6
350
+ I
351
+ a
352
+ I
353
+ 21
354
+ I
355
+ 0
356
+ I
357
+ 22
358
+ x
359
+ 77
360
+ /Users/felipeelias/Applicake/doorkeeper/lib/doorkeeper/oauth/random_string.rb
361
+ p
362
+ 1
363
+ x
364
+ 5
365
+ token
366
+ x
367
+ 4
368
+ loop
369
+ p
370
+ 5
371
+ I
372
+ -1
373
+ I
374
+ 7
375
+ I
376
+ 0
377
+ I
378
+ 8
379
+ I
380
+ 8
381
+ x
382
+ 77
383
+ /Users/felipeelias/Applicake/doorkeeper/lib/doorkeeper/oauth/random_string.rb
384
+ p
385
+ 1
386
+ x
387
+ 9
388
+ attribute
389
+ p
390
+ 5
391
+ I
392
+ 2
393
+ I
394
+ 3
395
+ I
396
+ 10
397
+ I
398
+ 7
399
+ I
400
+ 1e
401
+ x
402
+ 77
403
+ /Users/felipeelias/Applicake/doorkeeper/lib/doorkeeper/oauth/random_string.rb
404
+ p
405
+ 0
406
+ x
407
+ 13
408
+ attach_method
409
+ p
410
+ 3
411
+ I
412
+ 2
413
+ I
414
+ 2
415
+ I
416
+ 1c
417
+ x
418
+ 77
419
+ /Users/felipeelias/Applicake/doorkeeper/lib/doorkeeper/oauth/random_string.rb
420
+ p
421
+ 0
422
+ x
423
+ 13
424
+ attach_method
425
+ p
426
+ 3
427
+ I
428
+ 0
429
+ I
430
+ 1
431
+ I
432
+ 1e
433
+ x
434
+ 77
435
+ /Users/felipeelias/Applicake/doorkeeper/lib/doorkeeper/oauth/random_string.rb
436
+ p
437
+ 0
@@ -0,0 +1,774 @@
1
+ !RBIX
2
+ 9595534255132031488
3
+ x
4
+ M
5
+ 1
6
+ n
7
+ n
8
+ x
9
+ 10
10
+ __script__
11
+ i
12
+ 28
13
+ 99
14
+ 7
15
+ 0
16
+ 65
17
+ 49
18
+ 1
19
+ 2
20
+ 13
21
+ 99
22
+ 12
23
+ 7
24
+ 2
25
+ 12
26
+ 7
27
+ 3
28
+ 12
29
+ 65
30
+ 12
31
+ 49
32
+ 4
33
+ 4
34
+ 15
35
+ 49
36
+ 2
37
+ 0
38
+ 15
39
+ 2
40
+ 11
41
+ I
42
+ 6
43
+ I
44
+ 0
45
+ I
46
+ 0
47
+ I
48
+ 0
49
+ n
50
+ p
51
+ 5
52
+ x
53
+ 10
54
+ Doorkeeper
55
+ x
56
+ 11
57
+ open_module
58
+ x
59
+ 15
60
+ __module_init__
61
+ M
62
+ 1
63
+ n
64
+ n
65
+ x
66
+ 10
67
+ Doorkeeper
68
+ i
69
+ 28
70
+ 5
71
+ 66
72
+ 99
73
+ 7
74
+ 0
75
+ 65
76
+ 49
77
+ 1
78
+ 2
79
+ 13
80
+ 99
81
+ 12
82
+ 7
83
+ 2
84
+ 12
85
+ 7
86
+ 3
87
+ 12
88
+ 65
89
+ 12
90
+ 49
91
+ 4
92
+ 4
93
+ 15
94
+ 49
95
+ 2
96
+ 0
97
+ 11
98
+ I
99
+ 6
100
+ I
101
+ 0
102
+ I
103
+ 0
104
+ I
105
+ 0
106
+ n
107
+ p
108
+ 5
109
+ x
110
+ 11
111
+ Validations
112
+ x
113
+ 11
114
+ open_module
115
+ x
116
+ 15
117
+ __module_init__
118
+ M
119
+ 1
120
+ n
121
+ n
122
+ x
123
+ 11
124
+ Validations
125
+ i
126
+ 75
127
+ 5
128
+ 66
129
+ 5
130
+ 45
131
+ 0
132
+ 1
133
+ 43
134
+ 2
135
+ 47
136
+ 49
137
+ 3
138
+ 1
139
+ 15
140
+ 5
141
+ 7
142
+ 4
143
+ 47
144
+ 49
145
+ 5
146
+ 1
147
+ 15
148
+ 99
149
+ 7
150
+ 6
151
+ 7
152
+ 7
153
+ 65
154
+ 67
155
+ 49
156
+ 8
157
+ 0
158
+ 49
159
+ 9
160
+ 4
161
+ 15
162
+ 99
163
+ 7
164
+ 10
165
+ 7
166
+ 11
167
+ 65
168
+ 67
169
+ 49
170
+ 8
171
+ 0
172
+ 49
173
+ 9
174
+ 4
175
+ 15
176
+ 99
177
+ 7
178
+ 12
179
+ 65
180
+ 49
181
+ 13
182
+ 2
183
+ 13
184
+ 99
185
+ 12
186
+ 7
187
+ 14
188
+ 12
189
+ 7
190
+ 15
191
+ 12
192
+ 65
193
+ 12
194
+ 49
195
+ 16
196
+ 4
197
+ 15
198
+ 49
199
+ 14
200
+ 0
201
+ 11
202
+ I
203
+ 6
204
+ I
205
+ 0
206
+ I
207
+ 0
208
+ I
209
+ 0
210
+ n
211
+ p
212
+ 17
213
+ x
214
+ 13
215
+ ActiveSupport
216
+ n
217
+ x
218
+ 7
219
+ Concern
220
+ x
221
+ 6
222
+ extend
223
+ x
224
+ 5
225
+ error
226
+ x
227
+ 13
228
+ attr_accessor
229
+ x
230
+ 8
231
+ validate
232
+ M
233
+ 1
234
+ n
235
+ n
236
+ x
237
+ 8
238
+ validate
239
+ i
240
+ 17
241
+ 1
242
+ 38
243
+ 0
244
+ 15
245
+ 5
246
+ 49
247
+ 1
248
+ 0
249
+ 49
250
+ 2
251
+ 0
252
+ 56
253
+ 3
254
+ 50
255
+ 4
256
+ 0
257
+ 11
258
+ I
259
+ 2
260
+ I
261
+ 0
262
+ I
263
+ 0
264
+ I
265
+ 0
266
+ n
267
+ p
268
+ 5
269
+ x
270
+ 6
271
+ @error
272
+ x
273
+ 5
274
+ class
275
+ x
276
+ 11
277
+ validations
278
+ M
279
+ 1
280
+ p
281
+ 2
282
+ x
283
+ 9
284
+ for_block
285
+ t
286
+ n
287
+ x
288
+ 8
289
+ validate
290
+ i
291
+ 44
292
+ 57
293
+ 19
294
+ 0
295
+ 15
296
+ 39
297
+ 0
298
+ 9
299
+ 12
300
+ 1
301
+ 33
302
+ 8
303
+ 13
304
+ 1
305
+ 15
306
+ 5
307
+ 7
308
+ 1
309
+ 20
310
+ 0
311
+ 49
312
+ 2
313
+ 0
314
+ 47
315
+ 101
316
+ 3
317
+ 63
318
+ 2
319
+ 47
320
+ 49
321
+ 4
322
+ 1
323
+ 9
324
+ 36
325
+ 1
326
+ 8
327
+ 43
328
+ 20
329
+ 0
330
+ 49
331
+ 5
332
+ 0
333
+ 38
334
+ 0
335
+ 11
336
+ I
337
+ 5
338
+ I
339
+ 1
340
+ I
341
+ 1
342
+ I
343
+ 1
344
+ n
345
+ p
346
+ 6
347
+ x
348
+ 6
349
+ @error
350
+ s
351
+ 9
352
+ validate_
353
+ x
354
+ 5
355
+ first
356
+ x
357
+ 4
358
+ to_s
359
+ x
360
+ 4
361
+ send
362
+ x
363
+ 4
364
+ last
365
+ p
366
+ 11
367
+ I
368
+ 0
369
+ I
370
+ 9
371
+ I
372
+ 4
373
+ I
374
+ a
375
+ I
376
+ d
377
+ I
378
+ 0
379
+ I
380
+ e
381
+ I
382
+ b
383
+ I
384
+ 2b
385
+ I
386
+ 0
387
+ I
388
+ 2c
389
+ x
390
+ 69
391
+ /Users/felipeelias/Applicake/doorkeeper/lib/doorkeeper/validations.rb
392
+ p
393
+ 1
394
+ x
395
+ 10
396
+ validation
397
+ x
398
+ 4
399
+ each
400
+ p
401
+ 7
402
+ I
403
+ -1
404
+ I
405
+ 7
406
+ I
407
+ 0
408
+ I
409
+ 8
410
+ I
411
+ 4
412
+ I
413
+ 9
414
+ I
415
+ 11
416
+ x
417
+ 69
418
+ /Users/felipeelias/Applicake/doorkeeper/lib/doorkeeper/validations.rb
419
+ p
420
+ 0
421
+ x
422
+ 17
423
+ method_visibility
424
+ x
425
+ 15
426
+ add_defn_method
427
+ x
428
+ 6
429
+ valid?
430
+ M
431
+ 1
432
+ n
433
+ n
434
+ x
435
+ 6
436
+ valid?
437
+ i
438
+ 6
439
+ 39
440
+ 0
441
+ 49
442
+ 1
443
+ 0
444
+ 11
445
+ I
446
+ 1
447
+ I
448
+ 0
449
+ I
450
+ 0
451
+ I
452
+ 0
453
+ n
454
+ p
455
+ 2
456
+ x
457
+ 6
458
+ @error
459
+ x
460
+ 4
461
+ nil?
462
+ p
463
+ 5
464
+ I
465
+ -1
466
+ I
467
+ f
468
+ I
469
+ 0
470
+ I
471
+ 10
472
+ I
473
+ 6
474
+ x
475
+ 69
476
+ /Users/felipeelias/Applicake/doorkeeper/lib/doorkeeper/validations.rb
477
+ p
478
+ 0
479
+ x
480
+ 12
481
+ ClassMethods
482
+ x
483
+ 11
484
+ open_module
485
+ x
486
+ 15
487
+ __module_init__
488
+ M
489
+ 1
490
+ n
491
+ n
492
+ x
493
+ 12
494
+ ClassMethods
495
+ i
496
+ 30
497
+ 5
498
+ 66
499
+ 99
500
+ 7
501
+ 0
502
+ 7
503
+ 1
504
+ 65
505
+ 67
506
+ 49
507
+ 2
508
+ 0
509
+ 49
510
+ 3
511
+ 4
512
+ 15
513
+ 99
514
+ 7
515
+ 4
516
+ 7
517
+ 5
518
+ 65
519
+ 67
520
+ 49
521
+ 2
522
+ 0
523
+ 49
524
+ 3
525
+ 4
526
+ 11
527
+ I
528
+ 5
529
+ I
530
+ 0
531
+ I
532
+ 0
533
+ I
534
+ 0
535
+ n
536
+ p
537
+ 6
538
+ x
539
+ 8
540
+ validate
541
+ M
542
+ 1
543
+ n
544
+ n
545
+ x
546
+ 8
547
+ validate
548
+ i
549
+ 32
550
+ 23
551
+ 1
552
+ 10
553
+ 14
554
+ 44
555
+ 43
556
+ 0
557
+ 78
558
+ 49
559
+ 1
560
+ 1
561
+ 19
562
+ 1
563
+ 15
564
+ 5
565
+ 48
566
+ 2
567
+ 20
568
+ 0
569
+ 20
570
+ 1
571
+ 7
572
+ 3
573
+ 49
574
+ 4
575
+ 1
576
+ 35
577
+ 2
578
+ 49
579
+ 5
580
+ 1
581
+ 11
582
+ I
583
+ 6
584
+ I
585
+ 2
586
+ I
587
+ 1
588
+ I
589
+ 2
590
+ n
591
+ p
592
+ 6
593
+ x
594
+ 4
595
+ Hash
596
+ x
597
+ 16
598
+ new_from_literal
599
+ x
600
+ 11
601
+ validations
602
+ x
603
+ 5
604
+ error
605
+ x
606
+ 2
607
+ []
608
+ x
609
+ 2
610
+ <<
611
+ p
612
+ 5
613
+ I
614
+ -1
615
+ I
616
+ 14
617
+ I
618
+ e
619
+ I
620
+ 15
621
+ I
622
+ 20
623
+ x
624
+ 69
625
+ /Users/felipeelias/Applicake/doorkeeper/lib/doorkeeper/validations.rb
626
+ p
627
+ 2
628
+ x
629
+ 9
630
+ attribute
631
+ x
632
+ 7
633
+ options
634
+ x
635
+ 17
636
+ method_visibility
637
+ x
638
+ 15
639
+ add_defn_method
640
+ x
641
+ 11
642
+ validations
643
+ M
644
+ 1
645
+ n
646
+ n
647
+ x
648
+ 11
649
+ validations
650
+ i
651
+ 11
652
+ 39
653
+ 0
654
+ 13
655
+ 10
656
+ 10
657
+ 15
658
+ 35
659
+ 0
660
+ 38
661
+ 0
662
+ 11
663
+ I
664
+ 2
665
+ I
666
+ 0
667
+ I
668
+ 0
669
+ I
670
+ 0
671
+ n
672
+ p
673
+ 1
674
+ x
675
+ 12
676
+ @validations
677
+ p
678
+ 5
679
+ I
680
+ -1
681
+ I
682
+ 18
683
+ I
684
+ 0
685
+ I
686
+ 19
687
+ I
688
+ b
689
+ x
690
+ 69
691
+ /Users/felipeelias/Applicake/doorkeeper/lib/doorkeeper/validations.rb
692
+ p
693
+ 0
694
+ p
695
+ 5
696
+ I
697
+ 2
698
+ I
699
+ 14
700
+ I
701
+ 10
702
+ I
703
+ 18
704
+ I
705
+ 1e
706
+ x
707
+ 69
708
+ /Users/felipeelias/Applicake/doorkeeper/lib/doorkeeper/validations.rb
709
+ p
710
+ 0
711
+ x
712
+ 13
713
+ attach_method
714
+ p
715
+ 11
716
+ I
717
+ 2
718
+ I
719
+ 3
720
+ I
721
+ d
722
+ I
723
+ 5
724
+ I
725
+ 15
726
+ I
727
+ 7
728
+ I
729
+ 23
730
+ I
731
+ f
732
+ I
733
+ 31
734
+ I
735
+ 13
736
+ I
737
+ 4b
738
+ x
739
+ 69
740
+ /Users/felipeelias/Applicake/doorkeeper/lib/doorkeeper/validations.rb
741
+ p
742
+ 0
743
+ x
744
+ 13
745
+ attach_method
746
+ p
747
+ 3
748
+ I
749
+ 2
750
+ I
751
+ 2
752
+ I
753
+ 1c
754
+ x
755
+ 69
756
+ /Users/felipeelias/Applicake/doorkeeper/lib/doorkeeper/validations.rb
757
+ p
758
+ 0
759
+ x
760
+ 13
761
+ attach_method
762
+ p
763
+ 3
764
+ I
765
+ 0
766
+ I
767
+ 1
768
+ I
769
+ 1c
770
+ x
771
+ 69
772
+ /Users/felipeelias/Applicake/doorkeeper/lib/doorkeeper/validations.rb
773
+ p
774
+ 0