carrierwaveuploader/carrierwave — pull request #1490 by alpaca-tc (2014-11-05 07:25:00+00:00)
Title: Fixed tempdir regexp

Current regexp can not detect correct cache_id when `#cache_dir` contains a similar path.
Sometimes `SecureRandom.uuid` generates a similar path.

g.u

```
class FileUploader < CarrierWave::Uploader::Base
def cache_dir
"#{super}/1-1-1111"
end
end
```