ddr-antivirus 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0cbe6bb3732e0dd194bee771110acbd331359f91
4
- data.tar.gz: a5cd603f3e9a56244179ece7d93890c26f873910
3
+ metadata.gz: bbf8b0276005e8766ca6c985e7a4d4771c1ec2f1
4
+ data.tar.gz: 39638ef73883d0ba112cf8d093ed84e9e021d39d
5
5
  SHA512:
6
- metadata.gz: 6ba1025ded7e40dea5ace207906ee6e0b5dbff5076d2c6d39880a2bb323eb27c147391ea3b17e09a9b61a70e7d9c6fb4088d9103b21fa08c960d26a2a642a518
7
- data.tar.gz: dbc106f548fc2c4369cf1fc3d74292f62ed77d11780858f6660bb7f740fda02430bed699f2060b7f67403cadc2895a128b9794264543f9383df6d1a33dc02632
6
+ metadata.gz: 96ea1c688237f4dfa5f9b6a8c7c5c5c87edd9eeb5a535ed55978680c9850f744bd2d7ba456d37811157d744bf8a2bdda1d2a9c0111d1a411c404ac2cd798f609
7
+ data.tar.gz: 5e1c5433a733abdc129bf37893299ec2133b817e7a316613805e973927e13206a673f42f67c7c9671abb2816a68186e3096fecfff925eaa1971f6e71f09a1232
data/lib/ddr/antivirus.rb CHANGED
@@ -41,7 +41,7 @@ module Ddr
41
41
  require "clamav"
42
42
  :clamav
43
43
  rescue LoadError
44
- if system "which -s clamdscan"
44
+ if system "which -a clamdscan"
45
45
  :clamd
46
46
  else
47
47
  :null
@@ -1,5 +1,5 @@
1
1
  module Ddr
2
2
  module Antivirus
3
- VERSION = "1.2.0"
3
+ VERSION = "1.2.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ddr-antivirus
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Chandek-Stark
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-06 00:00:00.000000000 Z
11
+ date: 2014-11-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport