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,757 @@
1
+ !RBIX
2
+ 12079494195756429234
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
+ 11
54
+ ActiveModel
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
+ 11
67
+ ActiveModel
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
+ 57
127
+ 5
128
+ 66
129
+ 99
130
+ 7
131
+ 0
132
+ 45
133
+ 1
134
+ 2
135
+ 65
136
+ 49
137
+ 3
138
+ 3
139
+ 13
140
+ 99
141
+ 12
142
+ 7
143
+ 4
144
+ 12
145
+ 7
146
+ 5
147
+ 12
148
+ 65
149
+ 12
150
+ 49
151
+ 6
152
+ 4
153
+ 15
154
+ 49
155
+ 4
156
+ 0
157
+ 15
158
+ 99
159
+ 7
160
+ 7
161
+ 65
162
+ 49
163
+ 8
164
+ 2
165
+ 13
166
+ 99
167
+ 12
168
+ 7
169
+ 9
170
+ 12
171
+ 7
172
+ 10
173
+ 12
174
+ 65
175
+ 12
176
+ 49
177
+ 6
178
+ 4
179
+ 15
180
+ 49
181
+ 9
182
+ 0
183
+ 11
184
+ I
185
+ 6
186
+ I
187
+ 0
188
+ I
189
+ 0
190
+ I
191
+ 0
192
+ n
193
+ p
194
+ 11
195
+ x
196
+ 21
197
+ ConfirmationValidator
198
+ x
199
+ 13
200
+ EachValidator
201
+ n
202
+ x
203
+ 10
204
+ open_class
205
+ x
206
+ 14
207
+ __class_init__
208
+ M
209
+ 1
210
+ n
211
+ n
212
+ x
213
+ 21
214
+ ConfirmationValidator
215
+ i
216
+ 30
217
+ 5
218
+ 66
219
+ 99
220
+ 7
221
+ 0
222
+ 7
223
+ 1
224
+ 65
225
+ 67
226
+ 49
227
+ 2
228
+ 0
229
+ 49
230
+ 3
231
+ 4
232
+ 15
233
+ 99
234
+ 7
235
+ 4
236
+ 7
237
+ 5
238
+ 65
239
+ 67
240
+ 49
241
+ 2
242
+ 0
243
+ 49
244
+ 3
245
+ 4
246
+ 11
247
+ I
248
+ 5
249
+ I
250
+ 0
251
+ I
252
+ 0
253
+ I
254
+ 0
255
+ n
256
+ p
257
+ 6
258
+ x
259
+ 13
260
+ validate_each
261
+ M
262
+ 1
263
+ n
264
+ n
265
+ x
266
+ 13
267
+ validate_each
268
+ i
269
+ 60
270
+ 20
271
+ 0
272
+ 20
273
+ 1
274
+ 47
275
+ 101
276
+ 0
277
+ 7
278
+ 1
279
+ 63
280
+ 2
281
+ 47
282
+ 49
283
+ 2
284
+ 0
285
+ 49
286
+ 3
287
+ 1
288
+ 19
289
+ 3
290
+ 15
291
+ 20
292
+ 3
293
+ 49
294
+ 4
295
+ 0
296
+ 13
297
+ 10
298
+ 36
299
+ 15
300
+ 20
301
+ 2
302
+ 20
303
+ 3
304
+ 83
305
+ 5
306
+ 9
307
+ 42
308
+ 1
309
+ 11
310
+ 8
311
+ 43
312
+ 1
313
+ 15
314
+ 20
315
+ 0
316
+ 49
317
+ 6
318
+ 0
319
+ 20
320
+ 1
321
+ 7
322
+ 7
323
+ 5
324
+ 48
325
+ 8
326
+ 49
327
+ 9
328
+ 3
329
+ 11
330
+ I
331
+ 8
332
+ I
333
+ 4
334
+ I
335
+ 3
336
+ I
337
+ 3
338
+ n
339
+ p
340
+ 10
341
+ x
342
+ 4
343
+ to_s
344
+ s
345
+ 13
346
+ _confirmation
347
+ x
348
+ 6
349
+ to_sym
350
+ x
351
+ 4
352
+ send
353
+ x
354
+ 4
355
+ nil?
356
+ x
357
+ 2
358
+ ==
359
+ x
360
+ 6
361
+ errors
362
+ x
363
+ 12
364
+ confirmation
365
+ x
366
+ 7
367
+ options
368
+ x
369
+ 3
370
+ add
371
+ p
372
+ 9
373
+ I
374
+ -1
375
+ I
376
+ 6
377
+ I
378
+ 0
379
+ I
380
+ 7
381
+ I
382
+ 15
383
+ I
384
+ 8
385
+ I
386
+ 2c
387
+ I
388
+ 9
389
+ I
390
+ 3c
391
+ x
392
+ 93
393
+ /Users/santiago/WyeWorks/Projs/rails/activemodel/lib/active_model/validations/confirmation.rb
394
+ p
395
+ 4
396
+ x
397
+ 6
398
+ record
399
+ x
400
+ 9
401
+ attribute
402
+ x
403
+ 5
404
+ value
405
+ x
406
+ 9
407
+ confirmed
408
+ x
409
+ 17
410
+ method_visibility
411
+ x
412
+ 15
413
+ add_defn_method
414
+ x
415
+ 5
416
+ setup
417
+ M
418
+ 1
419
+ n
420
+ n
421
+ x
422
+ 5
423
+ setup
424
+ i
425
+ 18
426
+ 20
427
+ 0
428
+ 7
429
+ 0
430
+ 5
431
+ 48
432
+ 1
433
+ 56
434
+ 2
435
+ 50
436
+ 3
437
+ 0
438
+ 36
439
+ 1
440
+ 51
441
+ 4
442
+ 1
443
+ 11
444
+ I
445
+ 5
446
+ I
447
+ 1
448
+ I
449
+ 1
450
+ I
451
+ 1
452
+ n
453
+ p
454
+ 5
455
+ x
456
+ 13
457
+ attr_accessor
458
+ x
459
+ 10
460
+ attributes
461
+ M
462
+ 1
463
+ p
464
+ 2
465
+ x
466
+ 9
467
+ for_block
468
+ t
469
+ n
470
+ x
471
+ 5
472
+ setup
473
+ i
474
+ 18
475
+ 57
476
+ 19
477
+ 0
478
+ 15
479
+ 20
480
+ 0
481
+ 47
482
+ 101
483
+ 0
484
+ 7
485
+ 1
486
+ 63
487
+ 2
488
+ 47
489
+ 49
490
+ 2
491
+ 0
492
+ 11
493
+ I
494
+ 4
495
+ I
496
+ 1
497
+ I
498
+ 1
499
+ I
500
+ 1
501
+ n
502
+ p
503
+ 3
504
+ x
505
+ 4
506
+ to_s
507
+ s
508
+ 13
509
+ _confirmation
510
+ x
511
+ 6
512
+ to_sym
513
+ p
514
+ 3
515
+ I
516
+ 0
517
+ I
518
+ d
519
+ I
520
+ 12
521
+ x
522
+ 93
523
+ /Users/santiago/WyeWorks/Projs/rails/activemodel/lib/active_model/validations/confirmation.rb
524
+ p
525
+ 1
526
+ x
527
+ 9
528
+ attribute
529
+ x
530
+ 3
531
+ map
532
+ x
533
+ 4
534
+ send
535
+ p
536
+ 5
537
+ I
538
+ -1
539
+ I
540
+ c
541
+ I
542
+ 0
543
+ I
544
+ d
545
+ I
546
+ 12
547
+ x
548
+ 93
549
+ /Users/santiago/WyeWorks/Projs/rails/activemodel/lib/active_model/validations/confirmation.rb
550
+ p
551
+ 1
552
+ x
553
+ 5
554
+ klass
555
+ p
556
+ 5
557
+ I
558
+ 2
559
+ I
560
+ 6
561
+ I
562
+ 10
563
+ I
564
+ c
565
+ I
566
+ 1e
567
+ x
568
+ 93
569
+ /Users/santiago/WyeWorks/Projs/rails/activemodel/lib/active_model/validations/confirmation.rb
570
+ p
571
+ 0
572
+ x
573
+ 13
574
+ attach_method
575
+ x
576
+ 13
577
+ HelperMethods
578
+ x
579
+ 11
580
+ open_module
581
+ x
582
+ 15
583
+ __module_init__
584
+ M
585
+ 1
586
+ n
587
+ n
588
+ x
589
+ 13
590
+ HelperMethods
591
+ i
592
+ 16
593
+ 5
594
+ 66
595
+ 99
596
+ 7
597
+ 0
598
+ 7
599
+ 1
600
+ 65
601
+ 67
602
+ 49
603
+ 2
604
+ 0
605
+ 49
606
+ 3
607
+ 4
608
+ 11
609
+ I
610
+ 5
611
+ I
612
+ 0
613
+ I
614
+ 0
615
+ I
616
+ 0
617
+ n
618
+ p
619
+ 4
620
+ x
621
+ 25
622
+ validates_confirmation_of
623
+ M
624
+ 1
625
+ n
626
+ n
627
+ x
628
+ 25
629
+ validates_confirmation_of
630
+ i
631
+ 16
632
+ 5
633
+ 45
634
+ 0
635
+ 1
636
+ 5
637
+ 20
638
+ 0
639
+ 47
640
+ 49
641
+ 2
642
+ 1
643
+ 47
644
+ 49
645
+ 3
646
+ 2
647
+ 11
648
+ I
649
+ 5
650
+ I
651
+ 1
652
+ I
653
+ 0
654
+ I
655
+ 0
656
+ I
657
+ 0
658
+ p
659
+ 4
660
+ x
661
+ 21
662
+ ConfirmationValidator
663
+ n
664
+ x
665
+ 17
666
+ _merge_attributes
667
+ x
668
+ 14
669
+ validates_with
670
+ p
671
+ 5
672
+ I
673
+ -1
674
+ I
675
+ 3a
676
+ I
677
+ 0
678
+ I
679
+ 3b
680
+ I
681
+ 10
682
+ x
683
+ 93
684
+ /Users/santiago/WyeWorks/Projs/rails/activemodel/lib/active_model/validations/confirmation.rb
685
+ p
686
+ 1
687
+ x
688
+ 10
689
+ attr_names
690
+ x
691
+ 17
692
+ method_visibility
693
+ x
694
+ 15
695
+ add_defn_method
696
+ p
697
+ 3
698
+ I
699
+ 2
700
+ I
701
+ 3a
702
+ I
703
+ 10
704
+ x
705
+ 93
706
+ /Users/santiago/WyeWorks/Projs/rails/activemodel/lib/active_model/validations/confirmation.rb
707
+ p
708
+ 0
709
+ p
710
+ 5
711
+ I
712
+ 2
713
+ I
714
+ 5
715
+ I
716
+ 1f
717
+ I
718
+ 11
719
+ I
720
+ 39
721
+ x
722
+ 93
723
+ /Users/santiago/WyeWorks/Projs/rails/activemodel/lib/active_model/validations/confirmation.rb
724
+ p
725
+ 0
726
+ x
727
+ 13
728
+ attach_method
729
+ p
730
+ 3
731
+ I
732
+ 2
733
+ I
734
+ 4
735
+ I
736
+ 1c
737
+ x
738
+ 93
739
+ /Users/santiago/WyeWorks/Projs/rails/activemodel/lib/active_model/validations/confirmation.rb
740
+ p
741
+ 0
742
+ x
743
+ 13
744
+ attach_method
745
+ p
746
+ 3
747
+ I
748
+ 0
749
+ I
750
+ 1
751
+ I
752
+ 1c
753
+ x
754
+ 93
755
+ /Users/santiago/WyeWorks/Projs/rails/activemodel/lib/active_model/validations/confirmation.rb
756
+ p
757
+ 0