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,622 +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
- 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
- 27
76
- HaveAttachedFileMatcherTest
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
- 27
99
- HaveAttachedFileMatcherTest
100
- i
101
- 13
102
- 5
103
- 66
104
- 5
105
- 7
106
- 0
107
- 64
108
- 56
109
- 1
110
- 47
111
- 50
112
- 2
113
- 1
114
- 11
115
- I
116
- 3
117
- I
118
- 0
119
- I
120
- 0
121
- I
122
- 0
123
- n
124
- p
125
- 3
126
- s
127
- 18
128
- have_attached_file
129
- M
130
- 1
131
- p
132
- 2
133
- x
134
- 9
135
- for_block
136
- t
137
- n
138
- x
139
- 27
140
- HaveAttachedFileMatcherTest
141
- i
142
- 30
143
- 5
144
- 56
145
- 0
146
- 47
147
- 50
148
- 1
149
- 0
150
- 15
151
- 5
152
- 7
153
- 2
154
- 64
155
- 56
156
- 3
157
- 47
158
- 50
159
- 4
160
- 1
161
- 15
162
- 5
163
- 7
164
- 5
165
- 64
166
- 56
167
- 6
168
- 47
169
- 50
170
- 4
171
- 1
172
- 11
173
- I
174
- 4
175
- I
176
- 0
177
- I
178
- 0
179
- I
180
- 0
181
- I
182
- -2
183
- p
184
- 7
185
- M
186
- 1
187
- p
188
- 2
189
- x
190
- 9
191
- for_block
192
- t
193
- n
194
- x
195
- 27
196
- HaveAttachedFileMatcherTest
197
- i
198
- 32
199
- 5
200
- 7
201
- 0
202
- 64
203
- 47
204
- 49
205
- 1
206
- 1
207
- 38
208
- 2
209
- 15
210
- 5
211
- 7
212
- 3
213
- 64
214
- 47
215
- 49
216
- 4
217
- 1
218
- 15
219
- 5
220
- 49
221
- 5
222
- 0
223
- 7
224
- 6
225
- 49
226
- 7
227
- 1
228
- 38
229
- 8
230
- 11
231
- I
232
- 3
233
- I
234
- 0
235
- I
236
- 0
237
- I
238
- 0
239
- I
240
- -2
241
- p
242
- 9
243
- s
244
- 5
245
- Dummy
246
- x
247
- 11
248
- reset_class
249
- x
250
- 12
251
- @dummy_class
252
- s
253
- 7
254
- dummies
255
- x
256
- 11
257
- reset_table
258
- x
259
- 5
260
- class
261
- x
262
- 6
263
- avatar
264
- x
265
- 18
266
- have_attached_file
267
- x
268
- 8
269
- @matcher
270
- p
271
- 9
272
- I
273
- 0
274
- I
275
- 5
276
- I
277
- 0
278
- I
279
- 6
280
- I
281
- b
282
- I
283
- 7
284
- I
285
- 14
286
- I
287
- 8
288
- I
289
- 20
290
- x
291
- 84
292
- /Users/jyurek/Development/paperclip/test/matchers/have_attached_file_matcher_test.rb
293
- p
294
- 0
295
- x
296
- 5
297
- setup
298
- s
299
- 32
300
- given a class with no attachment
301
- M
302
- 1
303
- p
304
- 2
305
- x
306
- 9
307
- for_block
308
- t
309
- n
310
- x
311
- 27
312
- HaveAttachedFileMatcherTest
313
- i
314
- 4
315
- 5
316
- 48
317
- 0
318
- 11
319
- I
320
- 2
321
- I
322
- 0
323
- I
324
- 0
325
- I
326
- 0
327
- I
328
- -2
329
- p
330
- 1
331
- x
332
- 25
333
- should_reject_dummy_class
334
- p
335
- 5
336
- I
337
- 0
338
- I
339
- b
340
- I
341
- 0
342
- I
343
- c
344
- I
345
- 4
346
- x
347
- 84
348
- /Users/jyurek/Development/paperclip/test/matchers/have_attached_file_matcher_test.rb
349
- p
350
- 0
351
- x
352
- 7
353
- context
354
- s
355
- 32
356
- given a class with an attachment
357
- M
358
- 1
359
- p
360
- 2
361
- x
362
- 9
363
- for_block
364
- t
365
- n
366
- x
367
- 27
368
- HaveAttachedFileMatcherTest
369
- i
370
- 12
371
- 5
372
- 56
373
- 0
374
- 47
375
- 50
376
- 1
377
- 0
378
- 15
379
- 5
380
- 48
381
- 2
382
- 11
383
- I
384
- 3
385
- I
386
- 0
387
- I
388
- 0
389
- I
390
- 0
391
- I
392
- -2
393
- p
394
- 3
395
- M
396
- 1
397
- p
398
- 2
399
- x
400
- 9
401
- for_block
402
- t
403
- n
404
- x
405
- 27
406
- HaveAttachedFileMatcherTest
407
- i
408
- 19
409
- 5
410
- 7
411
- 0
412
- 64
413
- 56
414
- 1
415
- 47
416
- 50
417
- 2
418
- 1
419
- 15
420
- 39
421
- 3
422
- 7
423
- 4
424
- 49
425
- 5
426
- 1
427
- 11
428
- I
429
- 4
430
- I
431
- 0
432
- I
433
- 0
434
- I
435
- 0
436
- I
437
- -2
438
- p
439
- 6
440
- s
441
- 7
442
- dummies
443
- M
444
- 1
445
- p
446
- 2
447
- x
448
- 9
449
- for_block
450
- t
451
- n
452
- x
453
- 27
454
- HaveAttachedFileMatcherTest
455
- i
456
- 12
457
- 57
458
- 19
459
- 0
460
- 15
461
- 20
462
- 0
463
- 7
464
- 0
465
- 49
466
- 1
467
- 1
468
- 11
469
- I
470
- 4
471
- I
472
- 1
473
- I
474
- 1
475
- I
476
- 1
477
- n
478
- p
479
- 2
480
- x
481
- 16
482
- avatar_file_name
483
- x
484
- 6
485
- string
486
- p
487
- 3
488
- I
489
- 0
490
- I
491
- 11
492
- I
493
- c
494
- x
495
- 84
496
- /Users/jyurek/Development/paperclip/test/matchers/have_attached_file_matcher_test.rb
497
- p
498
- 1
499
- x
500
- 1
501
- d
502
- x
503
- 12
504
- modify_table
505
- x
506
- 12
507
- @dummy_class
508
- x
509
- 6
510
- avatar
511
- x
512
- 17
513
- has_attached_file
514
- p
515
- 7
516
- I
517
- 0
518
- I
519
- 10
520
- I
521
- 0
522
- I
523
- 11
524
- I
525
- b
526
- I
527
- 12
528
- I
529
- 13
530
- x
531
- 84
532
- /Users/jyurek/Development/paperclip/test/matchers/have_attached_file_matcher_test.rb
533
- p
534
- 0
535
- x
536
- 5
537
- setup
538
- x
539
- 25
540
- should_accept_dummy_class
541
- p
542
- 7
543
- I
544
- 0
545
- I
546
- f
547
- I
548
- 0
549
- I
550
- 10
551
- I
552
- 8
553
- I
554
- 15
555
- I
556
- c
557
- x
558
- 84
559
- /Users/jyurek/Development/paperclip/test/matchers/have_attached_file_matcher_test.rb
560
- p
561
- 0
562
- p
563
- 9
564
- I
565
- 0
566
- I
567
- 4
568
- I
569
- 0
570
- I
571
- 5
572
- I
573
- 8
574
- I
575
- b
576
- I
577
- 13
578
- I
579
- f
580
- I
581
- 1e
582
- x
583
- 84
584
- /Users/jyurek/Development/paperclip/test/matchers/have_attached_file_matcher_test.rb
585
- p
586
- 0
587
- x
588
- 7
589
- context
590
- p
591
- 3
592
- I
593
- 2
594
- I
595
- 4
596
- I
597
- d
598
- x
599
- 84
600
- /Users/jyurek/Development/paperclip/test/matchers/have_attached_file_matcher_test.rb
601
- p
602
- 0
603
- x
604
- 13
605
- attach_method
606
- p
607
- 5
608
- I
609
- 0
610
- I
611
- 1
612
- I
613
- 9
614
- I
615
- 3
616
- I
617
- 2c
618
- x
619
- 84
620
- /Users/jyurek/Development/paperclip/test/matchers/have_attached_file_matcher_test.rb
621
- p
622
- 0