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