clamby 1.6.1 → 1.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/clamby/command.rb +4 -2
- data/lib/clamby/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 386be08fb41c318b1c32997c00f9df9ed3ee78796ceaded3927cb4672d45b370
|
|
4
|
+
data.tar.gz: b1ed8cbc7842eb3ee4699cb4759c7ccb707bde51d82efc5ce5ff467f1dd9730b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5f0e78c730b651e66bce6710df83f13a5e250540dcfb7ba840584561e509666950513bd07221a46b6833ffab9356ade9e0cc1fe2250de622bb4a0f5a2378502f
|
|
7
|
+
data.tar.gz: 17069ecf45fd0d5b48cfef58ba45ef489c7468dd2a5a0bcf4388058ef2fa651e8c6bb0cf802ca2f382a0c6fc4fc1215ffdd046e677667d06d6e960311b134042
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
# v1.6.2
|
|
2
|
+
- [emilong](https://github.com/kobaltz/clamby/commits?author=emilong) - Handle nil exit status of clamav executable.
|
|
3
|
+
|
|
1
4
|
# v1.6.1
|
|
2
5
|
- [broder](https://github.com/kobaltz/clamby/commits?author=broder) - Fixed issue with detecting clamdscan version when using custom config file
|
|
3
6
|
|
data/lib/clamby/command.rb
CHANGED
|
@@ -25,10 +25,12 @@ module Clamby
|
|
|
25
25
|
|
|
26
26
|
new.run scan_executable, *args
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
# $CHILD_STATUS maybe nil if the execution itself (not the client process)
|
|
29
|
+
# fails
|
|
30
|
+
case $CHILD_STATUS && $CHILD_STATUS.exitstatus
|
|
29
31
|
when 0
|
|
30
32
|
return false
|
|
31
|
-
when 2
|
|
33
|
+
when nil, 2
|
|
32
34
|
# clamdscan returns 2 whenever error other than a detection happens
|
|
33
35
|
if Clamby.config[:error_clamscan_client_error] && Clamby.config[:daemonize]
|
|
34
36
|
raise Clamby::ClamscanClientError.new("Clamscan client error")
|
data/lib/clamby/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: clamby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.6.
|
|
4
|
+
version: 1.6.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- kobaltz
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-03-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -101,7 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
101
101
|
- !ruby/object:Gem::Version
|
|
102
102
|
version: '0'
|
|
103
103
|
requirements: []
|
|
104
|
-
rubygems_version: 3.0.
|
|
104
|
+
rubygems_version: 3.0.3
|
|
105
105
|
signing_key:
|
|
106
106
|
specification_version: 4
|
|
107
107
|
summary: Scan file uploads with ClamAV
|