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,2160 @@
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
+ 24
240
+ validate_attachment_size
241
+ M
242
+ 1
243
+ n
244
+ n
245
+ x
246
+ 24
247
+ validate_attachment_size
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
+ 29
292
+ ValidateAttachmentSizeMatcher
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
+ e
309
+ I
310
+ 0
311
+ I
312
+ f
313
+ I
314
+ 1d
315
+ x
316
+ 94
317
+ /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_size_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
+ 29
331
+ ValidateAttachmentSizeMatcher
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
+ 29
344
+ ValidateAttachmentSizeMatcher
345
+ i
346
+ 202
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
+ 99
448
+ 7
449
+ 16
450
+ 7
451
+ 17
452
+ 65
453
+ 67
454
+ 49
455
+ 2
456
+ 0
457
+ 49
458
+ 3
459
+ 4
460
+ 15
461
+ 5
462
+ 48
463
+ 18
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
+ 15
493
+ 99
494
+ 7
495
+ 23
496
+ 7
497
+ 24
498
+ 65
499
+ 67
500
+ 49
501
+ 2
502
+ 0
503
+ 49
504
+ 3
505
+ 4
506
+ 15
507
+ 99
508
+ 7
509
+ 25
510
+ 7
511
+ 26
512
+ 65
513
+ 67
514
+ 49
515
+ 2
516
+ 0
517
+ 49
518
+ 3
519
+ 4
520
+ 15
521
+ 99
522
+ 7
523
+ 27
524
+ 7
525
+ 28
526
+ 65
527
+ 67
528
+ 49
529
+ 2
530
+ 0
531
+ 49
532
+ 3
533
+ 4
534
+ 15
535
+ 99
536
+ 7
537
+ 29
538
+ 7
539
+ 30
540
+ 65
541
+ 67
542
+ 49
543
+ 2
544
+ 0
545
+ 49
546
+ 3
547
+ 4
548
+ 11
549
+ I
550
+ 5
551
+ I
552
+ 0
553
+ I
554
+ 0
555
+ I
556
+ 0
557
+ n
558
+ p
559
+ 31
560
+ x
561
+ 10
562
+ initialize
563
+ M
564
+ 1
565
+ n
566
+ n
567
+ x
568
+ 10
569
+ initialize
570
+ i
571
+ 22
572
+ 20
573
+ 0
574
+ 38
575
+ 0
576
+ 15
577
+ 78
578
+ 7
579
+ 1
580
+ 78
581
+ 49
582
+ 2
583
+ 1
584
+ 17
585
+ 2
586
+ 38
587
+ 3
588
+ 15
589
+ 38
590
+ 4
591
+ 15
592
+ 2
593
+ 11
594
+ I
595
+ 4
596
+ I
597
+ 1
598
+ I
599
+ 1
600
+ I
601
+ 1
602
+ n
603
+ p
604
+ 5
605
+ x
606
+ 16
607
+ @attachment_name
608
+ d
609
+ +0.500000000000000000000000000000000000000000000000000000 1
610
+ x
611
+ 1
612
+ /
613
+ x
614
+ 4
615
+ @low
616
+ x
617
+ 5
618
+ @high
619
+ p
620
+ 7
621
+ I
622
+ 0
623
+ I
624
+ 13
625
+ I
626
+ 0
627
+ I
628
+ 14
629
+ I
630
+ 5
631
+ I
632
+ 15
633
+ I
634
+ 16
635
+ x
636
+ 94
637
+ /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_size_matcher.rb
638
+ p
639
+ 1
640
+ x
641
+ 15
642
+ attachment_name
643
+ x
644
+ 17
645
+ method_visibility
646
+ x
647
+ 15
648
+ add_defn_method
649
+ x
650
+ 9
651
+ less_than
652
+ M
653
+ 1
654
+ n
655
+ n
656
+ x
657
+ 9
658
+ less_than
659
+ i
660
+ 7
661
+ 20
662
+ 0
663
+ 38
664
+ 0
665
+ 15
666
+ 5
667
+ 11
668
+ I
669
+ 2
670
+ I
671
+ 1
672
+ I
673
+ 1
674
+ I
675
+ 1
676
+ n
677
+ p
678
+ 1
679
+ x
680
+ 5
681
+ @high
682
+ p
683
+ 7
684
+ I
685
+ 0
686
+ I
687
+ 18
688
+ I
689
+ 0
690
+ I
691
+ 19
692
+ I
693
+ 5
694
+ I
695
+ 1a
696
+ I
697
+ 7
698
+ x
699
+ 94
700
+ /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_size_matcher.rb
701
+ p
702
+ 1
703
+ x
704
+ 4
705
+ size
706
+ x
707
+ 12
708
+ greater_than
709
+ M
710
+ 1
711
+ n
712
+ n
713
+ x
714
+ 12
715
+ greater_than
716
+ i
717
+ 7
718
+ 20
719
+ 0
720
+ 38
721
+ 0
722
+ 15
723
+ 5
724
+ 11
725
+ I
726
+ 2
727
+ I
728
+ 1
729
+ I
730
+ 1
731
+ I
732
+ 1
733
+ n
734
+ p
735
+ 1
736
+ x
737
+ 4
738
+ @low
739
+ p
740
+ 7
741
+ I
742
+ 0
743
+ I
744
+ 1d
745
+ I
746
+ 0
747
+ I
748
+ 1e
749
+ I
750
+ 5
751
+ I
752
+ 1f
753
+ I
754
+ 7
755
+ x
756
+ 94
757
+ /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_size_matcher.rb
758
+ p
759
+ 1
760
+ x
761
+ 4
762
+ size
763
+ x
764
+ 2
765
+ in
766
+ M
767
+ 1
768
+ n
769
+ n
770
+ x
771
+ 2
772
+ in
773
+ i
774
+ 22
775
+ 20
776
+ 0
777
+ 49
778
+ 0
779
+ 0
780
+ 20
781
+ 0
782
+ 49
783
+ 1
784
+ 0
785
+ 17
786
+ 2
787
+ 38
788
+ 2
789
+ 15
790
+ 38
791
+ 3
792
+ 15
793
+ 2
794
+ 15
795
+ 5
796
+ 11
797
+ I
798
+ 3
799
+ I
800
+ 1
801
+ I
802
+ 1
803
+ I
804
+ 1
805
+ n
806
+ p
807
+ 4
808
+ x
809
+ 5
810
+ first
811
+ x
812
+ 4
813
+ last
814
+ x
815
+ 4
816
+ @low
817
+ x
818
+ 5
819
+ @high
820
+ p
821
+ 7
822
+ I
823
+ 0
824
+ I
825
+ 22
826
+ I
827
+ 0
828
+ I
829
+ 23
830
+ I
831
+ 14
832
+ I
833
+ 24
834
+ I
835
+ 16
836
+ x
837
+ 94
838
+ /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_size_matcher.rb
839
+ p
840
+ 1
841
+ x
842
+ 5
843
+ range
844
+ x
845
+ 8
846
+ matches?
847
+ M
848
+ 1
849
+ n
850
+ n
851
+ x
852
+ 8
853
+ matches?
854
+ i
855
+ 58
856
+ 20
857
+ 0
858
+ 38
859
+ 0
860
+ 15
861
+ 45
862
+ 1
863
+ 2
864
+ 39
865
+ 0
866
+ 86
867
+ 3
868
+ 9
869
+ 17
870
+ 1
871
+ 8
872
+ 24
873
+ 39
874
+ 0
875
+ 49
876
+ 4
877
+ 0
878
+ 38
879
+ 0
880
+ 15
881
+ 5
882
+ 47
883
+ 49
884
+ 5
885
+ 0
886
+ 13
887
+ 9
888
+ 57
889
+ 15
890
+ 5
891
+ 47
892
+ 49
893
+ 6
894
+ 0
895
+ 13
896
+ 9
897
+ 57
898
+ 15
899
+ 5
900
+ 47
901
+ 49
902
+ 7
903
+ 0
904
+ 13
905
+ 9
906
+ 57
907
+ 15
908
+ 5
909
+ 47
910
+ 49
911
+ 8
912
+ 0
913
+ 11
914
+ I
915
+ 3
916
+ I
917
+ 1
918
+ I
919
+ 1
920
+ I
921
+ 1
922
+ n
923
+ p
924
+ 9
925
+ x
926
+ 8
927
+ @subject
928
+ x
929
+ 5
930
+ Class
931
+ n
932
+ x
933
+ 3
934
+ ===
935
+ x
936
+ 5
937
+ class
938
+ x
939
+ 15
940
+ lower_than_low?
941
+ x
942
+ 16
943
+ higher_than_low?
944
+ x
945
+ 16
946
+ lower_than_high?
947
+ x
948
+ 17
949
+ higher_than_high?
950
+ p
951
+ 9
952
+ I
953
+ 0
954
+ I
955
+ 27
956
+ I
957
+ 0
958
+ I
959
+ 28
960
+ I
961
+ 5
962
+ I
963
+ 29
964
+ I
965
+ 19
966
+ I
967
+ 2a
968
+ I
969
+ 3a
970
+ x
971
+ 94
972
+ /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_size_matcher.rb
973
+ p
974
+ 1
975
+ x
976
+ 7
977
+ subject
978
+ x
979
+ 15
980
+ failure_message
981
+ M
982
+ 1
983
+ n
984
+ n
985
+ x
986
+ 15
987
+ failure_message
988
+ i
989
+ 29
990
+ 7
991
+ 0
992
+ 39
993
+ 1
994
+ 47
995
+ 49
996
+ 2
997
+ 0
998
+ 7
999
+ 3
1000
+ 39
1001
+ 4
1002
+ 47
1003
+ 49
1004
+ 2
1005
+ 0
1006
+ 7
1007
+ 5
1008
+ 39
1009
+ 6
1010
+ 47
1011
+ 49
1012
+ 2
1013
+ 0
1014
+ 7
1015
+ 7
1016
+ 63
1017
+ 7
1018
+ 11
1019
+ I
1020
+ 7
1021
+ I
1022
+ 0
1023
+ I
1024
+ 0
1025
+ I
1026
+ 0
1027
+ n
1028
+ p
1029
+ 8
1030
+ s
1031
+ 11
1032
+ Attachment
1033
+ x
1034
+ 16
1035
+ @attachment_name
1036
+ x
1037
+ 4
1038
+ to_s
1039
+ s
1040
+ 17
1041
+ must be between
1042
+ x
1043
+ 4
1044
+ @low
1045
+ s
1046
+ 5
1047
+ and
1048
+ x
1049
+ 5
1050
+ @high
1051
+ s
1052
+ 6
1053
+ bytes
1054
+ p
1055
+ 5
1056
+ I
1057
+ 0
1058
+ I
1059
+ 2d
1060
+ I
1061
+ 0
1062
+ I
1063
+ 2e
1064
+ I
1065
+ 1d
1066
+ x
1067
+ 94
1068
+ /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_size_matcher.rb
1069
+ p
1070
+ 0
1071
+ x
1072
+ 24
1073
+ negative_failure_message
1074
+ M
1075
+ 1
1076
+ n
1077
+ n
1078
+ x
1079
+ 24
1080
+ negative_failure_message
1081
+ i
1082
+ 29
1083
+ 7
1084
+ 0
1085
+ 39
1086
+ 1
1087
+ 47
1088
+ 49
1089
+ 2
1090
+ 0
1091
+ 7
1092
+ 3
1093
+ 39
1094
+ 4
1095
+ 47
1096
+ 49
1097
+ 2
1098
+ 0
1099
+ 7
1100
+ 5
1101
+ 39
1102
+ 6
1103
+ 47
1104
+ 49
1105
+ 2
1106
+ 0
1107
+ 7
1108
+ 7
1109
+ 63
1110
+ 7
1111
+ 11
1112
+ I
1113
+ 7
1114
+ I
1115
+ 0
1116
+ I
1117
+ 0
1118
+ I
1119
+ 0
1120
+ n
1121
+ p
1122
+ 8
1123
+ s
1124
+ 11
1125
+ Attachment
1126
+ x
1127
+ 16
1128
+ @attachment_name
1129
+ x
1130
+ 4
1131
+ to_s
1132
+ s
1133
+ 19
1134
+ cannot be between
1135
+ x
1136
+ 4
1137
+ @low
1138
+ s
1139
+ 5
1140
+ and
1141
+ x
1142
+ 5
1143
+ @high
1144
+ s
1145
+ 6
1146
+ bytes
1147
+ p
1148
+ 5
1149
+ I
1150
+ 0
1151
+ I
1152
+ 31
1153
+ I
1154
+ 0
1155
+ I
1156
+ 32
1157
+ I
1158
+ 1d
1159
+ x
1160
+ 94
1161
+ /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_size_matcher.rb
1162
+ p
1163
+ 0
1164
+ x
1165
+ 11
1166
+ description
1167
+ M
1168
+ 1
1169
+ n
1170
+ n
1171
+ x
1172
+ 11
1173
+ description
1174
+ i
1175
+ 11
1176
+ 7
1177
+ 0
1178
+ 39
1179
+ 1
1180
+ 47
1181
+ 49
1182
+ 2
1183
+ 0
1184
+ 63
1185
+ 2
1186
+ 11
1187
+ I
1188
+ 2
1189
+ I
1190
+ 0
1191
+ I
1192
+ 0
1193
+ I
1194
+ 0
1195
+ n
1196
+ p
1197
+ 3
1198
+ s
1199
+ 32
1200
+ validate the size of attachment
1201
+ x
1202
+ 16
1203
+ @attachment_name
1204
+ x
1205
+ 4
1206
+ to_s
1207
+ p
1208
+ 5
1209
+ I
1210
+ 0
1211
+ I
1212
+ 35
1213
+ I
1214
+ 0
1215
+ I
1216
+ 36
1217
+ I
1218
+ b
1219
+ x
1220
+ 94
1221
+ /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_size_matcher.rb
1222
+ p
1223
+ 0
1224
+ x
1225
+ 9
1226
+ protected
1227
+ x
1228
+ 15
1229
+ override_method
1230
+ M
1231
+ 1
1232
+ n
1233
+ n
1234
+ x
1235
+ 15
1236
+ override_method
1237
+ i
1238
+ 17
1239
+ 95
1240
+ 19
1241
+ 2
1242
+ 15
1243
+ 20
1244
+ 0
1245
+ 99
1246
+ 12
1247
+ 49
1248
+ 0
1249
+ 1
1250
+ 56
1251
+ 1
1252
+ 50
1253
+ 2
1254
+ 0
1255
+ 11
1256
+ I
1257
+ 5
1258
+ I
1259
+ 3
1260
+ I
1261
+ 2
1262
+ I
1263
+ 2
1264
+ n
1265
+ p
1266
+ 3
1267
+ x
1268
+ 16
1269
+ object_metaclass
1270
+ M
1271
+ 1
1272
+ p
1273
+ 2
1274
+ x
1275
+ 9
1276
+ for_block
1277
+ t
1278
+ n
1279
+ x
1280
+ 15
1281
+ override_method
1282
+ i
1283
+ 23
1284
+ 5
1285
+ 21
1286
+ 1
1287
+ 1
1288
+ 21
1289
+ 1
1290
+ 2
1291
+ 13
1292
+ 70
1293
+ 10
1294
+ 18
1295
+ 44
1296
+ 43
1297
+ 0
1298
+ 12
1299
+ 49
1300
+ 1
1301
+ 1
1302
+ 47
1303
+ 50
1304
+ 2
1305
+ 1
1306
+ 11
1307
+ I
1308
+ 5
1309
+ I
1310
+ 0
1311
+ I
1312
+ 0
1313
+ I
1314
+ 0
1315
+ I
1316
+ -2
1317
+ p
1318
+ 3
1319
+ x
1320
+ 4
1321
+ Proc
1322
+ x
1323
+ 14
1324
+ __from_block__
1325
+ x
1326
+ 13
1327
+ define_method
1328
+ p
1329
+ 5
1330
+ I
1331
+ 0
1332
+ I
1333
+ 3c
1334
+ I
1335
+ 0
1336
+ I
1337
+ 3d
1338
+ I
1339
+ 17
1340
+ x
1341
+ 94
1342
+ /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_size_matcher.rb
1343
+ p
1344
+ 0
1345
+ x
1346
+ 10
1347
+ class_eval
1348
+ p
1349
+ 5
1350
+ I
1351
+ 0
1352
+ I
1353
+ 3b
1354
+ I
1355
+ 4
1356
+ I
1357
+ 3c
1358
+ I
1359
+ 11
1360
+ x
1361
+ 94
1362
+ /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_size_matcher.rb
1363
+ p
1364
+ 3
1365
+ x
1366
+ 6
1367
+ object
1368
+ x
1369
+ 6
1370
+ method
1371
+ x
1372
+ 11
1373
+ replacement
1374
+ x
1375
+ 27
1376
+ passes_validation_with_size
1377
+ M
1378
+ 1
1379
+ n
1380
+ n
1381
+ x
1382
+ 27
1383
+ passes_validation_with_size
1384
+ i
1385
+ 125
1386
+ 45
1387
+ 0
1388
+ 1
1389
+ 13
1390
+ 71
1391
+ 2
1392
+ 47
1393
+ 9
1394
+ 24
1395
+ 47
1396
+ 49
1397
+ 3
1398
+ 0
1399
+ 13
1400
+ 7
1401
+ 4
1402
+ 64
1403
+ 47
1404
+ 49
1405
+ 5
1406
+ 1
1407
+ 15
1408
+ 8
1409
+ 30
1410
+ 7
1411
+ 4
1412
+ 64
1413
+ 49
1414
+ 2
1415
+ 1
1416
+ 19
1417
+ 1
1418
+ 15
1419
+ 5
1420
+ 20
1421
+ 1
1422
+ 7
1423
+ 6
1424
+ 56
1425
+ 7
1426
+ 47
1427
+ 50
1428
+ 8
1429
+ 2
1430
+ 15
1431
+ 5
1432
+ 20
1433
+ 1
1434
+ 7
1435
+ 9
1436
+ 56
1437
+ 10
1438
+ 47
1439
+ 50
1440
+ 8
1441
+ 2
1442
+ 15
1443
+ 39
1444
+ 11
1445
+ 13
1446
+ 71
1447
+ 2
1448
+ 47
1449
+ 9
1450
+ 77
1451
+ 47
1452
+ 49
1453
+ 3
1454
+ 0
1455
+ 13
1456
+ 47
1457
+ 49
1458
+ 5
1459
+ 0
1460
+ 15
1461
+ 8
1462
+ 80
1463
+ 49
1464
+ 2
1465
+ 0
1466
+ 19
1467
+ 2
1468
+ 39
1469
+ 12
1470
+ 49
1471
+ 13
1472
+ 1
1473
+ 20
1474
+ 1
1475
+ 49
1476
+ 14
1477
+ 1
1478
+ 15
1479
+ 20
1480
+ 2
1481
+ 49
1482
+ 15
1483
+ 0
1484
+ 15
1485
+ 20
1486
+ 2
1487
+ 49
1488
+ 16
1489
+ 0
1490
+ 39
1491
+ 12
1492
+ 47
1493
+ 49
1494
+ 17
1495
+ 0
1496
+ 7
1497
+ 18
1498
+ 63
1499
+ 2
1500
+ 47
1501
+ 49
1502
+ 19
1503
+ 0
1504
+ 49
1505
+ 20
1506
+ 1
1507
+ 49
1508
+ 21
1509
+ 0
1510
+ 11
1511
+ I
1512
+ 7
1513
+ I
1514
+ 3
1515
+ I
1516
+ 1
1517
+ I
1518
+ 1
1519
+ n
1520
+ p
1521
+ 22
1522
+ x
1523
+ 8
1524
+ StringIO
1525
+ n
1526
+ x
1527
+ 3
1528
+ new
1529
+ x
1530
+ 8
1531
+ allocate
1532
+ s
1533
+ 1
1534
+ .
1535
+ x
1536
+ 10
1537
+ initialize
1538
+ x
1539
+ 4
1540
+ size
1541
+ M
1542
+ 1
1543
+ p
1544
+ 2
1545
+ x
1546
+ 9
1547
+ for_block
1548
+ t
1549
+ n
1550
+ x
1551
+ 27
1552
+ passes_validation_with_size
1553
+ i
1554
+ 4
1555
+ 21
1556
+ 1
1557
+ 0
1558
+ 11
1559
+ I
1560
+ 2
1561
+ I
1562
+ 0
1563
+ I
1564
+ 0
1565
+ I
1566
+ 0
1567
+ I
1568
+ -2
1569
+ p
1570
+ 0
1571
+ p
1572
+ 3
1573
+ I
1574
+ 0
1575
+ I
1576
+ 43
1577
+ I
1578
+ 4
1579
+ x
1580
+ 94
1581
+ /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_size_matcher.rb
1582
+ p
1583
+ 0
1584
+ x
1585
+ 15
1586
+ override_method
1587
+ x
1588
+ 11
1589
+ to_tempfile
1590
+ M
1591
+ 1
1592
+ p
1593
+ 2
1594
+ x
1595
+ 9
1596
+ for_block
1597
+ t
1598
+ n
1599
+ x
1600
+ 27
1601
+ passes_validation_with_size
1602
+ i
1603
+ 4
1604
+ 21
1605
+ 1
1606
+ 1
1607
+ 11
1608
+ I
1609
+ 2
1610
+ I
1611
+ 0
1612
+ I
1613
+ 0
1614
+ I
1615
+ 0
1616
+ I
1617
+ -2
1618
+ p
1619
+ 0
1620
+ p
1621
+ 3
1622
+ I
1623
+ 0
1624
+ I
1625
+ 44
1626
+ I
1627
+ 4
1628
+ x
1629
+ 94
1630
+ /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_size_matcher.rb
1631
+ p
1632
+ 0
1633
+ x
1634
+ 8
1635
+ @subject
1636
+ x
1637
+ 16
1638
+ @attachment_name
1639
+ x
1640
+ 4
1641
+ send
1642
+ x
1643
+ 6
1644
+ assign
1645
+ x
1646
+ 6
1647
+ valid?
1648
+ x
1649
+ 6
1650
+ errors
1651
+ x
1652
+ 4
1653
+ to_s
1654
+ s
1655
+ 10
1656
+ _file_size
1657
+ x
1658
+ 6
1659
+ to_sym
1660
+ x
1661
+ 2
1662
+ []
1663
+ x
1664
+ 6
1665
+ blank?
1666
+ p
1667
+ 15
1668
+ I
1669
+ 0
1670
+ I
1671
+ 41
1672
+ I
1673
+ 0
1674
+ I
1675
+ 42
1676
+ I
1677
+ 21
1678
+ I
1679
+ 43
1680
+ I
1681
+ 2d
1682
+ I
1683
+ 44
1684
+ I
1685
+ 39
1686
+ I
1687
+ 46
1688
+ I
1689
+ 5d
1690
+ I
1691
+ 47
1692
+ I
1693
+ 63
1694
+ I
1695
+ 48
1696
+ I
1697
+ 7d
1698
+ x
1699
+ 94
1700
+ /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_size_matcher.rb
1701
+ p
1702
+ 3
1703
+ x
1704
+ 8
1705
+ new_size
1706
+ x
1707
+ 4
1708
+ file
1709
+ x
1710
+ 7
1711
+ subject
1712
+ x
1713
+ 15
1714
+ lower_than_low?
1715
+ M
1716
+ 1
1717
+ n
1718
+ n
1719
+ x
1720
+ 15
1721
+ lower_than_low?
1722
+ i
1723
+ 17
1724
+ 5
1725
+ 39
1726
+ 0
1727
+ 79
1728
+ 82
1729
+ 1
1730
+ 47
1731
+ 49
1732
+ 2
1733
+ 1
1734
+ 10
1735
+ 15
1736
+ 2
1737
+ 8
1738
+ 16
1739
+ 3
1740
+ 11
1741
+ I
1742
+ 3
1743
+ I
1744
+ 0
1745
+ I
1746
+ 0
1747
+ I
1748
+ 0
1749
+ n
1750
+ p
1751
+ 3
1752
+ x
1753
+ 4
1754
+ @low
1755
+ x
1756
+ 1
1757
+ -
1758
+ x
1759
+ 27
1760
+ passes_validation_with_size
1761
+ p
1762
+ 5
1763
+ I
1764
+ 0
1765
+ I
1766
+ 4b
1767
+ I
1768
+ 0
1769
+ I
1770
+ 4c
1771
+ I
1772
+ 11
1773
+ x
1774
+ 94
1775
+ /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_size_matcher.rb
1776
+ p
1777
+ 0
1778
+ x
1779
+ 16
1780
+ higher_than_low?
1781
+ M
1782
+ 1
1783
+ n
1784
+ n
1785
+ x
1786
+ 16
1787
+ higher_than_low?
1788
+ i
1789
+ 11
1790
+ 5
1791
+ 39
1792
+ 0
1793
+ 79
1794
+ 81
1795
+ 1
1796
+ 47
1797
+ 49
1798
+ 2
1799
+ 1
1800
+ 11
1801
+ I
1802
+ 3
1803
+ I
1804
+ 0
1805
+ I
1806
+ 0
1807
+ I
1808
+ 0
1809
+ n
1810
+ p
1811
+ 3
1812
+ x
1813
+ 4
1814
+ @low
1815
+ x
1816
+ 1
1817
+ +
1818
+ x
1819
+ 27
1820
+ passes_validation_with_size
1821
+ p
1822
+ 5
1823
+ I
1824
+ 0
1825
+ I
1826
+ 4f
1827
+ I
1828
+ 0
1829
+ I
1830
+ 50
1831
+ I
1832
+ b
1833
+ x
1834
+ 94
1835
+ /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_size_matcher.rb
1836
+ p
1837
+ 0
1838
+ x
1839
+ 16
1840
+ lower_than_high?
1841
+ M
1842
+ 1
1843
+ n
1844
+ n
1845
+ x
1846
+ 16
1847
+ lower_than_high?
1848
+ i
1849
+ 29
1850
+ 39
1851
+ 0
1852
+ 7
1853
+ 1
1854
+ 78
1855
+ 49
1856
+ 2
1857
+ 1
1858
+ 83
1859
+ 3
1860
+ 9
1861
+ 16
1862
+ 2
1863
+ 11
1864
+ 8
1865
+ 17
1866
+ 1
1867
+ 15
1868
+ 5
1869
+ 39
1870
+ 0
1871
+ 79
1872
+ 82
1873
+ 4
1874
+ 47
1875
+ 49
1876
+ 5
1877
+ 1
1878
+ 11
1879
+ I
1880
+ 3
1881
+ I
1882
+ 0
1883
+ I
1884
+ 0
1885
+ I
1886
+ 0
1887
+ n
1888
+ p
1889
+ 6
1890
+ x
1891
+ 5
1892
+ @high
1893
+ d
1894
+ +0.500000000000000000000000000000000000000000000000000000 1
1895
+ x
1896
+ 1
1897
+ /
1898
+ x
1899
+ 2
1900
+ ==
1901
+ x
1902
+ 1
1903
+ -
1904
+ x
1905
+ 27
1906
+ passes_validation_with_size
1907
+ p
1908
+ 7
1909
+ I
1910
+ 0
1911
+ I
1912
+ 53
1913
+ I
1914
+ 0
1915
+ I
1916
+ 54
1917
+ I
1918
+ 12
1919
+ I
1920
+ 55
1921
+ I
1922
+ 1d
1923
+ x
1924
+ 94
1925
+ /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_size_matcher.rb
1926
+ p
1927
+ 0
1928
+ x
1929
+ 17
1930
+ higher_than_high?
1931
+ M
1932
+ 1
1933
+ n
1934
+ n
1935
+ x
1936
+ 17
1937
+ higher_than_high?
1938
+ i
1939
+ 35
1940
+ 39
1941
+ 0
1942
+ 7
1943
+ 1
1944
+ 78
1945
+ 49
1946
+ 2
1947
+ 1
1948
+ 83
1949
+ 3
1950
+ 9
1951
+ 16
1952
+ 2
1953
+ 11
1954
+ 8
1955
+ 17
1956
+ 1
1957
+ 15
1958
+ 5
1959
+ 39
1960
+ 0
1961
+ 79
1962
+ 81
1963
+ 4
1964
+ 47
1965
+ 49
1966
+ 5
1967
+ 1
1968
+ 10
1969
+ 33
1970
+ 2
1971
+ 8
1972
+ 34
1973
+ 3
1974
+ 11
1975
+ I
1976
+ 3
1977
+ I
1978
+ 0
1979
+ I
1980
+ 0
1981
+ I
1982
+ 0
1983
+ n
1984
+ p
1985
+ 6
1986
+ x
1987
+ 5
1988
+ @high
1989
+ d
1990
+ +0.500000000000000000000000000000000000000000000000000000 1
1991
+ x
1992
+ 1
1993
+ /
1994
+ x
1995
+ 2
1996
+ ==
1997
+ x
1998
+ 1
1999
+ +
2000
+ x
2001
+ 27
2002
+ passes_validation_with_size
2003
+ p
2004
+ 7
2005
+ I
2006
+ 0
2007
+ I
2008
+ 58
2009
+ I
2010
+ 0
2011
+ I
2012
+ 59
2013
+ I
2014
+ 12
2015
+ I
2016
+ 5a
2017
+ I
2018
+ 23
2019
+ x
2020
+ 94
2021
+ /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_size_matcher.rb
2022
+ p
2023
+ 0
2024
+ p
2025
+ 31
2026
+ I
2027
+ 2
2028
+ I
2029
+ 13
2030
+ I
2031
+ 10
2032
+ I
2033
+ 18
2034
+ I
2035
+ 1e
2036
+ I
2037
+ 1d
2038
+ I
2039
+ 2c
2040
+ I
2041
+ 22
2042
+ I
2043
+ 3a
2044
+ I
2045
+ 27
2046
+ I
2047
+ 48
2048
+ I
2049
+ 2d
2050
+ I
2051
+ 56
2052
+ I
2053
+ 31
2054
+ I
2055
+ 64
2056
+ I
2057
+ 35
2058
+ I
2059
+ 72
2060
+ I
2061
+ 39
2062
+ I
2063
+ 76
2064
+ I
2065
+ 3b
2066
+ I
2067
+ 84
2068
+ I
2069
+ 41
2070
+ I
2071
+ 92
2072
+ I
2073
+ 4b
2074
+ I
2075
+ a0
2076
+ I
2077
+ 4f
2078
+ I
2079
+ ae
2080
+ I
2081
+ 53
2082
+ I
2083
+ bc
2084
+ I
2085
+ 58
2086
+ I
2087
+ ca
2088
+ x
2089
+ 94
2090
+ /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_size_matcher.rb
2091
+ p
2092
+ 0
2093
+ x
2094
+ 13
2095
+ attach_method
2096
+ p
2097
+ 5
2098
+ I
2099
+ 2
2100
+ I
2101
+ e
2102
+ I
2103
+ 10
2104
+ I
2105
+ 12
2106
+ I
2107
+ 2b
2108
+ x
2109
+ 94
2110
+ /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_size_matcher.rb
2111
+ p
2112
+ 0
2113
+ x
2114
+ 13
2115
+ attach_method
2116
+ p
2117
+ 3
2118
+ I
2119
+ 2
2120
+ I
2121
+ 3
2122
+ I
2123
+ 1c
2124
+ x
2125
+ 94
2126
+ /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_size_matcher.rb
2127
+ p
2128
+ 0
2129
+ x
2130
+ 13
2131
+ attach_method
2132
+ p
2133
+ 3
2134
+ I
2135
+ 2
2136
+ I
2137
+ 2
2138
+ I
2139
+ 1c
2140
+ x
2141
+ 94
2142
+ /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_size_matcher.rb
2143
+ p
2144
+ 0
2145
+ x
2146
+ 13
2147
+ attach_method
2148
+ p
2149
+ 3
2150
+ I
2151
+ 0
2152
+ I
2153
+ 1
2154
+ I
2155
+ 1c
2156
+ x
2157
+ 94
2158
+ /Users/jyurek/Development/paperclip/lib/paperclip/matchers/validate_attachment_size_matcher.rb
2159
+ p
2160
+ 0