paperclip 2.3.5 → 2.3.6

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

Potentially problematic release.


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

Files changed (64) hide show
  1. data/Rakefile +6 -2
  2. data/lib/paperclip.rbc +5129 -12
  3. data/lib/paperclip/attachment.rb +9 -3
  4. data/lib/paperclip/attachment.rbc +5550 -872
  5. data/lib/paperclip/callback_compatability.rbc +1649 -0
  6. data/lib/paperclip/command_line.rbc +1952 -0
  7. data/lib/paperclip/geometry.rbc +2141 -0
  8. data/lib/paperclip/glue.rbc +685 -0
  9. data/lib/paperclip/interpolations.rb +2 -1
  10. data/lib/paperclip/interpolations.rbc +2205 -0
  11. data/lib/paperclip/iostream.rbc +905 -0
  12. data/lib/paperclip/matchers.rbc +267 -0
  13. data/lib/paperclip/matchers/have_attached_file_matcher.rbc +1258 -0
  14. data/lib/paperclip/matchers/validate_attachment_content_type_matcher.rbc +1660 -0
  15. data/lib/paperclip/matchers/validate_attachment_presence_matcher.rbc +1304 -0
  16. data/lib/paperclip/matchers/validate_attachment_size_matcher.rbc +2160 -0
  17. data/lib/paperclip/{configuration.rbc → processor.rbc} +471 -569
  18. data/lib/paperclip/railtie.rbc +680 -0
  19. data/lib/paperclip/storage.rbc +69 -0
  20. data/lib/paperclip/storage/filesystem.rbc +1402 -0
  21. data/lib/paperclip/storage/s3.rb +1 -0
  22. data/lib/paperclip/storage/s3.rbc +3489 -0
  23. data/lib/paperclip/style.rbc +1571 -0
  24. data/lib/paperclip/thumbnail.rbc +1648 -0
  25. data/lib/paperclip/upfile.rb +0 -7
  26. data/lib/paperclip/upfile.rbc +1619 -0
  27. data/lib/paperclip/version.rb +1 -1
  28. data/lib/paperclip/version.rbc +176 -0
  29. data/shoulda_macros/paperclip.rbc +2415 -0
  30. data/test/attachment_test.rb +8 -8
  31. data/test/attachment_test.rbc +22952 -0
  32. data/test/command_line_test.rb +1 -1
  33. data/test/command_line_test.rbc +4307 -0
  34. data/test/geometry_test.rb +1 -1
  35. data/test/geometry_test.rbc +5181 -0
  36. data/test/helper.rb +1 -13
  37. data/test/helper.rbc +3971 -0
  38. data/test/integration_test.rb +1 -1
  39. data/test/integration_test.rbc +13137 -0
  40. data/test/interpolations_test.rb +1 -1
  41. data/test/interpolations_test.rbc +3432 -0
  42. data/test/iostream_test.rb +1 -1
  43. data/test/iostream_test.rbc +1889 -0
  44. data/test/matchers/have_attached_file_matcher_test.rb +1 -1
  45. data/test/matchers/have_attached_file_matcher_test.rbc +622 -0
  46. data/test/matchers/validate_attachment_content_type_matcher_test.rb +1 -1
  47. data/test/matchers/validate_attachment_content_type_matcher_test.rbc +1174 -0
  48. data/test/matchers/validate_attachment_presence_matcher_test.rb +1 -1
  49. data/test/matchers/validate_attachment_presence_matcher_test.rbc +622 -0
  50. data/test/matchers/validate_attachment_size_matcher_test.rb +1 -1
  51. data/test/matchers/validate_attachment_size_matcher_test.rbc +1658 -0
  52. data/test/paperclip_test.rb +1 -1
  53. data/test/paperclip_test.rbc +7407 -0
  54. data/test/processor_test.rb +1 -1
  55. data/test/processor_test.rbc +314 -0
  56. data/test/storage_test.rb +1 -1
  57. data/test/storage_test.rbc +10294 -0
  58. data/test/style_test.rb +1 -1
  59. data/test/style_test.rbc +3752 -0
  60. data/test/thumbnail_test.rb +1 -1
  61. data/test/thumbnail_test.rbc +6803 -0
  62. data/test/upfile_test.rb +1 -18
  63. data/test/upfile_test.rbc +1635 -0
  64. metadata +77 -26
@@ -0,0 +1,1660 @@
1
+ !RBIX
2
+ 0
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
+ 9
54
+ Paperclip
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
+ 9
67
+ Paperclip
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
+ 7
111
+ Shoulda
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
+ 7
124
+ Shoulda
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
+ 8
168
+ Matchers
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
+ 8
181
+ Matchers
182
+ i
183
+ 43
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
+ 99
201
+ 7
202
+ 4
203
+ 1
204
+ 65
205
+ 49
206
+ 5
207
+ 3
208
+ 13
209
+ 99
210
+ 12
211
+ 7
212
+ 6
213
+ 12
214
+ 7
215
+ 7
216
+ 12
217
+ 65
218
+ 12
219
+ 49
220
+ 8
221
+ 4
222
+ 15
223
+ 49
224
+ 6
225
+ 0
226
+ 11
227
+ I
228
+ 6
229
+ I
230
+ 0
231
+ I
232
+ 0
233
+ I
234
+ 0
235
+ n
236
+ p
237
+ 9
238
+ x
239
+ 32
240
+ validate_attachment_content_type
241
+ M
242
+ 1
243
+ n
244
+ n
245
+ x
246
+ 32
247
+ validate_attachment_content_type
248
+ i
249
+ 29
250
+ 45
251
+ 0
252
+ 1
253
+ 13
254
+ 71
255
+ 2
256
+ 47
257
+ 9
258
+ 23
259
+ 47
260
+ 49
261
+ 3
262
+ 0
263
+ 13
264
+ 20
265
+ 0
266
+ 47
267
+ 49
268
+ 4
269
+ 1
270
+ 15
271
+ 8
272
+ 28
273
+ 20
274
+ 0
275
+ 49
276
+ 2
277
+ 1
278
+ 11
279
+ I
280
+ 4
281
+ I
282
+ 1
283
+ I
284
+ 1
285
+ I
286
+ 1
287
+ n
288
+ p
289
+ 5
290
+ x
291
+ 36
292
+ ValidateAttachmentContentTypeMatcher
293
+ n
294
+ x
295
+ 3
296
+ new
297
+ x
298
+ 8
299
+ allocate
300
+ x
301
+ 10
302
+ initialize
303
+ p
304
+ 5
305
+ I
306
+ 0
307
+ I
308
+ d
309
+ I
310
+ 0
311
+ I
312
+ e
313
+ I
314
+ 1d
315
+ x
316
+ 102
317
+ /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_content_type_matcher.rb
318
+ p
319
+ 1
320
+ x
321
+ 4
322
+ name
323
+ x
324
+ 17
325
+ method_visibility
326
+ x
327
+ 15
328
+ add_defn_method
329
+ x
330
+ 36
331
+ ValidateAttachmentContentTypeMatcher
332
+ x
333
+ 10
334
+ open_class
335
+ x
336
+ 14
337
+ __class_init__
338
+ M
339
+ 1
340
+ n
341
+ n
342
+ x
343
+ 36
344
+ ValidateAttachmentContentTypeMatcher
345
+ i
346
+ 146
347
+ 5
348
+ 66
349
+ 99
350
+ 7
351
+ 0
352
+ 7
353
+ 1
354
+ 65
355
+ 67
356
+ 49
357
+ 2
358
+ 0
359
+ 49
360
+ 3
361
+ 4
362
+ 15
363
+ 99
364
+ 7
365
+ 4
366
+ 7
367
+ 5
368
+ 65
369
+ 67
370
+ 49
371
+ 2
372
+ 0
373
+ 49
374
+ 3
375
+ 4
376
+ 15
377
+ 99
378
+ 7
379
+ 6
380
+ 7
381
+ 7
382
+ 65
383
+ 67
384
+ 49
385
+ 2
386
+ 0
387
+ 49
388
+ 3
389
+ 4
390
+ 15
391
+ 99
392
+ 7
393
+ 8
394
+ 7
395
+ 9
396
+ 65
397
+ 67
398
+ 49
399
+ 2
400
+ 0
401
+ 49
402
+ 3
403
+ 4
404
+ 15
405
+ 99
406
+ 7
407
+ 10
408
+ 7
409
+ 11
410
+ 65
411
+ 67
412
+ 49
413
+ 2
414
+ 0
415
+ 49
416
+ 3
417
+ 4
418
+ 15
419
+ 99
420
+ 7
421
+ 12
422
+ 7
423
+ 13
424
+ 65
425
+ 67
426
+ 49
427
+ 2
428
+ 0
429
+ 49
430
+ 3
431
+ 4
432
+ 15
433
+ 99
434
+ 7
435
+ 14
436
+ 7
437
+ 15
438
+ 65
439
+ 67
440
+ 49
441
+ 2
442
+ 0
443
+ 49
444
+ 3
445
+ 4
446
+ 15
447
+ 5
448
+ 48
449
+ 16
450
+ 15
451
+ 99
452
+ 7
453
+ 17
454
+ 7
455
+ 18
456
+ 65
457
+ 67
458
+ 49
459
+ 2
460
+ 0
461
+ 49
462
+ 3
463
+ 4
464
+ 15
465
+ 99
466
+ 7
467
+ 19
468
+ 7
469
+ 20
470
+ 65
471
+ 67
472
+ 49
473
+ 2
474
+ 0
475
+ 49
476
+ 3
477
+ 4
478
+ 15
479
+ 99
480
+ 7
481
+ 21
482
+ 7
483
+ 22
484
+ 65
485
+ 67
486
+ 49
487
+ 2
488
+ 0
489
+ 49
490
+ 3
491
+ 4
492
+ 11
493
+ I
494
+ 5
495
+ I
496
+ 0
497
+ I
498
+ 0
499
+ I
500
+ 0
501
+ n
502
+ p
503
+ 23
504
+ x
505
+ 10
506
+ initialize
507
+ M
508
+ 1
509
+ n
510
+ n
511
+ x
512
+ 10
513
+ initialize
514
+ i
515
+ 5
516
+ 20
517
+ 0
518
+ 38
519
+ 0
520
+ 11
521
+ I
522
+ 2
523
+ I
524
+ 1
525
+ I
526
+ 1
527
+ I
528
+ 1
529
+ n
530
+ p
531
+ 1
532
+ x
533
+ 16
534
+ @attachment_name
535
+ p
536
+ 5
537
+ I
538
+ 0
539
+ I
540
+ 12
541
+ I
542
+ 0
543
+ I
544
+ 13
545
+ I
546
+ 5
547
+ x
548
+ 102
549
+ /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_content_type_matcher.rb
550
+ p
551
+ 1
552
+ x
553
+ 15
554
+ attachment_name
555
+ x
556
+ 17
557
+ method_visibility
558
+ x
559
+ 15
560
+ add_defn_method
561
+ x
562
+ 8
563
+ allowing
564
+ M
565
+ 1
566
+ n
567
+ n
568
+ x
569
+ 8
570
+ allowing
571
+ i
572
+ 10
573
+ 20
574
+ 0
575
+ 49
576
+ 0
577
+ 0
578
+ 38
579
+ 1
580
+ 15
581
+ 5
582
+ 11
583
+ I
584
+ 2
585
+ I
586
+ 1
587
+ I
588
+ 0
589
+ I
590
+ 0
591
+ I
592
+ 0
593
+ p
594
+ 2
595
+ x
596
+ 7
597
+ flatten
598
+ x
599
+ 14
600
+ @allowed_types
601
+ p
602
+ 7
603
+ I
604
+ 0
605
+ I
606
+ 16
607
+ I
608
+ 0
609
+ I
610
+ 17
611
+ I
612
+ 8
613
+ I
614
+ 18
615
+ I
616
+ a
617
+ x
618
+ 102
619
+ /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_content_type_matcher.rb
620
+ p
621
+ 1
622
+ x
623
+ 5
624
+ types
625
+ x
626
+ 9
627
+ rejecting
628
+ M
629
+ 1
630
+ n
631
+ n
632
+ x
633
+ 9
634
+ rejecting
635
+ i
636
+ 10
637
+ 20
638
+ 0
639
+ 49
640
+ 0
641
+ 0
642
+ 38
643
+ 1
644
+ 15
645
+ 5
646
+ 11
647
+ I
648
+ 2
649
+ I
650
+ 1
651
+ I
652
+ 0
653
+ I
654
+ 0
655
+ I
656
+ 0
657
+ p
658
+ 2
659
+ x
660
+ 7
661
+ flatten
662
+ x
663
+ 15
664
+ @rejected_types
665
+ p
666
+ 7
667
+ I
668
+ 0
669
+ I
670
+ 1b
671
+ I
672
+ 0
673
+ I
674
+ 1c
675
+ I
676
+ 8
677
+ I
678
+ 1d
679
+ I
680
+ a
681
+ x
682
+ 102
683
+ /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_content_type_matcher.rb
684
+ p
685
+ 1
686
+ x
687
+ 5
688
+ types
689
+ x
690
+ 8
691
+ matches?
692
+ M
693
+ 1
694
+ n
695
+ n
696
+ x
697
+ 8
698
+ matches?
699
+ i
700
+ 52
701
+ 20
702
+ 0
703
+ 38
704
+ 0
705
+ 15
706
+ 45
707
+ 1
708
+ 2
709
+ 39
710
+ 0
711
+ 86
712
+ 3
713
+ 9
714
+ 17
715
+ 1
716
+ 8
717
+ 24
718
+ 39
719
+ 0
720
+ 49
721
+ 4
722
+ 0
723
+ 38
724
+ 0
725
+ 15
726
+ 39
727
+ 5
728
+ 13
729
+ 9
730
+ 51
731
+ 15
732
+ 39
733
+ 6
734
+ 13
735
+ 9
736
+ 51
737
+ 15
738
+ 5
739
+ 47
740
+ 49
741
+ 7
742
+ 0
743
+ 13
744
+ 9
745
+ 51
746
+ 15
747
+ 5
748
+ 47
749
+ 49
750
+ 8
751
+ 0
752
+ 11
753
+ I
754
+ 3
755
+ I
756
+ 1
757
+ I
758
+ 1
759
+ I
760
+ 1
761
+ n
762
+ p
763
+ 9
764
+ x
765
+ 8
766
+ @subject
767
+ x
768
+ 5
769
+ Class
770
+ n
771
+ x
772
+ 3
773
+ ===
774
+ x
775
+ 5
776
+ class
777
+ x
778
+ 14
779
+ @allowed_types
780
+ x
781
+ 15
782
+ @rejected_types
783
+ x
784
+ 22
785
+ allowed_types_allowed?
786
+ x
787
+ 24
788
+ rejected_types_rejected?
789
+ p
790
+ 11
791
+ I
792
+ 0
793
+ I
794
+ 20
795
+ I
796
+ 0
797
+ I
798
+ 21
799
+ I
800
+ 5
801
+ I
802
+ 22
803
+ I
804
+ 19
805
+ I
806
+ 23
807
+ I
808
+ 25
809
+ I
810
+ 24
811
+ I
812
+ 34
813
+ x
814
+ 102
815
+ /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_content_type_matcher.rb
816
+ p
817
+ 1
818
+ x
819
+ 7
820
+ subject
821
+ x
822
+ 15
823
+ failure_message
824
+ M
825
+ 1
826
+ n
827
+ n
828
+ x
829
+ 15
830
+ failure_message
831
+ i
832
+ 45
833
+ 7
834
+ 0
835
+ 39
836
+ 1
837
+ 7
838
+ 2
839
+ 64
840
+ 49
841
+ 3
842
+ 1
843
+ 47
844
+ 49
845
+ 4
846
+ 0
847
+ 7
848
+ 5
849
+ 63
850
+ 3
851
+ 7
852
+ 6
853
+ 39
854
+ 7
855
+ 7
856
+ 2
857
+ 64
858
+ 49
859
+ 3
860
+ 1
861
+ 47
862
+ 49
863
+ 4
864
+ 0
865
+ 7
866
+ 8
867
+ 39
868
+ 9
869
+ 47
870
+ 49
871
+ 4
872
+ 0
873
+ 63
874
+ 4
875
+ 81
876
+ 10
877
+ 11
878
+ I
879
+ 5
880
+ I
881
+ 0
882
+ I
883
+ 0
884
+ I
885
+ 0
886
+ n
887
+ p
888
+ 11
889
+ s
890
+ 14
891
+ Content types
892
+ x
893
+ 14
894
+ @allowed_types
895
+ s
896
+ 2
897
+ ,
898
+ x
899
+ 4
900
+ join
901
+ x
902
+ 4
903
+ to_s
904
+ s
905
+ 19
906
+ should be accepted
907
+ s
908
+ 5
909
+ and
910
+ x
911
+ 15
912
+ @rejected_types
913
+ s
914
+ 13
915
+ rejected by
916
+ x
917
+ 16
918
+ @attachment_name
919
+ x
920
+ 1
921
+ +
922
+ p
923
+ 9
924
+ I
925
+ 0
926
+ I
927
+ 27
928
+ I
929
+ 0
930
+ I
931
+ 29
932
+ I
933
+ 0
934
+ I
935
+ 28
936
+ I
937
+ 12
938
+ I
939
+ 29
940
+ I
941
+ 2d
942
+ x
943
+ 102
944
+ /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_content_type_matcher.rb
945
+ p
946
+ 0
947
+ x
948
+ 24
949
+ negative_failure_message
950
+ M
951
+ 1
952
+ n
953
+ n
954
+ x
955
+ 24
956
+ negative_failure_message
957
+ i
958
+ 45
959
+ 7
960
+ 0
961
+ 39
962
+ 1
963
+ 7
964
+ 2
965
+ 64
966
+ 49
967
+ 3
968
+ 1
969
+ 47
970
+ 49
971
+ 4
972
+ 0
973
+ 7
974
+ 5
975
+ 63
976
+ 3
977
+ 7
978
+ 6
979
+ 39
980
+ 7
981
+ 7
982
+ 2
983
+ 64
984
+ 49
985
+ 3
986
+ 1
987
+ 47
988
+ 49
989
+ 4
990
+ 0
991
+ 7
992
+ 8
993
+ 39
994
+ 9
995
+ 47
996
+ 49
997
+ 4
998
+ 0
999
+ 63
1000
+ 4
1001
+ 81
1002
+ 10
1003
+ 11
1004
+ I
1005
+ 5
1006
+ I
1007
+ 0
1008
+ I
1009
+ 0
1010
+ I
1011
+ 0
1012
+ n
1013
+ p
1014
+ 11
1015
+ s
1016
+ 14
1017
+ Content types
1018
+ x
1019
+ 14
1020
+ @allowed_types
1021
+ s
1022
+ 2
1023
+ ,
1024
+ x
1025
+ 4
1026
+ join
1027
+ x
1028
+ 4
1029
+ to_s
1030
+ s
1031
+ 19
1032
+ should be rejected
1033
+ s
1034
+ 5
1035
+ and
1036
+ x
1037
+ 15
1038
+ @rejected_types
1039
+ s
1040
+ 13
1041
+ accepted by
1042
+ x
1043
+ 16
1044
+ @attachment_name
1045
+ x
1046
+ 1
1047
+ +
1048
+ p
1049
+ 9
1050
+ I
1051
+ 0
1052
+ I
1053
+ 2c
1054
+ I
1055
+ 0
1056
+ I
1057
+ 2e
1058
+ I
1059
+ 0
1060
+ I
1061
+ 2d
1062
+ I
1063
+ 12
1064
+ I
1065
+ 2e
1066
+ I
1067
+ 2d
1068
+ x
1069
+ 102
1070
+ /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_content_type_matcher.rb
1071
+ p
1072
+ 0
1073
+ x
1074
+ 11
1075
+ description
1076
+ M
1077
+ 1
1078
+ n
1079
+ n
1080
+ x
1081
+ 11
1082
+ description
1083
+ i
1084
+ 11
1085
+ 7
1086
+ 0
1087
+ 39
1088
+ 1
1089
+ 47
1090
+ 49
1091
+ 2
1092
+ 0
1093
+ 63
1094
+ 2
1095
+ 11
1096
+ I
1097
+ 2
1098
+ I
1099
+ 0
1100
+ I
1101
+ 0
1102
+ I
1103
+ 0
1104
+ n
1105
+ p
1106
+ 3
1107
+ s
1108
+ 49
1109
+ validate the content types allowed on attachment
1110
+ x
1111
+ 16
1112
+ @attachment_name
1113
+ x
1114
+ 4
1115
+ to_s
1116
+ p
1117
+ 5
1118
+ I
1119
+ 0
1120
+ I
1121
+ 31
1122
+ I
1123
+ 0
1124
+ I
1125
+ 32
1126
+ I
1127
+ b
1128
+ x
1129
+ 102
1130
+ /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_content_type_matcher.rb
1131
+ p
1132
+ 0
1133
+ x
1134
+ 9
1135
+ protected
1136
+ x
1137
+ 12
1138
+ allow_types?
1139
+ M
1140
+ 1
1141
+ n
1142
+ n
1143
+ x
1144
+ 12
1145
+ allow_types?
1146
+ i
1147
+ 8
1148
+ 20
1149
+ 0
1150
+ 56
1151
+ 0
1152
+ 50
1153
+ 1
1154
+ 0
1155
+ 11
1156
+ I
1157
+ 3
1158
+ I
1159
+ 1
1160
+ I
1161
+ 1
1162
+ I
1163
+ 1
1164
+ n
1165
+ p
1166
+ 2
1167
+ M
1168
+ 1
1169
+ p
1170
+ 2
1171
+ x
1172
+ 9
1173
+ for_block
1174
+ t
1175
+ n
1176
+ x
1177
+ 12
1178
+ allow_types?
1179
+ i
1180
+ 117
1181
+ 57
1182
+ 19
1183
+ 0
1184
+ 15
1185
+ 45
1186
+ 0
1187
+ 1
1188
+ 13
1189
+ 71
1190
+ 2
1191
+ 47
1192
+ 9
1193
+ 28
1194
+ 47
1195
+ 49
1196
+ 3
1197
+ 0
1198
+ 13
1199
+ 7
1200
+ 4
1201
+ 64
1202
+ 47
1203
+ 49
1204
+ 5
1205
+ 1
1206
+ 15
1207
+ 8
1208
+ 34
1209
+ 7
1210
+ 4
1211
+ 64
1212
+ 49
1213
+ 2
1214
+ 1
1215
+ 19
1216
+ 1
1217
+ 15
1218
+ 20
1219
+ 1
1220
+ 20
1221
+ 0
1222
+ 13
1223
+ 18
1224
+ 2
1225
+ 49
1226
+ 6
1227
+ 1
1228
+ 15
1229
+ 15
1230
+ 39
1231
+ 7
1232
+ 13
1233
+ 71
1234
+ 2
1235
+ 47
1236
+ 9
1237
+ 69
1238
+ 47
1239
+ 49
1240
+ 3
1241
+ 0
1242
+ 13
1243
+ 47
1244
+ 49
1245
+ 5
1246
+ 0
1247
+ 15
1248
+ 8
1249
+ 72
1250
+ 49
1251
+ 2
1252
+ 0
1253
+ 19
1254
+ 2
1255
+ 39
1256
+ 8
1257
+ 49
1258
+ 9
1259
+ 1
1260
+ 20
1261
+ 1
1262
+ 49
1263
+ 10
1264
+ 1
1265
+ 15
1266
+ 20
1267
+ 2
1268
+ 49
1269
+ 11
1270
+ 0
1271
+ 15
1272
+ 20
1273
+ 2
1274
+ 49
1275
+ 12
1276
+ 0
1277
+ 39
1278
+ 8
1279
+ 47
1280
+ 49
1281
+ 13
1282
+ 0
1283
+ 7
1284
+ 14
1285
+ 63
1286
+ 2
1287
+ 47
1288
+ 49
1289
+ 15
1290
+ 0
1291
+ 49
1292
+ 16
1293
+ 1
1294
+ 49
1295
+ 17
1296
+ 0
1297
+ 11
1298
+ I
1299
+ 7
1300
+ I
1301
+ 3
1302
+ I
1303
+ 1
1304
+ I
1305
+ 1
1306
+ n
1307
+ p
1308
+ 18
1309
+ x
1310
+ 8
1311
+ StringIO
1312
+ n
1313
+ x
1314
+ 3
1315
+ new
1316
+ x
1317
+ 8
1318
+ allocate
1319
+ s
1320
+ 1
1321
+ .
1322
+ x
1323
+ 10
1324
+ initialize
1325
+ x
1326
+ 13
1327
+ content_type=
1328
+ x
1329
+ 8
1330
+ @subject
1331
+ x
1332
+ 16
1333
+ @attachment_name
1334
+ x
1335
+ 14
1336
+ attachment_for
1337
+ x
1338
+ 6
1339
+ assign
1340
+ x
1341
+ 6
1342
+ valid?
1343
+ x
1344
+ 6
1345
+ errors
1346
+ x
1347
+ 4
1348
+ to_s
1349
+ s
1350
+ 13
1351
+ _content_type
1352
+ x
1353
+ 6
1354
+ to_sym
1355
+ x
1356
+ 2
1357
+ []
1358
+ x
1359
+ 6
1360
+ blank?
1361
+ p
1362
+ 13
1363
+ I
1364
+ 0
1365
+ I
1366
+ 38
1367
+ I
1368
+ 4
1369
+ I
1370
+ 39
1371
+ I
1372
+ 25
1373
+ I
1374
+ 3a
1375
+ I
1376
+ 31
1377
+ I
1378
+ 3b
1379
+ I
1380
+ 55
1381
+ I
1382
+ 3c
1383
+ I
1384
+ 5b
1385
+ I
1386
+ 3d
1387
+ I
1388
+ 75
1389
+ x
1390
+ 102
1391
+ /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_content_type_matcher.rb
1392
+ p
1393
+ 3
1394
+ x
1395
+ 4
1396
+ type
1397
+ x
1398
+ 4
1399
+ file
1400
+ x
1401
+ 7
1402
+ subject
1403
+ x
1404
+ 4
1405
+ all?
1406
+ p
1407
+ 5
1408
+ I
1409
+ 0
1410
+ I
1411
+ 37
1412
+ I
1413
+ 0
1414
+ I
1415
+ 38
1416
+ I
1417
+ 8
1418
+ x
1419
+ 102
1420
+ /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_content_type_matcher.rb
1421
+ p
1422
+ 1
1423
+ x
1424
+ 5
1425
+ types
1426
+ x
1427
+ 22
1428
+ allowed_types_allowed?
1429
+ M
1430
+ 1
1431
+ n
1432
+ n
1433
+ x
1434
+ 22
1435
+ allowed_types_allowed?
1436
+ i
1437
+ 8
1438
+ 5
1439
+ 39
1440
+ 0
1441
+ 47
1442
+ 49
1443
+ 1
1444
+ 1
1445
+ 11
1446
+ I
1447
+ 2
1448
+ I
1449
+ 0
1450
+ I
1451
+ 0
1452
+ I
1453
+ 0
1454
+ n
1455
+ p
1456
+ 2
1457
+ x
1458
+ 14
1459
+ @allowed_types
1460
+ x
1461
+ 12
1462
+ allow_types?
1463
+ p
1464
+ 5
1465
+ I
1466
+ 0
1467
+ I
1468
+ 41
1469
+ I
1470
+ 0
1471
+ I
1472
+ 42
1473
+ I
1474
+ 8
1475
+ x
1476
+ 102
1477
+ /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_content_type_matcher.rb
1478
+ p
1479
+ 0
1480
+ x
1481
+ 24
1482
+ rejected_types_rejected?
1483
+ M
1484
+ 1
1485
+ n
1486
+ n
1487
+ x
1488
+ 24
1489
+ rejected_types_rejected?
1490
+ i
1491
+ 14
1492
+ 5
1493
+ 39
1494
+ 0
1495
+ 47
1496
+ 49
1497
+ 1
1498
+ 1
1499
+ 10
1500
+ 12
1501
+ 2
1502
+ 8
1503
+ 13
1504
+ 3
1505
+ 11
1506
+ I
1507
+ 2
1508
+ I
1509
+ 0
1510
+ I
1511
+ 0
1512
+ I
1513
+ 0
1514
+ n
1515
+ p
1516
+ 2
1517
+ x
1518
+ 15
1519
+ @rejected_types
1520
+ x
1521
+ 12
1522
+ allow_types?
1523
+ p
1524
+ 5
1525
+ I
1526
+ 0
1527
+ I
1528
+ 45
1529
+ I
1530
+ 0
1531
+ I
1532
+ 46
1533
+ I
1534
+ e
1535
+ x
1536
+ 102
1537
+ /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_content_type_matcher.rb
1538
+ p
1539
+ 0
1540
+ p
1541
+ 23
1542
+ I
1543
+ 2
1544
+ I
1545
+ 12
1546
+ I
1547
+ 10
1548
+ I
1549
+ 16
1550
+ I
1551
+ 1e
1552
+ I
1553
+ 1b
1554
+ I
1555
+ 2c
1556
+ I
1557
+ 20
1558
+ I
1559
+ 3a
1560
+ I
1561
+ 27
1562
+ I
1563
+ 48
1564
+ I
1565
+ 2c
1566
+ I
1567
+ 56
1568
+ I
1569
+ 31
1570
+ I
1571
+ 64
1572
+ I
1573
+ 35
1574
+ I
1575
+ 68
1576
+ I
1577
+ 37
1578
+ I
1579
+ 76
1580
+ I
1581
+ 41
1582
+ I
1583
+ 84
1584
+ I
1585
+ 45
1586
+ I
1587
+ 92
1588
+ x
1589
+ 102
1590
+ /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_content_type_matcher.rb
1591
+ p
1592
+ 0
1593
+ x
1594
+ 13
1595
+ attach_method
1596
+ p
1597
+ 5
1598
+ I
1599
+ 2
1600
+ I
1601
+ d
1602
+ I
1603
+ 10
1604
+ I
1605
+ 11
1606
+ I
1607
+ 2b
1608
+ x
1609
+ 102
1610
+ /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_content_type_matcher.rb
1611
+ p
1612
+ 0
1613
+ x
1614
+ 13
1615
+ attach_method
1616
+ p
1617
+ 3
1618
+ I
1619
+ 2
1620
+ I
1621
+ 3
1622
+ I
1623
+ 1c
1624
+ x
1625
+ 102
1626
+ /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_content_type_matcher.rb
1627
+ p
1628
+ 0
1629
+ x
1630
+ 13
1631
+ attach_method
1632
+ p
1633
+ 3
1634
+ I
1635
+ 2
1636
+ I
1637
+ 2
1638
+ I
1639
+ 1c
1640
+ x
1641
+ 102
1642
+ /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_content_type_matcher.rb
1643
+ p
1644
+ 0
1645
+ x
1646
+ 13
1647
+ attach_method
1648
+ p
1649
+ 3
1650
+ I
1651
+ 0
1652
+ I
1653
+ 1
1654
+ I
1655
+ 1c
1656
+ x
1657
+ 102
1658
+ /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_content_type_matcher.rb
1659
+ p
1660
+ 0