ok_computer-clamav 0.1.0 → 1.0.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 +4 -4
- data/.gitignore +1 -0
- data/CHANGELOG.md +20 -0
- data/Gemfile.lock +1 -1
- data/README.md +9 -1
- data/lib/ok_computer/clamav.rb +2 -1
- data/lib/ok_computer/clamav/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e153f07745b30e793b96faef7829ae81f9b87cadbca9be2938e539222bb14971
|
4
|
+
data.tar.gz: 86ce0d23ae6de6e12c93e60c3f75c11480a586b5c0db40d0061d3abdd2b7e03d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2df025e49691efe4ff64e5959ca69d0b8074d7266ee76acc42207149658b38b9eec121ead856648ca5a7eb63ad6638d945be204d1c05452072d18b4c75fa4db0
|
7
|
+
data.tar.gz: 901617e51fd3d9b5d0de4ec0c7da076ccf6aac7c5a96e5d93e481f15e660aabad6c72aedbd0d47bd4ef74485b1ffb05d92a95103de2a36da4f3ff82d4b8faadc
|
data/.gitignore
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
pkg
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
# Changelog
|
2
|
+
All notable changes to this project will be documented in this file.
|
3
|
+
|
4
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
5
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
6
|
+
|
7
|
+
## [Unreleased]
|
8
|
+
- Nothing yet
|
9
|
+
|
10
|
+
## [1.0.0] - 2018-10-20
|
11
|
+
### Fixed
|
12
|
+
- Required the clamd check so it can be used.
|
13
|
+
|
14
|
+
## [0.1.0] - 2018-10-10
|
15
|
+
### Added
|
16
|
+
- Copied the production code I've been using.
|
17
|
+
- Wrote a [blog post about this](https://www.spacebabies.nl/portfolio/clamav-monitoring-using-ok-computer/)
|
18
|
+
|
19
|
+
[Unreleased]: https://github.com/spacebabies/ok_computer-clamav/compare/v1.0.0...HEAD
|
20
|
+
[1.0.0]: https://github.com/spacebabies/ok_computer-clamav/compare/v0.1.0...v1.0.0
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -23,7 +23,15 @@ And then execute:
|
|
23
23
|
In `config/initializers/ok_computer.rb`:
|
24
24
|
|
25
25
|
``` ruby
|
26
|
-
OkComputer::Registry.register "clamd",
|
26
|
+
OkComputer::Registry.register "clamd",
|
27
|
+
OkComputer::Clamav::ClamdCheck.new
|
28
|
+
```
|
29
|
+
|
30
|
+
By default it uses the standard Debian/Ubuntu socket path. You can change that:
|
31
|
+
|
32
|
+
``` ruby
|
33
|
+
OkComputer::Registry.register "clamd",
|
34
|
+
OkComputer::Clamav::ClamdCheck.new(socket: '/tmp/clamd.sock') # e.g. Homebrew
|
27
35
|
```
|
28
36
|
|
29
37
|
## Development
|
data/lib/ok_computer/clamav.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ok_computer-clamav
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joost Baaij
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-10-
|
11
|
+
date: 2018-10-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: okcomputer
|
@@ -77,6 +77,8 @@ executables: []
|
|
77
77
|
extensions: []
|
78
78
|
extra_rdoc_files: []
|
79
79
|
files:
|
80
|
+
- ".gitignore"
|
81
|
+
- CHANGELOG.md
|
80
82
|
- Gemfile
|
81
83
|
- Gemfile.lock
|
82
84
|
- LICENSE
|