ok_computer-clamav 0.1.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cba4b6796c3b0cde03e5aac46f7f757abf4987be91b459e8f47ed217b22698b7
4
- data.tar.gz: 7d001359aa532a4f6b6f3096d4831a7ec6822d33042d3912b6b46d0728876eaf
3
+ metadata.gz: e153f07745b30e793b96faef7829ae81f9b87cadbca9be2938e539222bb14971
4
+ data.tar.gz: 86ce0d23ae6de6e12c93e60c3f75c11480a586b5c0db40d0061d3abdd2b7e03d
5
5
  SHA512:
6
- metadata.gz: 7fd45eafaacd5e7423f8018d5e2d67c59593711ac559f17b2eda6d1f034512d866ccbcee3af5b0d8b905441b53da80d2c1d92131ca751070768df41dfe0b83b6
7
- data.tar.gz: 40abf4e0a663318785bef47895e54ceb41d370c533d89019bacff941e83e7ca13ad7ea7acc084856221d3513edeb92a667df015ac7e563a64b9dd8056bff5c19
6
+ metadata.gz: 2df025e49691efe4ff64e5959ca69d0b8074d7266ee76acc42207149658b38b9eec121ead856648ca5a7eb63ad6638d945be204d1c05452072d18b4c75fa4db0
7
+ data.tar.gz: 901617e51fd3d9b5d0de4ec0c7da076ccf6aac7c5a96e5d93e481f15e660aabad6c72aedbd0d47bd4ef74485b1ffb05d92a95103de2a36da4f3ff82d4b8faadc
@@ -0,0 +1 @@
1
+ pkg
@@ -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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ok_computer-clamav (0.1.0)
4
+ ok_computer-clamav (1.0.0)
5
5
  okcomputer (>= 1.0.0)
6
6
 
7
7
  GEM
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", OkComputer::Clamav::ClamdCheck.new
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
@@ -1,7 +1,8 @@
1
1
  require "ok_computer/clamav/version"
2
+ require "ok_computer/clamav/clamd_check"
2
3
 
3
4
  module OkComputer
5
+ # Monitors ClamAV anti-virus.
4
6
  module Clamav
5
- # Your code goes here...
6
7
  end
7
8
  end
@@ -1,5 +1,5 @@
1
1
  module OkComputer
2
2
  module Clamav
3
- VERSION = "0.1.0"
3
+ VERSION = "1.0.0"
4
4
  end
5
5
  end
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: 0.1.0
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-10 00:00:00.000000000 Z
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