Sha256: 77a3ec3d0b690ed35f592c279ec869f44bc2d0c638d7dbf5e93ea740e6e0cecb

Contents?: true

Size: 198 Bytes

Versions: 28

Compression:

Stored size: 198 Bytes

Contents

# frozen_string_literal: true
if defined?(ClamAV)
  ClamAV.instance.loaddb
else
  class ClamAV
    include Singleton
    def scanfile(_f)
      0
    end

    def loaddb
      nil
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
hyrax-5.1.0.pre.beta1 lib/hyrax/specs/clamav.rb
hyrax-5.0.4 lib/hyrax/specs/clamav.rb
hyrax-5.0.3 lib/hyrax/specs/clamav.rb
hyrax-5.0.2 lib/hyrax/specs/clamav.rb
hyrax-5.0.1 lib/hyrax/specs/clamav.rb
hyrax-5.0.0 lib/hyrax/specs/clamav.rb
hyrax-5.0.0.rc3 lib/hyrax/specs/clamav.rb
hyrax-5.0.0.rc2 lib/hyrax/specs/clamav.rb
hyrax-5.0.0.rc1 lib/hyrax/specs/clamav.rb
hyrax-3.6.0 lib/hyrax/specs/clamav.rb
hyrax-4.0.0 lib/hyrax/specs/clamav.rb
hyrax-4.0.0.rc3 lib/hyrax/specs/clamav.rb
hyrax-4.0.0.rc2 lib/hyrax/specs/clamav.rb
hyrax-4.0.0.rc1 lib/hyrax/specs/clamav.rb
hyrax-3.5.0 lib/hyrax/specs/clamav.rb
hyrax-4.0.0.beta2 lib/hyrax/specs/clamav.rb
hyrax-3.4.2 lib/hyrax/specs/clamav.rb
hyrax-4.0.0.beta1 lib/hyrax/specs/clamav.rb
hyrax-3.4.1 lib/hyrax/specs/clamav.rb
hyrax-3.4.0 lib/hyrax/specs/clamav.rb