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,663 @@
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
+ 22
111
+ MassAssignmentSecurity
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
+ 22
124
+ MassAssignmentSecurity
125
+ i
126
+ 28
127
+ 5
128
+ 66
129
+ 99
130
+ 7
131
+ 0
132
+ 65
133
+ 49
134
+ 1
135
+ 2
136
+ 13
137
+ 99
138
+ 12
139
+ 7
140
+ 2
141
+ 12
142
+ 7
143
+ 3
144
+ 12
145
+ 65
146
+ 12
147
+ 49
148
+ 4
149
+ 4
150
+ 15
151
+ 49
152
+ 2
153
+ 0
154
+ 11
155
+ I
156
+ 6
157
+ I
158
+ 0
159
+ I
160
+ 0
161
+ I
162
+ 0
163
+ n
164
+ p
165
+ 5
166
+ x
167
+ 9
168
+ Sanitizer
169
+ x
170
+ 11
171
+ open_module
172
+ x
173
+ 15
174
+ __module_init__
175
+ M
176
+ 1
177
+ n
178
+ n
179
+ x
180
+ 9
181
+ Sanitizer
182
+ i
183
+ 48
184
+ 5
185
+ 66
186
+ 99
187
+ 7
188
+ 0
189
+ 7
190
+ 1
191
+ 65
192
+ 67
193
+ 49
194
+ 2
195
+ 0
196
+ 49
197
+ 3
198
+ 4
199
+ 15
200
+ 5
201
+ 48
202
+ 4
203
+ 15
204
+ 99
205
+ 7
206
+ 5
207
+ 7
208
+ 6
209
+ 65
210
+ 67
211
+ 49
212
+ 2
213
+ 0
214
+ 49
215
+ 3
216
+ 4
217
+ 15
218
+ 99
219
+ 7
220
+ 7
221
+ 7
222
+ 8
223
+ 65
224
+ 67
225
+ 49
226
+ 2
227
+ 0
228
+ 49
229
+ 3
230
+ 4
231
+ 11
232
+ I
233
+ 5
234
+ I
235
+ 0
236
+ I
237
+ 0
238
+ I
239
+ 0
240
+ n
241
+ p
242
+ 9
243
+ x
244
+ 8
245
+ sanitize
246
+ M
247
+ 1
248
+ n
249
+ n
250
+ x
251
+ 8
252
+ sanitize
253
+ i
254
+ 23
255
+ 20
256
+ 0
257
+ 56
258
+ 0
259
+ 50
260
+ 1
261
+ 0
262
+ 19
263
+ 1
264
+ 15
265
+ 5
266
+ 20
267
+ 0
268
+ 20
269
+ 1
270
+ 47
271
+ 49
272
+ 2
273
+ 2
274
+ 15
275
+ 20
276
+ 1
277
+ 11
278
+ I
279
+ 5
280
+ I
281
+ 2
282
+ I
283
+ 1
284
+ I
285
+ 1
286
+ n
287
+ p
288
+ 3
289
+ M
290
+ 1
291
+ p
292
+ 2
293
+ x
294
+ 9
295
+ for_block
296
+ t
297
+ n
298
+ x
299
+ 8
300
+ sanitize
301
+ i
302
+ 18
303
+ 58
304
+ 37
305
+ 19
306
+ 0
307
+ 15
308
+ 37
309
+ 19
310
+ 1
311
+ 15
312
+ 15
313
+ 5
314
+ 20
315
+ 0
316
+ 47
317
+ 49
318
+ 0
319
+ 1
320
+ 11
321
+ I
322
+ 5
323
+ I
324
+ 2
325
+ I
326
+ 2
327
+ I
328
+ 2
329
+ n
330
+ p
331
+ 1
332
+ x
333
+ 5
334
+ deny?
335
+ p
336
+ 3
337
+ I
338
+ 0
339
+ I
340
+ 6
341
+ I
342
+ 12
343
+ x
344
+ 103
345
+ /Users/santiago/WyeWorks/Projs/rails/activemodel/lib/active_model/mass_assignment_security/sanitizer.rb
346
+ p
347
+ 2
348
+ x
349
+ 3
350
+ key
351
+ x
352
+ 5
353
+ value
354
+ x
355
+ 6
356
+ reject
357
+ x
358
+ 33
359
+ debug_protected_attribute_removal
360
+ p
361
+ 9
362
+ I
363
+ -1
364
+ I
365
+ 5
366
+ I
367
+ 0
368
+ I
369
+ 6
370
+ I
371
+ a
372
+ I
373
+ 7
374
+ I
375
+ 14
376
+ I
377
+ 8
378
+ I
379
+ 17
380
+ x
381
+ 103
382
+ /Users/santiago/WyeWorks/Projs/rails/activemodel/lib/active_model/mass_assignment_security/sanitizer.rb
383
+ p
384
+ 2
385
+ x
386
+ 10
387
+ attributes
388
+ x
389
+ 20
390
+ sanitized_attributes
391
+ x
392
+ 17
393
+ method_visibility
394
+ x
395
+ 15
396
+ add_defn_method
397
+ x
398
+ 9
399
+ protected
400
+ x
401
+ 33
402
+ debug_protected_attribute_removal
403
+ M
404
+ 1
405
+ n
406
+ n
407
+ x
408
+ 33
409
+ debug_protected_attribute_removal
410
+ i
411
+ 33
412
+ 20
413
+ 0
414
+ 49
415
+ 0
416
+ 0
417
+ 20
418
+ 1
419
+ 49
420
+ 0
421
+ 0
422
+ 82
423
+ 1
424
+ 19
425
+ 2
426
+ 15
427
+ 20
428
+ 2
429
+ 49
430
+ 2
431
+ 0
432
+ 9
433
+ 31
434
+ 5
435
+ 20
436
+ 2
437
+ 47
438
+ 49
439
+ 3
440
+ 1
441
+ 8
442
+ 32
443
+ 1
444
+ 11
445
+ I
446
+ 5
447
+ I
448
+ 3
449
+ I
450
+ 2
451
+ I
452
+ 2
453
+ n
454
+ p
455
+ 4
456
+ x
457
+ 4
458
+ keys
459
+ x
460
+ 1
461
+ -
462
+ x
463
+ 4
464
+ any?
465
+ x
466
+ 5
467
+ warn!
468
+ p
469
+ 7
470
+ I
471
+ -1
472
+ I
473
+ d
474
+ I
475
+ 0
476
+ I
477
+ e
478
+ I
479
+ f
480
+ I
481
+ f
482
+ I
483
+ 21
484
+ x
485
+ 103
486
+ /Users/santiago/WyeWorks/Projs/rails/activemodel/lib/active_model/mass_assignment_security/sanitizer.rb
487
+ p
488
+ 3
489
+ x
490
+ 10
491
+ attributes
492
+ x
493
+ 20
494
+ sanitized_attributes
495
+ x
496
+ 12
497
+ removed_keys
498
+ x
499
+ 5
500
+ warn!
501
+ M
502
+ 1
503
+ n
504
+ n
505
+ x
506
+ 5
507
+ warn!
508
+ i
509
+ 32
510
+ 5
511
+ 49
512
+ 0
513
+ 0
514
+ 9
515
+ 30
516
+ 5
517
+ 49
518
+ 0
519
+ 0
520
+ 7
521
+ 1
522
+ 20
523
+ 0
524
+ 7
525
+ 2
526
+ 64
527
+ 49
528
+ 3
529
+ 1
530
+ 47
531
+ 101
532
+ 4
533
+ 63
534
+ 2
535
+ 49
536
+ 5
537
+ 1
538
+ 8
539
+ 31
540
+ 1
541
+ 11
542
+ I
543
+ 5
544
+ I
545
+ 1
546
+ I
547
+ 1
548
+ I
549
+ 1
550
+ n
551
+ p
552
+ 6
553
+ x
554
+ 6
555
+ logger
556
+ s
557
+ 49
558
+ WARNING: Can't mass-assign protected attributes:
559
+ s
560
+ 2
561
+ ,
562
+ x
563
+ 4
564
+ join
565
+ x
566
+ 4
567
+ to_s
568
+ x
569
+ 5
570
+ debug
571
+ p
572
+ 5
573
+ I
574
+ -1
575
+ I
576
+ 12
577
+ I
578
+ 0
579
+ I
580
+ 13
581
+ I
582
+ 20
583
+ x
584
+ 103
585
+ /Users/santiago/WyeWorks/Projs/rails/activemodel/lib/active_model/mass_assignment_security/sanitizer.rb
586
+ p
587
+ 1
588
+ x
589
+ 5
590
+ attrs
591
+ p
592
+ 9
593
+ I
594
+ 2
595
+ I
596
+ 5
597
+ I
598
+ 10
599
+ I
600
+ b
601
+ I
602
+ 14
603
+ I
604
+ d
605
+ I
606
+ 22
607
+ I
608
+ 12
609
+ I
610
+ 30
611
+ x
612
+ 103
613
+ /Users/santiago/WyeWorks/Projs/rails/activemodel/lib/active_model/mass_assignment_security/sanitizer.rb
614
+ p
615
+ 0
616
+ x
617
+ 13
618
+ attach_method
619
+ p
620
+ 3
621
+ I
622
+ 2
623
+ I
624
+ 3
625
+ I
626
+ 1c
627
+ x
628
+ 103
629
+ /Users/santiago/WyeWorks/Projs/rails/activemodel/lib/active_model/mass_assignment_security/sanitizer.rb
630
+ p
631
+ 0
632
+ x
633
+ 13
634
+ attach_method
635
+ p
636
+ 3
637
+ I
638
+ 2
639
+ I
640
+ 2
641
+ I
642
+ 1c
643
+ x
644
+ 103
645
+ /Users/santiago/WyeWorks/Projs/rails/activemodel/lib/active_model/mass_assignment_security/sanitizer.rb
646
+ p
647
+ 0
648
+ x
649
+ 13
650
+ attach_method
651
+ p
652
+ 3
653
+ I
654
+ 0
655
+ I
656
+ 1
657
+ I
658
+ 1c
659
+ x
660
+ 103
661
+ /Users/santiago/WyeWorks/Projs/rails/activemodel/lib/active_model/mass_assignment_security/sanitizer.rb
662
+ p
663
+ 0