Commit Graph

21 Commits

Author SHA1 Message Date
Mehdi Lahmam f4501394b9 Remove UTF-8 magic comments from all the Ruby files
Ruby 2 made UTF-8 the default encoding, which make magic comments
omissible.
2016-01-02 16:38:59 +01:00
M.Shibuya 7d8301c26b Make cache storage pluggable 2014-02-19 16:06:50 +09:00
Taavo Smith feedc302c5 prefer guard clause, break up 160-character-wide line 2013-09-08 15:09:35 -04:00
Taavo Smith 1b5ac91980 1. prepare arguments, 2. do work 2013-09-08 14:07:53 -04:00
Chris Roberts 78e7513982 Allow conditionals to accept blocks 2011-12-19 09:23:02 -08:00
bUg 1593fbe9b1 processors inherited_accessor -> class_attribute 2011-06-07 22:34:22 +02:00
Corin Langosch 1a3516644d add proper inheritance (subclassing) support to carrierwave uploaders 2011-05-11 17:55:27 +02:00
Corin Langosch bf0644edb8 fix all failing uploader specs to get a clean state 2011-05-11 16:44:47 +02:00
Corin Langosch 009f254a92 allow specifying a process condition for processors without any arguments 2011-05-02 10:57:14 +02:00
Corin Langosch 0eeee6a4b9 pass new_file to process condition method 2011-04-29 16:10:39 +02:00
Corin Langosch af0a298785 implement conditional processing 2011-04-29 15:35:53 +02:00
Trevor Turk a031b95fd3 Revert "Revert "Fix an issue where reprocessing versions on S3 or GridFS or other cloud solutions would fail.""
This reverts commit a328a0518f.

Sorry for the confusion - I shouldn't have reverted this in the first place.
2011-01-30 17:53:37 +00:00
Trevor Turk a328a0518f Revert "Fix an issue where reprocessing versions on S3 or GridFS or other cloud solutions would fail."
This reverts commit 582741fc2a.
2011-01-30 10:52:45 +00:00
Alex Crichton 582741fc2a Fix an issue where reprocessing versions on S3 or GridFS or other cloud solutions would fail.
The fix involves reading the file off of those cloud solutions and then storing the local version so processing can happen.
2011-01-29 22:48:27 -05:00
Jonas Nicklas 853b96cdcf Added recreate_versions! method 2010-06-19 17:19:32 +02:00
Jonas Nicklas ac25381de5 Use AS::Concern instead of module_setup 2010-02-06 19:13:58 +01:00
Jonas Nicklas 25b8d9a3c9 Added an option to enable and disable processing 2009-11-26 23:00:32 +01:00
Jonas Nicklas 957b2b568f All files are utf-8 encoded 2009-07-18 14:16:43 +02:00
Jonas Nicklas c27a7ec5e1 Do processing with callback :D 2009-05-10 20:35:26 +02:00
Jonas Nicklas d6890b88cf Back to inheritance.
Allows us to work with Base class better.
2009-05-10 19:07:23 +02:00
Jonas Nicklas bea5f99820 moved most of the uploader into separate files so they are easier to manage 2009-05-10 14:42:35 +02:00