activemodel 3.0.6 → 3.0.7.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. data/CHANGELOG +5 -0
  2. data/lib/active_model.rbc +781 -0
  3. data/lib/active_model/attribute_methods.rbc +4425 -0
  4. data/lib/active_model/callbacks.rbc +1164 -0
  5. data/lib/active_model/conversion.rbc +416 -0
  6. data/lib/active_model/deprecated_error_methods.rbc +899 -0
  7. data/lib/active_model/dirty.rbc +1538 -0
  8. data/lib/active_model/errors.rbc +3944 -0
  9. data/lib/active_model/mass_assignment_security.rbc +1407 -0
  10. data/lib/active_model/mass_assignment_security/permission_set.rbc +956 -0
  11. data/lib/active_model/mass_assignment_security/sanitizer.rbc +663 -0
  12. data/lib/active_model/naming.rbc +1547 -0
  13. data/lib/active_model/observing.rbc +2496 -0
  14. data/lib/active_model/railtie.rbc +69 -0
  15. data/lib/active_model/serialization.rbc +763 -0
  16. data/lib/active_model/serializers/json.rbc +802 -0
  17. data/lib/active_model/serializers/xml.rbc +3540 -0
  18. data/lib/active_model/translation.rbc +988 -0
  19. data/lib/active_model/validations.rbc +2398 -0
  20. data/lib/active_model/validations/acceptance.rbc +955 -0
  21. data/lib/active_model/validations/callbacks.rbc +1441 -0
  22. data/lib/active_model/validations/confirmation.rbc +757 -0
  23. data/lib/active_model/validations/exclusion.rbc +739 -0
  24. data/lib/active_model/validations/format.rbc +972 -0
  25. data/lib/active_model/validations/inclusion.rbc +997 -0
  26. data/lib/active_model/validations/length.rbc +1814 -0
  27. data/lib/active_model/validations/numericality.rbc +2163 -0
  28. data/lib/active_model/validations/presence.rbc +537 -0
  29. data/lib/active_model/validations/validates.rbc +1128 -0
  30. data/lib/active_model/validations/with.rbc +1058 -0
  31. data/lib/active_model/validator.rbc +1507 -0
  32. data/lib/active_model/version.rb +2 -2
  33. data/lib/active_model/version.rbc +295 -0
  34. metadata +50 -13
@@ -0,0 +1,956 @@
1
+ !RBIX
2
+ 12079494195756429234
3
+ x
4
+ M
5
+ 1
6
+ n
7
+ n
8
+ x
9
+ 10
10
+ __script__
11
+ i
12
+ 46
13
+ 5
14
+ 7
15
+ 0
16
+ 64
17
+ 47
18
+ 49
19
+ 1
20
+ 1
21
+ 15
22
+ 5
23
+ 7
24
+ 2
25
+ 64
26
+ 47
27
+ 49
28
+ 1
29
+ 1
30
+ 15
31
+ 99
32
+ 7
33
+ 3
34
+ 65
35
+ 49
36
+ 4
37
+ 2
38
+ 13
39
+ 99
40
+ 12
41
+ 7
42
+ 5
43
+ 12
44
+ 7
45
+ 6
46
+ 12
47
+ 65
48
+ 12
49
+ 49
50
+ 7
51
+ 4
52
+ 15
53
+ 49
54
+ 5
55
+ 0
56
+ 15
57
+ 2
58
+ 11
59
+ I
60
+ 6
61
+ I
62
+ 0
63
+ I
64
+ 0
65
+ I
66
+ 0
67
+ n
68
+ p
69
+ 8
70
+ s
71
+ 3
72
+ set
73
+ x
74
+ 7
75
+ require
76
+ s
77
+ 47
78
+ active_model/mass_assignment_security/sanitizer
79
+ x
80
+ 11
81
+ ActiveModel
82
+ x
83
+ 11
84
+ open_module
85
+ x
86
+ 15
87
+ __module_init__
88
+ M
89
+ 1
90
+ n
91
+ n
92
+ x
93
+ 11
94
+ ActiveModel
95
+ i
96
+ 28
97
+ 5
98
+ 66
99
+ 99
100
+ 7
101
+ 0
102
+ 65
103
+ 49
104
+ 1
105
+ 2
106
+ 13
107
+ 99
108
+ 12
109
+ 7
110
+ 2
111
+ 12
112
+ 7
113
+ 3
114
+ 12
115
+ 65
116
+ 12
117
+ 49
118
+ 4
119
+ 4
120
+ 15
121
+ 49
122
+ 2
123
+ 0
124
+ 11
125
+ I
126
+ 6
127
+ I
128
+ 0
129
+ I
130
+ 0
131
+ I
132
+ 0
133
+ n
134
+ p
135
+ 5
136
+ x
137
+ 22
138
+ MassAssignmentSecurity
139
+ x
140
+ 11
141
+ open_module
142
+ x
143
+ 15
144
+ __module_init__
145
+ M
146
+ 1
147
+ n
148
+ n
149
+ x
150
+ 22
151
+ MassAssignmentSecurity
152
+ i
153
+ 89
154
+ 5
155
+ 66
156
+ 99
157
+ 7
158
+ 0
159
+ 45
160
+ 1
161
+ 2
162
+ 65
163
+ 49
164
+ 3
165
+ 3
166
+ 13
167
+ 99
168
+ 12
169
+ 7
170
+ 4
171
+ 12
172
+ 7
173
+ 5
174
+ 12
175
+ 65
176
+ 12
177
+ 49
178
+ 6
179
+ 4
180
+ 15
181
+ 49
182
+ 4
183
+ 0
184
+ 15
185
+ 99
186
+ 7
187
+ 7
188
+ 45
189
+ 0
190
+ 8
191
+ 65
192
+ 49
193
+ 3
194
+ 3
195
+ 13
196
+ 99
197
+ 12
198
+ 7
199
+ 4
200
+ 12
201
+ 7
202
+ 9
203
+ 12
204
+ 65
205
+ 12
206
+ 49
207
+ 6
208
+ 4
209
+ 15
210
+ 49
211
+ 4
212
+ 0
213
+ 15
214
+ 99
215
+ 7
216
+ 10
217
+ 45
218
+ 0
219
+ 11
220
+ 65
221
+ 49
222
+ 3
223
+ 3
224
+ 13
225
+ 99
226
+ 12
227
+ 7
228
+ 4
229
+ 12
230
+ 7
231
+ 12
232
+ 12
233
+ 65
234
+ 12
235
+ 49
236
+ 6
237
+ 4
238
+ 15
239
+ 49
240
+ 4
241
+ 0
242
+ 11
243
+ I
244
+ 6
245
+ I
246
+ 0
247
+ I
248
+ 0
249
+ I
250
+ 0
251
+ n
252
+ p
253
+ 13
254
+ x
255
+ 13
256
+ PermissionSet
257
+ x
258
+ 3
259
+ Set
260
+ n
261
+ x
262
+ 10
263
+ open_class
264
+ x
265
+ 14
266
+ __class_init__
267
+ M
268
+ 1
269
+ n
270
+ n
271
+ x
272
+ 13
273
+ PermissionSet
274
+ i
275
+ 56
276
+ 5
277
+ 66
278
+ 5
279
+ 7
280
+ 0
281
+ 47
282
+ 49
283
+ 1
284
+ 1
285
+ 15
286
+ 99
287
+ 7
288
+ 2
289
+ 7
290
+ 3
291
+ 65
292
+ 67
293
+ 49
294
+ 4
295
+ 0
296
+ 49
297
+ 5
298
+ 4
299
+ 15
300
+ 99
301
+ 7
302
+ 6
303
+ 7
304
+ 7
305
+ 65
306
+ 67
307
+ 49
308
+ 4
309
+ 0
310
+ 49
311
+ 5
312
+ 4
313
+ 15
314
+ 5
315
+ 48
316
+ 8
317
+ 15
318
+ 99
319
+ 7
320
+ 9
321
+ 7
322
+ 10
323
+ 65
324
+ 67
325
+ 49
326
+ 4
327
+ 0
328
+ 49
329
+ 5
330
+ 4
331
+ 11
332
+ I
333
+ 5
334
+ I
335
+ 0
336
+ I
337
+ 0
338
+ I
339
+ 0
340
+ n
341
+ p
342
+ 11
343
+ x
344
+ 6
345
+ logger
346
+ x
347
+ 13
348
+ attr_accessor
349
+ x
350
+ 1
351
+ +
352
+ M
353
+ 1
354
+ n
355
+ n
356
+ x
357
+ 1
358
+ +
359
+ i
360
+ 23
361
+ 20
362
+ 0
363
+ 7
364
+ 0
365
+ 13
366
+ 70
367
+ 10
368
+ 15
369
+ 44
370
+ 43
371
+ 1
372
+ 12
373
+ 49
374
+ 2
375
+ 1
376
+ 50
377
+ 3
378
+ 0
379
+ 54
380
+ 52
381
+ 4
382
+ 1
383
+ 11
384
+ I
385
+ 4
386
+ I
387
+ 1
388
+ I
389
+ 1
390
+ I
391
+ 1
392
+ n
393
+ p
394
+ 5
395
+ x
396
+ 4
397
+ to_s
398
+ x
399
+ 4
400
+ Proc
401
+ x
402
+ 14
403
+ __from_block__
404
+ x
405
+ 3
406
+ map
407
+ x
408
+ 1
409
+ +
410
+ p
411
+ 5
412
+ I
413
+ -1
414
+ I
415
+ 9
416
+ I
417
+ 0
418
+ I
419
+ a
420
+ I
421
+ 17
422
+ x
423
+ 108
424
+ /Users/santiago/WyeWorks/Projs/rails/activemodel/lib/active_model/mass_assignment_security/permission_set.rb
425
+ p
426
+ 1
427
+ x
428
+ 6
429
+ values
430
+ x
431
+ 17
432
+ method_visibility
433
+ x
434
+ 15
435
+ add_defn_method
436
+ x
437
+ 8
438
+ include?
439
+ M
440
+ 1
441
+ n
442
+ n
443
+ x
444
+ 8
445
+ include?
446
+ i
447
+ 12
448
+ 5
449
+ 20
450
+ 0
451
+ 47
452
+ 49
453
+ 0
454
+ 1
455
+ 54
456
+ 52
457
+ 1
458
+ 1
459
+ 11
460
+ I
461
+ 3
462
+ I
463
+ 1
464
+ I
465
+ 1
466
+ I
467
+ 1
468
+ n
469
+ p
470
+ 2
471
+ x
472
+ 24
473
+ remove_multiparameter_id
474
+ x
475
+ 8
476
+ include?
477
+ p
478
+ 5
479
+ I
480
+ -1
481
+ I
482
+ d
483
+ I
484
+ 0
485
+ I
486
+ e
487
+ I
488
+ c
489
+ x
490
+ 108
491
+ /Users/santiago/WyeWorks/Projs/rails/activemodel/lib/active_model/mass_assignment_security/permission_set.rb
492
+ p
493
+ 1
494
+ x
495
+ 3
496
+ key
497
+ x
498
+ 9
499
+ protected
500
+ x
501
+ 24
502
+ remove_multiparameter_id
503
+ M
504
+ 1
505
+ n
506
+ n
507
+ x
508
+ 24
509
+ remove_multiparameter_id
510
+ i
511
+ 30
512
+ 20
513
+ 0
514
+ 49
515
+ 0
516
+ 0
517
+ 7
518
+ 1
519
+ 13
520
+ 70
521
+ 9
522
+ 23
523
+ 15
524
+ 44
525
+ 43
526
+ 2
527
+ 7
528
+ 3
529
+ 78
530
+ 49
531
+ 4
532
+ 2
533
+ 6
534
+ 1
535
+ 7
536
+ 5
537
+ 64
538
+ 49
539
+ 6
540
+ 2
541
+ 11
542
+ I
543
+ 5
544
+ I
545
+ 1
546
+ I
547
+ 1
548
+ I
549
+ 1
550
+ n
551
+ p
552
+ 7
553
+ x
554
+ 4
555
+ to_s
556
+ n
557
+ x
558
+ 6
559
+ Regexp
560
+ s
561
+ 4
562
+ \(.+
563
+ x
564
+ 3
565
+ new
566
+ s
567
+ 0
568
+
569
+ x
570
+ 4
571
+ gsub
572
+ p
573
+ 5
574
+ I
575
+ -1
576
+ I
577
+ 13
578
+ I
579
+ 0
580
+ I
581
+ 14
582
+ I
583
+ 1e
584
+ x
585
+ 108
586
+ /Users/santiago/WyeWorks/Projs/rails/activemodel/lib/active_model/mass_assignment_security/permission_set.rb
587
+ p
588
+ 1
589
+ x
590
+ 3
591
+ key
592
+ p
593
+ 11
594
+ I
595
+ 2
596
+ I
597
+ 7
598
+ I
599
+ a
600
+ I
601
+ 9
602
+ I
603
+ 18
604
+ I
605
+ d
606
+ I
607
+ 26
608
+ I
609
+ 11
610
+ I
611
+ 2a
612
+ I
613
+ 13
614
+ I
615
+ 38
616
+ x
617
+ 108
618
+ /Users/santiago/WyeWorks/Projs/rails/activemodel/lib/active_model/mass_assignment_security/permission_set.rb
619
+ p
620
+ 0
621
+ x
622
+ 13
623
+ attach_method
624
+ x
625
+ 9
626
+ WhiteList
627
+ n
628
+ M
629
+ 1
630
+ n
631
+ n
632
+ x
633
+ 9
634
+ WhiteList
635
+ i
636
+ 25
637
+ 5
638
+ 66
639
+ 5
640
+ 45
641
+ 0
642
+ 1
643
+ 47
644
+ 49
645
+ 2
646
+ 1
647
+ 15
648
+ 99
649
+ 7
650
+ 3
651
+ 7
652
+ 4
653
+ 65
654
+ 67
655
+ 49
656
+ 5
657
+ 0
658
+ 49
659
+ 6
660
+ 4
661
+ 11
662
+ I
663
+ 5
664
+ I
665
+ 0
666
+ I
667
+ 0
668
+ I
669
+ 0
670
+ n
671
+ p
672
+ 7
673
+ x
674
+ 9
675
+ Sanitizer
676
+ n
677
+ x
678
+ 7
679
+ include
680
+ x
681
+ 5
682
+ deny?
683
+ M
684
+ 1
685
+ n
686
+ n
687
+ x
688
+ 5
689
+ deny?
690
+ i
691
+ 14
692
+ 5
693
+ 20
694
+ 0
695
+ 47
696
+ 49
697
+ 0
698
+ 1
699
+ 10
700
+ 12
701
+ 2
702
+ 8
703
+ 13
704
+ 3
705
+ 11
706
+ I
707
+ 3
708
+ I
709
+ 1
710
+ I
711
+ 1
712
+ I
713
+ 1
714
+ n
715
+ p
716
+ 1
717
+ x
718
+ 8
719
+ include?
720
+ p
721
+ 5
722
+ I
723
+ -1
724
+ I
725
+ 1b
726
+ I
727
+ 0
728
+ I
729
+ 1c
730
+ I
731
+ e
732
+ x
733
+ 108
734
+ /Users/santiago/WyeWorks/Projs/rails/activemodel/lib/active_model/mass_assignment_security/permission_set.rb
735
+ p
736
+ 1
737
+ x
738
+ 3
739
+ key
740
+ x
741
+ 17
742
+ method_visibility
743
+ x
744
+ 15
745
+ add_defn_method
746
+ p
747
+ 5
748
+ I
749
+ 2
750
+ I
751
+ 19
752
+ I
753
+ b
754
+ I
755
+ 1b
756
+ I
757
+ 19
758
+ x
759
+ 108
760
+ /Users/santiago/WyeWorks/Projs/rails/activemodel/lib/active_model/mass_assignment_security/permission_set.rb
761
+ p
762
+ 0
763
+ x
764
+ 9
765
+ BlackList
766
+ n
767
+ M
768
+ 1
769
+ n
770
+ n
771
+ x
772
+ 9
773
+ BlackList
774
+ i
775
+ 25
776
+ 5
777
+ 66
778
+ 5
779
+ 45
780
+ 0
781
+ 1
782
+ 47
783
+ 49
784
+ 2
785
+ 1
786
+ 15
787
+ 99
788
+ 7
789
+ 3
790
+ 7
791
+ 4
792
+ 65
793
+ 67
794
+ 49
795
+ 5
796
+ 0
797
+ 49
798
+ 6
799
+ 4
800
+ 11
801
+ I
802
+ 5
803
+ I
804
+ 0
805
+ I
806
+ 0
807
+ I
808
+ 0
809
+ n
810
+ p
811
+ 7
812
+ x
813
+ 9
814
+ Sanitizer
815
+ n
816
+ x
817
+ 7
818
+ include
819
+ x
820
+ 5
821
+ deny?
822
+ M
823
+ 1
824
+ n
825
+ n
826
+ x
827
+ 5
828
+ deny?
829
+ i
830
+ 8
831
+ 5
832
+ 20
833
+ 0
834
+ 47
835
+ 49
836
+ 0
837
+ 1
838
+ 11
839
+ I
840
+ 3
841
+ I
842
+ 1
843
+ I
844
+ 1
845
+ I
846
+ 1
847
+ n
848
+ p
849
+ 1
850
+ x
851
+ 8
852
+ include?
853
+ p
854
+ 5
855
+ I
856
+ -1
857
+ I
858
+ 23
859
+ I
860
+ 0
861
+ I
862
+ 24
863
+ I
864
+ 8
865
+ x
866
+ 108
867
+ /Users/santiago/WyeWorks/Projs/rails/activemodel/lib/active_model/mass_assignment_security/permission_set.rb
868
+ p
869
+ 1
870
+ x
871
+ 3
872
+ key
873
+ x
874
+ 17
875
+ method_visibility
876
+ x
877
+ 15
878
+ add_defn_method
879
+ p
880
+ 5
881
+ I
882
+ 2
883
+ I
884
+ 21
885
+ I
886
+ b
887
+ I
888
+ 23
889
+ I
890
+ 19
891
+ x
892
+ 108
893
+ /Users/santiago/WyeWorks/Projs/rails/activemodel/lib/active_model/mass_assignment_security/permission_set.rb
894
+ p
895
+ 0
896
+ p
897
+ 7
898
+ I
899
+ 2
900
+ I
901
+ 6
902
+ I
903
+ 1f
904
+ I
905
+ 18
906
+ I
907
+ 3c
908
+ I
909
+ 20
910
+ I
911
+ 59
912
+ x
913
+ 108
914
+ /Users/santiago/WyeWorks/Projs/rails/activemodel/lib/active_model/mass_assignment_security/permission_set.rb
915
+ p
916
+ 0
917
+ x
918
+ 13
919
+ attach_method
920
+ p
921
+ 3
922
+ I
923
+ 2
924
+ I
925
+ 5
926
+ I
927
+ 1c
928
+ x
929
+ 108
930
+ /Users/santiago/WyeWorks/Projs/rails/activemodel/lib/active_model/mass_assignment_security/permission_set.rb
931
+ p
932
+ 0
933
+ x
934
+ 13
935
+ attach_method
936
+ p
937
+ 7
938
+ I
939
+ 0
940
+ I
941
+ 1
942
+ I
943
+ 9
944
+ I
945
+ 2
946
+ I
947
+ 12
948
+ I
949
+ 4
950
+ I
951
+ 2e
952
+ x
953
+ 108
954
+ /Users/santiago/WyeWorks/Projs/rails/activemodel/lib/active_model/mass_assignment_security/permission_set.rb
955
+ p
956
+ 0