CarrierWave VirusScanner support
This gem adds support for BitZesty's Virus Scanner to CarrierWave
Installation
Install the latest release:
gem install carrierwave-vs
Or add it in the Gemfile:
gem 'carrierwave-vs'
And then execute:
$ bundle
Usage
Include it in in your code:
class MyUploader < CarrierWave::Uploader::Base
include CarrierWave::VirusScanner
...
end
Then apply to all versions by:
class MyUploader < CarrierWave::Uploader::Base
...
after :store, :virus_scan
end
Contributing
- Fork it
- Create your featuer branch
- Commit your changes
- Push to the branch
- Create new Pull Request