clam_scan 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -0
- data/README.md +1 -1
- data/lib/clam_scan/request.rb +1 -0
- data/lib/clam_scan/version.rb +1 -1
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7213b1bff1831f07c899815c8173f96a9b7d20f6
|
4
|
+
data.tar.gz: e8ae53f1c75a6b0163af3fc91452ee3bce24071c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 395b263e886779720499bc58b6b8ece2b9117dd9f74c6e3bee381fe14bcb3349484ce3c94dc3ea3e12f832ac67d182b5f28ec3647c42eacb36b6b22d09a80ea6
|
7
|
+
data.tar.gz: 5a4d71a446e54ca6fe5ee0d841a8c85beadfa0d18b710aae7e8c4ccfd299afbfc022e82e6ec7007991db65eb9c8ddf52a385df4a61e32efcec977035fa4c4c56
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
# 0.0.2
|
2
|
+
|
3
|
+
### Add `fdpass` to validated options
|
4
|
+
|
5
|
+
Pass the file descriptor permissions to `clamd`. This is useful if `clamd` is running as a different user as it is faster than streaming the file to `clamd`. Only available if connected to `clamd` via local(unix) socket.
|
6
|
+
|
7
|
+
Or, in human language: `--fdpass` is needed if user `clamav`, as which `clamd` runs, cannot access your files. Which may be the case with e.g. rails and scanning temporary uploads.
|
8
|
+
|
9
|
+
# 0.0.1
|
10
|
+
|
11
|
+
### Initial release
|
12
|
+
|
13
|
+
It's alive!
|
data/README.md
CHANGED
@@ -106,7 +106,7 @@ args = ['--recursive', '--max-recursion=5', '/path/to'dir']
|
|
106
106
|
ClamScan::Client.scan(custom_args: args)
|
107
107
|
```
|
108
108
|
|
109
|
-
ClamScan _should_ support and validate any arguments supported by ClamAV 0.98. See lib/request.rb and ClamAV's man page.
|
109
|
+
ClamScan _should_ support and validate any arguments supported by ClamAV 0.98. See `lib/clam_scan/request.rb` and ClamAV's man page.
|
110
110
|
|
111
111
|
### Deleting infected files
|
112
112
|
|
data/lib/clam_scan/request.rb
CHANGED
data/lib/clam_scan/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: clam_scan
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Schroeder
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-04-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -61,6 +61,7 @@ extra_rdoc_files: []
|
|
61
61
|
files:
|
62
62
|
- ".gitignore"
|
63
63
|
- ".rspec"
|
64
|
+
- CHANGELOG.md
|
64
65
|
- Gemfile
|
65
66
|
- LICENSE.txt
|
66
67
|
- README.md
|
@@ -97,7 +98,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
97
98
|
version: '0'
|
98
99
|
requirements: []
|
99
100
|
rubyforge_project:
|
100
|
-
rubygems_version: 2.
|
101
|
+
rubygems_version: 2.4.5
|
101
102
|
signing_key:
|
102
103
|
specification_version: 4
|
103
104
|
summary: Ruby wrapper for ClamAV's clamscan/clamdscan.
|
@@ -106,3 +107,4 @@ test_files:
|
|
106
107
|
- spec/spec_helper.rb
|
107
108
|
- spec/support/data.rb
|
108
109
|
- spec/support/scan.rb
|
110
|
+
has_rdoc:
|