paperclip 2.3.8 → 2.3.9

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 (59) hide show
  1. data/{README.rdoc → README.md} +104 -54
  2. data/lib/paperclip.rb +2 -0
  3. data/lib/paperclip/attachment.rb +67 -38
  4. data/lib/paperclip/command_line.rb +7 -1
  5. data/lib/paperclip/interpolations.rb +17 -1
  6. data/lib/paperclip/storage.rb +1 -0
  7. data/lib/paperclip/storage/fog.rb +98 -0
  8. data/lib/paperclip/storage/s3.rb +5 -5
  9. data/lib/paperclip/version.rb +1 -1
  10. data/test/attachment_test.rb +117 -0
  11. data/test/command_line_test.rb +5 -0
  12. data/test/fixtures/uppercase.PNG +0 -0
  13. data/test/fog_test.rb +107 -0
  14. data/test/helper.rb +1 -1
  15. data/test/integration_test.rb +88 -0
  16. data/test/interpolations_test.rb +17 -1
  17. data/test/paperclip_test.rb +30 -0
  18. data/test/storage_test.rb +23 -0
  19. metadata +47 -80
  20. data/lib/paperclip.rbc +0 -5202
  21. data/lib/paperclip/attachment.rbc +0 -6393
  22. data/lib/paperclip/callback_compatability.rbc +0 -1649
  23. data/lib/paperclip/command_line.rbc +0 -1952
  24. data/lib/paperclip/geometry.rbc +0 -2141
  25. data/lib/paperclip/glue.rbc +0 -685
  26. data/lib/paperclip/interpolations.rbc +0 -2205
  27. data/lib/paperclip/iostream.rbc +0 -905
  28. data/lib/paperclip/matchers.rbc +0 -267
  29. data/lib/paperclip/matchers/have_attached_file_matcher.rbc +0 -1258
  30. data/lib/paperclip/matchers/validate_attachment_content_type_matcher.rbc +0 -1660
  31. data/lib/paperclip/matchers/validate_attachment_presence_matcher.rbc +0 -1304
  32. data/lib/paperclip/matchers/validate_attachment_size_matcher.rbc +0 -2160
  33. data/lib/paperclip/processor.rbc +0 -911
  34. data/lib/paperclip/railtie.rbc +0 -680
  35. data/lib/paperclip/storage.rbc +0 -69
  36. data/lib/paperclip/storage/filesystem.rbc +0 -1402
  37. data/lib/paperclip/storage/s3.rbc +0 -3489
  38. data/lib/paperclip/style.rbc +0 -1571
  39. data/lib/paperclip/thumbnail.rbc +0 -1648
  40. data/lib/paperclip/upfile.rbc +0 -1619
  41. data/lib/paperclip/version.rbc +0 -176
  42. data/shoulda_macros/paperclip.rbc +0 -2415
  43. data/test/attachment_test.rbc +0 -22952
  44. data/test/command_line_test.rbc +0 -4307
  45. data/test/geometry_test.rbc +0 -5181
  46. data/test/helper.rbc +0 -3971
  47. data/test/integration_test.rbc +0 -13137
  48. data/test/interpolations_test.rbc +0 -3432
  49. data/test/iostream_test.rbc +0 -1889
  50. data/test/matchers/have_attached_file_matcher_test.rbc +0 -622
  51. data/test/matchers/validate_attachment_content_type_matcher_test.rbc +0 -1174
  52. data/test/matchers/validate_attachment_presence_matcher_test.rbc +0 -622
  53. data/test/matchers/validate_attachment_size_matcher_test.rbc +0 -1658
  54. data/test/paperclip_test.rbc +0 -7407
  55. data/test/processor_test.rbc +0 -314
  56. data/test/storage_test.rbc +0 -10294
  57. data/test/style_test.rbc +0 -3752
  58. data/test/thumbnail_test.rbc +0 -6803
  59. data/test/upfile_test.rbc +0 -1635
@@ -1,911 +0,0 @@
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
- 58
70
- 5
71
- 66
72
- 99
73
- 7
74
- 0
75
- 1
76
- 65
77
- 49
78
- 1
79
- 3
80
- 13
81
- 99
82
- 12
83
- 7
84
- 2
85
- 12
86
- 7
87
- 3
88
- 12
89
- 65
90
- 12
91
- 49
92
- 4
93
- 4
94
- 15
95
- 49
96
- 2
97
- 0
98
- 15
99
- 99
100
- 7
101
- 5
102
- 44
103
- 43
104
- 5
105
- 65
106
- 49
107
- 1
108
- 3
109
- 13
110
- 99
111
- 12
112
- 7
113
- 2
114
- 12
115
- 7
116
- 6
117
- 12
118
- 65
119
- 12
120
- 49
121
- 4
122
- 4
123
- 15
124
- 49
125
- 2
126
- 0
127
- 11
128
- I
129
- 6
130
- I
131
- 0
132
- I
133
- 0
134
- I
135
- 0
136
- n
137
- p
138
- 7
139
- x
140
- 9
141
- Processor
142
- x
143
- 10
144
- open_class
145
- x
146
- 14
147
- __class_init__
148
- M
149
- 1
150
- n
151
- n
152
- x
153
- 9
154
- Processor
155
- i
156
- 53
157
- 5
158
- 66
159
- 5
160
- 7
161
- 0
162
- 7
163
- 1
164
- 7
165
- 2
166
- 47
167
- 49
168
- 3
169
- 3
170
- 15
171
- 99
172
- 7
173
- 4
174
- 7
175
- 5
176
- 65
177
- 67
178
- 49
179
- 6
180
- 0
181
- 49
182
- 7
183
- 4
184
- 15
185
- 99
186
- 7
187
- 8
188
- 7
189
- 9
190
- 65
191
- 67
192
- 49
193
- 6
194
- 0
195
- 49
196
- 7
197
- 4
198
- 15
199
- 99
200
- 7
201
- 8
202
- 7
203
- 10
204
- 65
205
- 5
206
- 49
207
- 11
208
- 4
209
- 11
210
- I
211
- 5
212
- I
213
- 0
214
- I
215
- 0
216
- I
217
- 0
218
- n
219
- p
220
- 12
221
- x
222
- 4
223
- file
224
- x
225
- 7
226
- options
227
- x
228
- 10
229
- attachment
230
- x
231
- 13
232
- attr_accessor
233
- x
234
- 10
235
- initialize
236
- M
237
- 1
238
- n
239
- n
240
- x
241
- 10
242
- initialize
243
- i
244
- 37
245
- 23
246
- 1
247
- 10
248
- 14
249
- 44
250
- 43
251
- 0
252
- 78
253
- 49
254
- 1
255
- 1
256
- 19
257
- 1
258
- 15
259
- 23
260
- 2
261
- 10
262
- 22
263
- 1
264
- 19
265
- 2
266
- 15
267
- 20
268
- 0
269
- 38
270
- 2
271
- 15
272
- 20
273
- 1
274
- 38
275
- 3
276
- 15
277
- 20
278
- 2
279
- 38
280
- 4
281
- 11
282
- I
283
- 5
284
- I
285
- 3
286
- I
287
- 1
288
- I
289
- 3
290
- n
291
- p
292
- 5
293
- x
294
- 4
295
- Hash
296
- x
297
- 16
298
- new_from_literal
299
- x
300
- 5
301
- @file
302
- x
303
- 8
304
- @options
305
- x
306
- 11
307
- @attachment
308
- p
309
- 9
310
- I
311
- 0
312
- I
313
- 17
314
- I
315
- 16
316
- I
317
- 18
318
- I
319
- 1b
320
- I
321
- 19
322
- I
323
- 20
324
- I
325
- 1a
326
- I
327
- 25
328
- x
329
- 62
330
- /Users/jyurek/Development/paperclip/lib/paperclip/processor.rb
331
- p
332
- 3
333
- x
334
- 4
335
- file
336
- x
337
- 7
338
- options
339
- x
340
- 10
341
- attachment
342
- x
343
- 17
344
- method_visibility
345
- x
346
- 15
347
- add_defn_method
348
- x
349
- 4
350
- make
351
- M
352
- 1
353
- n
354
- n
355
- x
356
- 4
357
- make
358
- i
359
- 2
360
- 1
361
- 11
362
- I
363
- 1
364
- I
365
- 0
366
- I
367
- 0
368
- I
369
- 0
370
- n
371
- p
372
- 0
373
- p
374
- 5
375
- I
376
- 0
377
- I
378
- 1d
379
- I
380
- 0
381
- I
382
- 1e
383
- I
384
- 2
385
- x
386
- 62
387
- /Users/jyurek/Development/paperclip/lib/paperclip/processor.rb
388
- p
389
- 0
390
- M
391
- 1
392
- n
393
- n
394
- x
395
- 4
396
- make
397
- i
398
- 61
399
- 23
400
- 1
401
- 10
402
- 14
403
- 44
404
- 43
405
- 0
406
- 78
407
- 49
408
- 1
409
- 1
410
- 19
411
- 1
412
- 15
413
- 23
414
- 2
415
- 10
416
- 22
417
- 1
418
- 19
419
- 2
420
- 15
421
- 5
422
- 13
423
- 72
424
- 2
425
- 47
426
- 9
427
- 47
428
- 47
429
- 49
430
- 3
431
- 0
432
- 13
433
- 20
434
- 0
435
- 20
436
- 1
437
- 20
438
- 2
439
- 47
440
- 49
441
- 4
442
- 3
443
- 15
444
- 8
445
- 57
446
- 20
447
- 0
448
- 20
449
- 1
450
- 20
451
- 2
452
- 47
453
- 49
454
- 2
455
- 3
456
- 49
457
- 5
458
- 0
459
- 11
460
- I
461
- 8
462
- I
463
- 3
464
- I
465
- 1
466
- I
467
- 3
468
- n
469
- p
470
- 6
471
- x
472
- 4
473
- Hash
474
- x
475
- 16
476
- new_from_literal
477
- x
478
- 3
479
- new
480
- x
481
- 8
482
- allocate
483
- x
484
- 10
485
- initialize
486
- x
487
- 4
488
- make
489
- p
490
- 5
491
- I
492
- 0
493
- I
494
- 20
495
- I
496
- 16
497
- I
498
- 21
499
- I
500
- 3d
501
- x
502
- 62
503
- /Users/jyurek/Development/paperclip/lib/paperclip/processor.rb
504
- p
505
- 3
506
- x
507
- 4
508
- file
509
- x
510
- 7
511
- options
512
- x
513
- 10
514
- attachment
515
- x
516
- 13
517
- attach_method
518
- p
519
- 9
520
- I
521
- 2
522
- I
523
- 15
524
- I
525
- e
526
- I
527
- 17
528
- I
529
- 1c
530
- I
531
- 1d
532
- I
533
- 2a
534
- I
535
- 20
536
- I
537
- 35
538
- x
539
- 62
540
- /Users/jyurek/Development/paperclip/lib/paperclip/processor.rb
541
- p
542
- 0
543
- x
544
- 13
545
- attach_method
546
- x
547
- 8
548
- Tempfile
549
- M
550
- 1
551
- n
552
- n
553
- x
554
- 8
555
- Tempfile
556
- i
557
- 30
558
- 5
559
- 66
560
- 45
561
- 0
562
- 1
563
- 7
564
- 2
565
- 64
566
- 49
567
- 3
568
- 1
569
- 9
570
- 28
571
- 99
572
- 7
573
- 4
574
- 7
575
- 5
576
- 65
577
- 67
578
- 49
579
- 6
580
- 0
581
- 49
582
- 7
583
- 4
584
- 8
585
- 29
586
- 1
587
- 11
588
- I
589
- 5
590
- I
591
- 0
592
- I
593
- 0
594
- I
595
- 0
596
- n
597
- p
598
- 8
599
- x
600
- 12
601
- RUBY_VERSION
602
- n
603
- s
604
- 5
605
- 1.8.6
606
- x
607
- 2
608
- <=
609
- x
610
- 12
611
- make_tmpname
612
- M
613
- 1
614
- n
615
- n
616
- x
617
- 12
618
- make_tmpname
619
- i
620
- 122
621
- 20
622
- 0
623
- 13
624
- 45
625
- 0
626
- 1
627
- 12
628
- 49
629
- 2
630
- 1
631
- 9
632
- 28
633
- 15
634
- 20
635
- 0
636
- 36
637
- 37
638
- 19
639
- 2
640
- 15
641
- 37
642
- 19
643
- 3
644
- 15
645
- 15
646
- 2
647
- 8
648
- 43
649
- 15
650
- 20
651
- 0
652
- 7
653
- 3
654
- 64
655
- 17
656
- 2
657
- 19
658
- 2
659
- 15
660
- 19
661
- 3
662
- 15
663
- 2
664
- 15
665
- 45
666
- 4
667
- 5
668
- 49
669
- 6
670
- 0
671
- 7
672
- 7
673
- 64
674
- 49
675
- 8
676
- 1
677
- 19
678
- 4
679
- 15
680
- 20
681
- 2
682
- 47
683
- 49
684
- 9
685
- 0
686
- 20
687
- 4
688
- 47
689
- 49
690
- 9
691
- 0
692
- 7
693
- 10
694
- 99
695
- 43
696
- 11
697
- 7
698
- 12
699
- 49
700
- 13
701
- 1
702
- 47
703
- 49
704
- 9
705
- 0
706
- 7
707
- 10
708
- 5
709
- 7
710
- 14
711
- 47
712
- 49
713
- 15
714
- 1
715
- 4
716
- 36
717
- 49
718
- 9
719
- 1
720
- 47
721
- 49
722
- 9
723
- 0
724
- 7
725
- 10
726
- 20
727
- 1
728
- 47
729
- 49
730
- 9
731
- 0
732
- 20
733
- 3
734
- 47
735
- 49
736
- 9
737
- 0
738
- 63
739
- 9
740
- 19
741
- 5
742
- 11
743
- I
744
- f
745
- I
746
- 6
747
- I
748
- 2
749
- I
750
- 2
751
- n
752
- p
753
- 16
754
- x
755
- 5
756
- Array
757
- n
758
- x
759
- 3
760
- ===
761
- s
762
- 0
763
-
764
- x
765
- 4
766
- Time
767
- n
768
- x
769
- 3
770
- now
771
- s
772
- 6
773
- %y%m%d
774
- x
775
- 8
776
- strftime
777
- x
778
- 4
779
- to_s
780
- s
781
- 1
782
- -
783
- x
784
- 7
785
- Globals
786
- x
787
- 2
788
- $$
789
- x
790
- 2
791
- []
792
- I
793
- 100000000
794
- x
795
- 4
796
- rand
797
- p
798
- 15
799
- I
800
- 0
801
- I
802
- 2d
803
- I
804
- 0
805
- I
806
- 2e
807
- I
808
- 3
809
- I
810
- 2f
811
- I
812
- d
813
- I
814
- 30
815
- I
816
- 1d
817
- I
818
- 32
819
- I
820
- 2c
821
- I
822
- 35
823
- I
824
- 3b
825
- I
826
- 36
827
- I
828
- 7a
829
- x
830
- 62
831
- /Users/jyurek/Development/paperclip/lib/paperclip/processor.rb
832
- p
833
- 6
834
- x
835
- 8
836
- basename
837
- x
838
- 1
839
- n
840
- x
841
- 6
842
- prefix
843
- x
844
- 6
845
- suffix
846
- x
847
- 1
848
- t
849
- x
850
- 4
851
- path
852
- x
853
- 17
854
- method_visibility
855
- x
856
- 15
857
- add_defn_method
858
- p
859
- 7
860
- I
861
- 2
862
- I
863
- 2c
864
- I
865
- d
866
- I
867
- 2d
868
- I
869
- 1c
870
- I
871
- 2c
872
- I
873
- 1e
874
- x
875
- 62
876
- /Users/jyurek/Development/paperclip/lib/paperclip/processor.rb
877
- p
878
- 0
879
- p
880
- 5
881
- I
882
- 2
883
- I
884
- 14
885
- I
886
- 1d
887
- I
888
- 2a
889
- I
890
- 3a
891
- x
892
- 62
893
- /Users/jyurek/Development/paperclip/lib/paperclip/processor.rb
894
- p
895
- 0
896
- x
897
- 13
898
- attach_method
899
- p
900
- 3
901
- I
902
- 0
903
- I
904
- 1
905
- I
906
- 1c
907
- x
908
- 62
909
- /Users/jyurek/Development/paperclip/lib/paperclip/processor.rb
910
- p
911
- 0