clam_scan 0.0.1 → 0.0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ea305456c7f41d11c6dc629ccf15ad6807ebc127
4
- data.tar.gz: d6e2cb317c9e6d053f5ec1e60d7fd55414f3abea
3
+ metadata.gz: 7213b1bff1831f07c899815c8173f96a9b7d20f6
4
+ data.tar.gz: e8ae53f1c75a6b0163af3fc91452ee3bce24071c
5
5
  SHA512:
6
- metadata.gz: b6db45f5403778c1209dac018f95d073aaa6cddc8bbcc2589dbdb1179b71f802761f16388972ab92f4cf5c8d0f0ccbf6be86f8fe25810d380573d4c8ec6ea73e
7
- data.tar.gz: ffeab6f0d74d3d5c7439cfbbf12330c0ce271d17b001aa4a4382749be31a20e00856d6e01aba2cec6791c29dbe2dc8a863d44f940a012e391a5e6d4baa9f7b61
6
+ metadata.gz: 395b263e886779720499bc58b6b8ece2b9117dd9f74c6e3bee381fe14bcb3349484ce3c94dc3ea3e12f832ac67d182b5f28ec3647c42eacb36b6b22d09a80ea6
7
+ data.tar.gz: 5a4d71a446e54ca6fe5ee0d841a8c85beadfa0d18b710aae7e8c4ccfd299afbfc022e82e6ec7007991db65eb9c8ddf52a385df4a61e32efcec977035fa4c4c56
@@ -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
 
@@ -27,6 +27,7 @@ module ClamScan
27
27
  BOOLEAN_ARGS = %w(
28
28
  allmatch
29
29
  bell
30
+ fdpass
30
31
  infected
31
32
  leave_temps
32
33
  no_summary
@@ -1,3 +1,3 @@
1
1
  module ClamScan
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
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.1
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: 2014-09-30 00:00:00.000000000 Z
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.2.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: