activemodel 3.0.7.rc2 → 3.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. data/CHANGELOG +1 -1
  2. data/lib/active_model/version.rb +1 -1
  3. metadata +11 -50
  4. data/lib/active_model.rbc +0 -781
  5. data/lib/active_model/attribute_methods.rbc +0 -4425
  6. data/lib/active_model/callbacks.rbc +0 -1164
  7. data/lib/active_model/conversion.rbc +0 -416
  8. data/lib/active_model/deprecated_error_methods.rbc +0 -899
  9. data/lib/active_model/dirty.rbc +0 -1538
  10. data/lib/active_model/errors.rbc +0 -3944
  11. data/lib/active_model/mass_assignment_security.rbc +0 -1407
  12. data/lib/active_model/mass_assignment_security/permission_set.rbc +0 -956
  13. data/lib/active_model/mass_assignment_security/sanitizer.rbc +0 -663
  14. data/lib/active_model/naming.rbc +0 -1547
  15. data/lib/active_model/observing.rbc +0 -2496
  16. data/lib/active_model/railtie.rbc +0 -69
  17. data/lib/active_model/serialization.rbc +0 -763
  18. data/lib/active_model/serializers/json.rbc +0 -802
  19. data/lib/active_model/serializers/xml.rbc +0 -3540
  20. data/lib/active_model/translation.rbc +0 -988
  21. data/lib/active_model/validations.rbc +0 -2398
  22. data/lib/active_model/validations/acceptance.rbc +0 -955
  23. data/lib/active_model/validations/callbacks.rbc +0 -1441
  24. data/lib/active_model/validations/confirmation.rbc +0 -757
  25. data/lib/active_model/validations/exclusion.rbc +0 -739
  26. data/lib/active_model/validations/format.rbc +0 -972
  27. data/lib/active_model/validations/inclusion.rbc +0 -997
  28. data/lib/active_model/validations/length.rbc +0 -1814
  29. data/lib/active_model/validations/numericality.rbc +0 -2163
  30. data/lib/active_model/validations/presence.rbc +0 -537
  31. data/lib/active_model/validations/validates.rbc +0 -1128
  32. data/lib/active_model/validations/with.rbc +0 -1058
  33. data/lib/active_model/validator.rbc +0 -1507
  34. data/lib/active_model/version.rbc +0 -295
data/CHANGELOG CHANGED
@@ -1,4 +1,4 @@
1
- *Rails 3.0.7 (unreleased)*
1
+ *Rails 3.0.7 (April 18, 2011)*
2
2
 
3
3
  *No changes.
4
4
 
@@ -3,7 +3,7 @@ module ActiveModel
3
3
  MAJOR = 3
4
4
  MINOR = 0
5
5
  TINY = 7
6
- PRE = "rc2"
6
+ PRE = nil
7
7
 
8
8
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.')
9
9
  end
metadata CHANGED
@@ -1,15 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activemodel
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15424073
5
- prerelease: 6
4
+ hash: 9
5
+ prerelease:
6
6
  segments:
7
7
  - 3
8
8
  - 0
9
9
  - 7
10
- - rc
11
- - 2
12
- version: 3.0.7.rc2
10
+ version: 3.0.7
13
11
  platform: ruby
14
12
  authors:
15
13
  - David Heinemeier Hansson
@@ -17,8 +15,7 @@ autorequire:
17
15
  bindir: bin
18
16
  cert_chain: []
19
17
 
20
- date: 2011-04-15 00:00:00 -03:00
21
- default_executable:
18
+ date: 2011-04-18 00:00:00 Z
22
19
  dependencies:
23
20
  - !ruby/object:Gem::Dependency
24
21
  name: activesupport
@@ -28,14 +25,12 @@ dependencies:
28
25
  requirements:
29
26
  - - "="
30
27
  - !ruby/object:Gem::Version
31
- hash: 15424073
28
+ hash: 9
32
29
  segments:
33
30
  - 3
34
31
  - 0
35
32
  - 7
36
- - rc
37
- - 2
38
- version: 3.0.7.rc2
33
+ version: 3.0.7
39
34
  type: :runtime
40
35
  version_requirements: *id001
41
36
  - !ruby/object:Gem::Dependency
@@ -83,71 +78,39 @@ files:
83
78
  - MIT-LICENSE
84
79
  - README.rdoc
85
80
  - lib/active_model/attribute_methods.rb
86
- - lib/active_model/attribute_methods.rbc
87
81
  - lib/active_model/callbacks.rb
88
- - lib/active_model/callbacks.rbc
89
82
  - lib/active_model/conversion.rb
90
- - lib/active_model/conversion.rbc
91
83
  - lib/active_model/deprecated_error_methods.rb
92
- - lib/active_model/deprecated_error_methods.rbc
93
84
  - lib/active_model/dirty.rb
94
- - lib/active_model/dirty.rbc
95
85
  - lib/active_model/errors.rb
96
- - lib/active_model/errors.rbc
97
86
  - lib/active_model/lint.rb
98
87
  - lib/active_model/locale/en.yml
99
88
  - lib/active_model/mass_assignment_security/permission_set.rb
100
- - lib/active_model/mass_assignment_security/permission_set.rbc
101
89
  - lib/active_model/mass_assignment_security/sanitizer.rb
102
- - lib/active_model/mass_assignment_security/sanitizer.rbc
103
90
  - lib/active_model/mass_assignment_security.rb
104
- - lib/active_model/mass_assignment_security.rbc
105
91
  - lib/active_model/naming.rb
106
- - lib/active_model/naming.rbc
107
92
  - lib/active_model/observing.rb
108
- - lib/active_model/observing.rbc
109
93
  - lib/active_model/railtie.rb
110
- - lib/active_model/railtie.rbc
111
94
  - lib/active_model/serialization.rb
112
- - lib/active_model/serialization.rbc
113
95
  - lib/active_model/serializers/json.rb
114
- - lib/active_model/serializers/json.rbc
115
96
  - lib/active_model/serializers/xml.rb
116
- - lib/active_model/serializers/xml.rbc
117
97
  - lib/active_model/test_case.rb
118
98
  - lib/active_model/translation.rb
119
- - lib/active_model/translation.rbc
120
99
  - lib/active_model/validations/acceptance.rb
121
- - lib/active_model/validations/acceptance.rbc
122
100
  - lib/active_model/validations/callbacks.rb
123
- - lib/active_model/validations/callbacks.rbc
124
101
  - lib/active_model/validations/confirmation.rb
125
- - lib/active_model/validations/confirmation.rbc
126
102
  - lib/active_model/validations/exclusion.rb
127
- - lib/active_model/validations/exclusion.rbc
128
103
  - lib/active_model/validations/format.rb
129
- - lib/active_model/validations/format.rbc
130
104
  - lib/active_model/validations/inclusion.rb
131
- - lib/active_model/validations/inclusion.rbc
132
105
  - lib/active_model/validations/length.rb
133
- - lib/active_model/validations/length.rbc
134
106
  - lib/active_model/validations/numericality.rb
135
- - lib/active_model/validations/numericality.rbc
136
107
  - lib/active_model/validations/presence.rb
137
- - lib/active_model/validations/presence.rbc
138
108
  - lib/active_model/validations/validates.rb
139
- - lib/active_model/validations/validates.rbc
140
109
  - lib/active_model/validations/with.rb
141
- - lib/active_model/validations/with.rbc
142
110
  - lib/active_model/validations.rb
143
- - lib/active_model/validations.rbc
144
111
  - lib/active_model/validator.rb
145
- - lib/active_model/validator.rbc
146
112
  - lib/active_model/version.rb
147
- - lib/active_model/version.rbc
148
113
  - lib/active_model.rb
149
- - lib/active_model.rbc
150
- has_rdoc: true
151
114
  homepage: http://www.rubyonrails.org
152
115
  licenses: []
153
116
 
@@ -170,18 +133,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
170
133
  required_rubygems_version: !ruby/object:Gem::Requirement
171
134
  none: false
172
135
  requirements:
173
- - - ">"
136
+ - - ">="
174
137
  - !ruby/object:Gem::Version
175
- hash: 25
138
+ hash: 3
176
139
  segments:
177
- - 1
178
- - 3
179
- - 1
180
- version: 1.3.1
140
+ - 0
141
+ version: "0"
181
142
  requirements: []
182
143
 
183
144
  rubyforge_project: activemodel
184
- rubygems_version: 1.6.2
145
+ rubygems_version: 1.7.2
185
146
  signing_key:
186
147
  specification_version: 3
187
148
  summary: A toolkit for building modeling frameworks (part of Rails).
@@ -1,781 +0,0 @@
1
- !RBIX
2
- 12079494195756429234
3
- x
4
- M
5
- 1
6
- n
7
- n
8
- x
9
- 10
10
- __script__
11
- i
12
- 146
13
- 45
14
- 0
15
- 1
16
- 7
17
- 2
18
- 64
19
- 65
20
- 49
21
- 3
22
- 0
23
- 49
24
- 4
25
- 2
26
- 19
27
- 0
28
- 15
29
- 45
30
- 0
31
- 5
32
- 20
33
- 0
34
- 49
35
- 6
36
- 1
37
- 13
38
- 9
39
- 47
40
- 15
41
- 99
42
- 43
43
- 7
44
- 7
45
- 8
46
- 49
47
- 9
48
- 1
49
- 20
50
- 0
51
- 49
52
- 10
53
- 1
54
- 10
55
- 46
56
- 2
57
- 8
58
- 47
59
- 3
60
- 9
61
- 64
62
- 99
63
- 43
64
- 7
65
- 7
66
- 8
67
- 49
68
- 9
69
- 1
70
- 20
71
- 0
72
- 49
73
- 11
74
- 1
75
- 8
76
- 65
77
- 1
78
- 15
79
- 5
80
- 7
81
- 12
82
- 64
83
- 47
84
- 49
85
- 13
86
- 1
87
- 15
88
- 5
89
- 7
90
- 14
91
- 64
92
- 47
93
- 49
94
- 13
95
- 1
96
- 15
97
- 99
98
- 7
99
- 15
100
- 65
101
- 49
102
- 16
103
- 2
104
- 13
105
- 99
106
- 12
107
- 7
108
- 17
109
- 12
110
- 7
111
- 18
112
- 12
113
- 65
114
- 12
115
- 49
116
- 19
117
- 4
118
- 15
119
- 49
120
- 17
121
- 0
122
- 15
123
- 5
124
- 7
125
- 20
126
- 64
127
- 47
128
- 49
129
- 13
130
- 1
131
- 15
132
- 45
133
- 21
134
- 22
135
- 49
136
- 23
137
- 0
138
- 45
139
- 0
140
- 24
141
- 65
142
- 49
143
- 3
144
- 0
145
- 49
146
- 25
147
- 1
148
- 7
149
- 26
150
- 64
151
- 81
152
- 27
153
- 49
154
- 28
155
- 1
156
- 15
157
- 2
158
- 11
159
- I
160
- 7
161
- I
162
- 1
163
- I
164
- 0
165
- I
166
- 0
167
- n
168
- p
169
- 29
170
- x
171
- 4
172
- File
173
- n
174
- s
175
- 26
176
- ../../../activesupport/lib
177
- x
178
- 11
179
- active_path
180
- x
181
- 11
182
- expand_path
183
- n
184
- x
185
- 10
186
- directory?
187
- x
188
- 7
189
- Globals
190
- x
191
- 2
192
- $:
193
- x
194
- 2
195
- []
196
- x
197
- 8
198
- include?
199
- x
200
- 7
201
- unshift
202
- s
203
- 14
204
- active_support
205
- x
206
- 7
207
- require
208
- s
209
- 20
210
- active_model/version
211
- x
212
- 11
213
- ActiveModel
214
- x
215
- 11
216
- open_module
217
- x
218
- 15
219
- __module_init__
220
- M
221
- 1
222
- n
223
- n
224
- x
225
- 11
226
- ActiveModel
227
- i
228
- 203
229
- 5
230
- 66
231
- 5
232
- 45
233
- 0
234
- 1
235
- 43
236
- 2
237
- 47
238
- 49
239
- 3
240
- 1
241
- 15
242
- 5
243
- 7
244
- 4
245
- 47
246
- 49
247
- 5
248
- 1
249
- 15
250
- 5
251
- 7
252
- 6
253
- 7
254
- 7
255
- 64
256
- 47
257
- 49
258
- 5
259
- 2
260
- 15
261
- 5
262
- 7
263
- 8
264
- 47
265
- 49
266
- 5
267
- 1
268
- 15
269
- 5
270
- 7
271
- 9
272
- 47
273
- 49
274
- 5
275
- 1
276
- 15
277
- 5
278
- 7
279
- 10
280
- 47
281
- 49
282
- 5
283
- 1
284
- 15
285
- 5
286
- 7
287
- 11
288
- 47
289
- 49
290
- 5
291
- 1
292
- 15
293
- 5
294
- 7
295
- 12
296
- 7
297
- 7
298
- 64
299
- 47
300
- 49
301
- 5
302
- 2
303
- 15
304
- 5
305
- 7
306
- 13
307
- 47
308
- 49
309
- 5
310
- 1
311
- 15
312
- 5
313
- 7
314
- 14
315
- 47
316
- 49
317
- 5
318
- 1
319
- 15
320
- 5
321
- 7
322
- 15
323
- 47
324
- 49
325
- 5
326
- 1
327
- 15
328
- 5
329
- 7
330
- 16
331
- 7
332
- 17
333
- 64
334
- 47
335
- 49
336
- 5
337
- 2
338
- 15
339
- 5
340
- 7
341
- 18
342
- 47
343
- 49
344
- 5
345
- 1
346
- 15
347
- 5
348
- 7
349
- 19
350
- 7
351
- 20
352
- 64
353
- 47
354
- 49
355
- 5
356
- 2
357
- 15
358
- 5
359
- 7
360
- 21
361
- 47
362
- 49
363
- 5
364
- 1
365
- 15
366
- 5
367
- 7
368
- 22
369
- 47
370
- 49
371
- 5
372
- 1
373
- 15
374
- 5
375
- 7
376
- 23
377
- 47
378
- 49
379
- 5
380
- 1
381
- 15
382
- 5
383
- 7
384
- 24
385
- 47
386
- 49
387
- 5
388
- 1
389
- 15
390
- 5
391
- 7
392
- 25
393
- 47
394
- 49
395
- 5
396
- 1
397
- 15
398
- 5
399
- 7
400
- 26
401
- 47
402
- 49
403
- 5
404
- 1
405
- 15
406
- 99
407
- 7
408
- 27
409
- 65
410
- 49
411
- 28
412
- 2
413
- 13
414
- 99
415
- 12
416
- 7
417
- 29
418
- 12
419
- 7
420
- 30
421
- 12
422
- 65
423
- 12
424
- 49
425
- 31
426
- 4
427
- 15
428
- 49
429
- 29
430
- 0
431
- 11
432
- I
433
- 6
434
- I
435
- 0
436
- I
437
- 0
438
- I
439
- 0
440
- n
441
- p
442
- 32
443
- x
444
- 13
445
- ActiveSupport
446
- n
447
- x
448
- 8
449
- Autoload
450
- x
451
- 6
452
- extend
453
- x
454
- 16
455
- AttributeMethods
456
- x
457
- 8
458
- autoload
459
- x
460
- 14
461
- BlockValidator
462
- s
463
- 22
464
- active_model/validator
465
- x
466
- 9
467
- Callbacks
468
- x
469
- 10
470
- Conversion
471
- x
472
- 22
473
- DeprecatedErrorMethods
474
- x
475
- 5
476
- Dirty
477
- x
478
- 13
479
- EachValidator
480
- x
481
- 6
482
- Errors
483
- x
484
- 4
485
- Lint
486
- x
487
- 22
488
- MassAssignmentSecurity
489
- x
490
- 4
491
- Name
492
- s
493
- 19
494
- active_model/naming
495
- x
496
- 6
497
- Naming
498
- x
499
- 8
500
- Observer
501
- s
502
- 22
503
- active_model/observing
504
- x
505
- 9
506
- Observing
507
- x
508
- 13
509
- Serialization
510
- x
511
- 8
512
- TestCase
513
- x
514
- 11
515
- Translation
516
- x
517
- 11
518
- Validations
519
- x
520
- 9
521
- Validator
522
- x
523
- 11
524
- Serializers
525
- x
526
- 11
527
- open_module
528
- x
529
- 15
530
- __module_init__
531
- M
532
- 1
533
- n
534
- n
535
- x
536
- 11
537
- Serializers
538
- i
539
- 29
540
- 5
541
- 66
542
- 5
543
- 45
544
- 0
545
- 1
546
- 43
547
- 2
548
- 47
549
- 49
550
- 3
551
- 1
552
- 15
553
- 5
554
- 7
555
- 4
556
- 47
557
- 49
558
- 5
559
- 1
560
- 15
561
- 5
562
- 7
563
- 6
564
- 47
565
- 49
566
- 5
567
- 1
568
- 11
569
- I
570
- 2
571
- I
572
- 0
573
- I
574
- 0
575
- I
576
- 0
577
- n
578
- p
579
- 7
580
- x
581
- 13
582
- ActiveSupport
583
- n
584
- x
585
- 8
586
- Autoload
587
- x
588
- 6
589
- extend
590
- x
591
- 4
592
- JSON
593
- x
594
- 8
595
- autoload
596
- x
597
- 3
598
- Xml
599
- p
600
- 7
601
- I
602
- 2
603
- I
604
- 35
605
- I
606
- d
607
- I
608
- 37
609
- I
610
- 15
611
- I
612
- 38
613
- I
614
- 1d
615
- x
616
- 68
617
- /Users/santiago/WyeWorks/Projs/rails/activemodel/lib/active_model.rb
618
- p
619
- 0
620
- x
621
- 13
622
- attach_method
623
- p
624
- 43
625
- I
626
- 2
627
- I
628
- 1e
629
- I
630
- d
631
- I
632
- 20
633
- I
634
- 15
635
- I
636
- 21
637
- I
638
- 20
639
- I
640
- 22
641
- I
642
- 28
643
- I
644
- 23
645
- I
646
- 30
647
- I
648
- 24
649
- I
650
- 38
651
- I
652
- 25
653
- I
654
- 40
655
- I
656
- 26
657
- I
658
- 4b
659
- I
660
- 27
661
- I
662
- 53
663
- I
664
- 28
665
- I
666
- 5b
667
- I
668
- 29
669
- I
670
- 63
671
- I
672
- 2a
673
- I
674
- 6e
675
- I
676
- 2b
677
- I
678
- 76
679
- I
680
- 2c
681
- I
682
- 81
683
- I
684
- 2d
685
- I
686
- 89
687
- I
688
- 2e
689
- I
690
- 91
691
- I
692
- 2f
693
- I
694
- 99
695
- I
696
- 30
697
- I
698
- a1
699
- I
700
- 31
701
- I
702
- a9
703
- I
704
- 32
705
- I
706
- b1
707
- I
708
- 34
709
- I
710
- cb
711
- x
712
- 68
713
- /Users/santiago/WyeWorks/Projs/rails/activemodel/lib/active_model.rb
714
- p
715
- 0
716
- x
717
- 13
718
- attach_method
719
- s
720
- 19
721
- active_support/i18n
722
- x
723
- 4
724
- I18n
725
- n
726
- x
727
- 9
728
- load_path
729
- n
730
- x
731
- 7
732
- dirname
733
- s
734
- 27
735
- /active_model/locale/en.yml
736
- x
737
- 1
738
- +
739
- x
740
- 2
741
- <<
742
- p
743
- 15
744
- I
745
- 0
746
- I
747
- 18
748
- I
749
- 10
750
- I
751
- 19
752
- I
753
- 42
754
- I
755
- 1a
756
- I
757
- 4b
758
- I
759
- 1b
760
- I
761
- 54
762
- I
763
- 1d
764
- I
765
- 6e
766
- I
767
- 3c
768
- I
769
- 77
770
- I
771
- 3d
772
- I
773
- 92
774
- x
775
- 68
776
- /Users/santiago/WyeWorks/Projs/rails/activemodel/lib/active_model.rb
777
- p
778
- 1
779
- x
780
- 18
781
- activesupport_path