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,685 +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
- 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
- 4
111
- Glue
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
- 4
124
- Glue
125
- i
126
- 39
127
- 5
128
- 66
129
- 99
130
- 7
131
- 0
132
- 7
133
- 1
134
- 65
135
- 5
136
- 49
137
- 2
138
- 4
139
- 15
140
- 99
141
- 7
142
- 3
143
- 65
144
- 49
145
- 4
146
- 2
147
- 13
148
- 99
149
- 12
150
- 7
151
- 5
152
- 12
153
- 7
154
- 6
155
- 12
156
- 65
157
- 12
158
- 49
159
- 2
160
- 4
161
- 15
162
- 49
163
- 5
164
- 0
165
- 11
166
- I
167
- 6
168
- I
169
- 0
170
- I
171
- 0
172
- I
173
- 0
174
- n
175
- p
176
- 7
177
- x
178
- 8
179
- included
180
- M
181
- 1
182
- n
183
- n
184
- x
185
- 8
186
- included
187
- i
188
- 9
189
- 20
190
- 0
191
- 45
192
- 0
193
- 1
194
- 49
195
- 2
196
- 1
197
- 11
198
- I
199
- 3
200
- I
201
- 1
202
- I
203
- 1
204
- I
205
- 1
206
- n
207
- p
208
- 3
209
- x
210
- 12
211
- ClassMethods
212
- n
213
- x
214
- 6
215
- extend
216
- p
217
- 5
218
- I
219
- 0
220
- I
221
- 3
222
- I
223
- 0
224
- I
225
- 4
226
- I
227
- 9
228
- x
229
- 57
230
- /Users/jyurek/Development/paperclip/lib/paperclip/glue.rb
231
- p
232
- 1
233
- x
234
- 4
235
- base
236
- x
237
- 13
238
- attach_method
239
- x
240
- 12
241
- ClassMethods
242
- x
243
- 11
244
- open_module
245
- x
246
- 15
247
- __module_init__
248
- M
249
- 1
250
- n
251
- n
252
- x
253
- 12
254
- ClassMethods
255
- i
256
- 16
257
- 5
258
- 66
259
- 99
260
- 7
261
- 0
262
- 7
263
- 1
264
- 65
265
- 67
266
- 49
267
- 2
268
- 0
269
- 49
270
- 3
271
- 4
272
- 11
273
- I
274
- 5
275
- I
276
- 0
277
- I
278
- 0
279
- I
280
- 0
281
- n
282
- p
283
- 4
284
- x
285
- 17
286
- has_attached_file
287
- M
288
- 1
289
- n
290
- n
291
- x
292
- 17
293
- has_attached_file
294
- i
295
- 46
296
- 5
297
- 20
298
- 0
299
- 56
300
- 0
301
- 47
302
- 50
303
- 1
304
- 1
305
- 15
306
- 5
307
- 20
308
- 0
309
- 47
310
- 49
311
- 2
312
- 0
313
- 7
314
- 3
315
- 63
316
- 2
317
- 56
318
- 4
319
- 47
320
- 50
321
- 1
322
- 1
323
- 15
324
- 5
325
- 20
326
- 0
327
- 47
328
- 49
329
- 2
330
- 0
331
- 7
332
- 5
333
- 63
334
- 2
335
- 56
336
- 6
337
- 47
338
- 50
339
- 1
340
- 1
341
- 11
342
- I
343
- 4
344
- I
345
- 1
346
- I
347
- 1
348
- I
349
- 1
350
- n
351
- p
352
- 7
353
- M
354
- 1
355
- p
356
- 2
357
- x
358
- 9
359
- for_block
360
- t
361
- n
362
- x
363
- 17
364
- has_attached_file
365
- i
366
- 3
367
- 39
368
- 0
369
- 11
370
- I
371
- 2
372
- I
373
- 0
374
- I
375
- 0
376
- I
377
- 0
378
- I
379
- -2
380
- p
381
- 1
382
- x
383
- 5
384
- @file
385
- p
386
- 5
387
- I
388
- 0
389
- I
390
- 9
391
- I
392
- 0
393
- I
394
- a
395
- I
396
- 3
397
- x
398
- 57
399
- /Users/jyurek/Development/paperclip/lib/paperclip/glue.rb
400
- p
401
- 0
402
- x
403
- 13
404
- define_method
405
- x
406
- 4
407
- to_s
408
- s
409
- 1
410
- =
411
- M
412
- 1
413
- p
414
- 2
415
- x
416
- 9
417
- for_block
418
- t
419
- n
420
- x
421
- 17
422
- has_attached_file
423
- i
424
- 41
425
- 57
426
- 19
427
- 0
428
- 15
429
- 20
430
- 0
431
- 38
432
- 0
433
- 15
434
- 5
435
- 21
436
- 1
437
- 0
438
- 47
439
- 49
440
- 1
441
- 0
442
- 7
443
- 2
444
- 63
445
- 2
446
- 47
447
- 49
448
- 3
449
- 0
450
- 45
451
- 4
452
- 5
453
- 39
454
- 0
455
- 49
456
- 6
457
- 0
458
- 49
459
- 7
460
- 1
461
- 47
462
- 49
463
- 8
464
- 2
465
- 11
466
- I
467
- 6
468
- I
469
- 1
470
- I
471
- 1
472
- I
473
- 1
474
- n
475
- p
476
- 9
477
- x
478
- 5
479
- @file
480
- x
481
- 4
482
- to_s
483
- s
484
- 11
485
- _file_name=
486
- x
487
- 6
488
- to_sym
489
- x
490
- 4
491
- File
492
- n
493
- x
494
- 4
495
- path
496
- x
497
- 8
498
- basename
499
- x
500
- 4
501
- send
502
- p
503
- 7
504
- I
505
- 0
506
- I
507
- d
508
- I
509
- 4
510
- I
511
- e
512
- I
513
- 9
514
- I
515
- f
516
- I
517
- 29
518
- x
519
- 57
520
- /Users/jyurek/Development/paperclip/lib/paperclip/glue.rb
521
- p
522
- 1
523
- x
524
- 4
525
- file
526
- s
527
- 1
528
- ?
529
- M
530
- 1
531
- p
532
- 2
533
- x
534
- 9
535
- for_block
536
- t
537
- n
538
- x
539
- 17
540
- has_attached_file
541
- i
542
- 12
543
- 39
544
- 0
545
- 49
546
- 1
547
- 0
548
- 10
549
- 10
550
- 2
551
- 8
552
- 11
553
- 3
554
- 11
555
- I
556
- 2
557
- I
558
- 0
559
- I
560
- 0
561
- I
562
- 0
563
- I
564
- -2
565
- p
566
- 2
567
- x
568
- 5
569
- @file
570
- x
571
- 4
572
- nil?
573
- p
574
- 5
575
- I
576
- 0
577
- I
578
- 12
579
- I
580
- 0
581
- I
582
- 13
583
- I
584
- c
585
- x
586
- 57
587
- /Users/jyurek/Development/paperclip/lib/paperclip/glue.rb
588
- p
589
- 0
590
- p
591
- 9
592
- I
593
- 0
594
- I
595
- 8
596
- I
597
- 0
598
- I
599
- 9
600
- I
601
- a
602
- I
603
- d
604
- I
605
- 1c
606
- I
607
- 12
608
- I
609
- 2e
610
- x
611
- 57
612
- /Users/jyurek/Development/paperclip/lib/paperclip/glue.rb
613
- p
614
- 1
615
- x
616
- 15
617
- attachment_name
618
- x
619
- 17
620
- method_visibility
621
- x
622
- 15
623
- add_defn_method
624
- p
625
- 3
626
- I
627
- 2
628
- I
629
- 8
630
- I
631
- 10
632
- x
633
- 57
634
- /Users/jyurek/Development/paperclip/lib/paperclip/glue.rb
635
- p
636
- 0
637
- p
638
- 5
639
- I
640
- 2
641
- I
642
- 3
643
- I
644
- d
645
- I
646
- 7
647
- I
648
- 27
649
- x
650
- 57
651
- /Users/jyurek/Development/paperclip/lib/paperclip/glue.rb
652
- p
653
- 0
654
- x
655
- 13
656
- attach_method
657
- p
658
- 3
659
- I
660
- 2
661
- I
662
- 2
663
- I
664
- 1c
665
- x
666
- 57
667
- /Users/jyurek/Development/paperclip/lib/paperclip/glue.rb
668
- p
669
- 0
670
- x
671
- 13
672
- attach_method
673
- p
674
- 3
675
- I
676
- 0
677
- I
678
- 1
679
- I
680
- 1c
681
- x
682
- 57
683
- /Users/jyurek/Development/paperclip/lib/paperclip/glue.rb
684
- p
685
- 0