clamby 1.5.1 → 1.6.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8580f01b4d5f65af4ee327b290e6e17f074fafb351a95a07d079c4eebad54ae1
4
- data.tar.gz: 8b0bc003922e5490d24464954cb01a40084aaf3b7344243c9110a3d1811e57db
3
+ metadata.gz: 60db11bed3aec851cb64fe6f5ed12b18dc516f5f4af58942306bd4af347ea5ec
4
+ data.tar.gz: 1e8aaf3f10c123cc8babc1aced65ebc2434cf18a75dff3c89f1d62cbdb7b3480
5
5
  SHA512:
6
- metadata.gz: 6f7b78e3b031158253bd4cc7809d87a0570710ed7239f3fd837bcab4235baf5bcc182a29fa22669523d037658f2387601973eb36bc6981bc760aeeb03fd392d1
7
- data.tar.gz: 56c12c45b4ecc6c9c6162243a8483226213f908d5df10655f409cb106b78881c3f0abfd781f7175757dbc2f50c9abb714952c5085ef420d021f77fe285a29ab3
6
+ metadata.gz: 68b181d6a6e70063bcdef925521af068510ddc6cb2a1091048de176d220a01de8643ce6ad7b466e35dd8bda023a7b1d68f2636913bdfb89c05b69197b6545d77
7
+ data.tar.gz: fa6c2040053c6ee41ea2a909041cb5bf9987c047203233b5a1ec8c8463ac4580612dc0227fd69e55a93d13aa8ec6533c84f94a5be1aeebbd67ab5905b1822d2b
@@ -1,3 +1,6 @@
1
+ # v1.6.0
2
+ - When checking version, use the executable configuration.
3
+
1
4
  # v1.5.1
2
5
  - [ahukkanen](https://github.com/kobaltz/clamby/commits?author=ahukkanen) - Configurable execution paths
3
6
 
data/README.md CHANGED
@@ -80,7 +80,7 @@ Configuration is rather limited right now. You can exclude the check if `clamsca
80
80
  :error_file_virus => false,
81
81
  :fdpass => false,
82
82
  :stream => false,
83
- :output => 'medium', # one of 'off', 'low', 'medium', 'high'
83
+ :output_level => 'medium', # one of 'off', 'low', 'medium', 'high'
84
84
  :executable_path_clamscan => 'clamscan',
85
85
  :executable_path_clamdscan => 'clamdscan',
86
86
  :executable_path_freshclam => 'freshclam',
@@ -51,7 +51,7 @@ module Clamby
51
51
 
52
52
  # Show the ClamAV version. Also acts as a quick check if ClamAV functions.
53
53
  def self.clamscan_version
54
- new.run 'clamscan', '--version'
54
+ new.run scan_executable, '--version'
55
55
  end
56
56
 
57
57
  # Run the given commands via a system call.
@@ -1,3 +1,3 @@
1
1
  module Clamby
2
- VERSION = "1.5.1"
2
+ VERSION = "1.6.0"
3
3
  end
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.5.1
4
+ version: 1.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - kobaltz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-12-02 00:00:00.000000000 Z
11
+ date: 2018-12-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler