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