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

  1. Fork it
  2. Create your featuer branch
  3. Commit your changes
  4. Push to the branch
  5. Create new Pull Request