eltiare / carrierwave-vips

CarrierWave image processing powered by VIPS
MIT License
92 stars 39 forks source link

Added supported for image files that contain alphanumerica extensiosn (3... #12

Closed cgat closed 11 years ago

cgat commented 11 years ago

Added supported for image files that contain alphanumerica extensiosn (3FR). When writing a new file in process!, a temp file is created. Previously, this temp file was created by inserting _tmp between the file basename and the extension. The regular expression didn't account for extensions with numeric values. Now it does (I use [[::alnum::]])