checkson 1.1 → 1.7

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +22 -2
  3. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 487225f9e27bad53cab683c9175d1912624b59a44d93826e8bc660a1c88e1576
4
- data.tar.gz: eb7a7cb7275ef5f1aa0adbda12db5198bb3e4ad324e7096669bcadece62eb749
3
+ metadata.gz: cc5e6bd7748881bde7a523c9645d9c502b716f5168dd2f3e29f5c8632a533a84
4
+ data.tar.gz: e0e1d62cb540574a405737a30987cb58a68166ff77204ed712d60eb3183c1cc2
5
5
  SHA512:
6
- metadata.gz: 9131feeb3d00b6657503db2d745c66f5ccd7ea82ec0406ec3c9ad9d1bcfc1ff5c9cbaffd3e0cb1bae55d7274084e23e0e208d1aa4fc09a27bdc9faffd3ae1bf3
7
- data.tar.gz: 7fcfdb63354519a6997f5da62479b065abd496329a39c5e18cc6a563638c6798abc3e2906c08552adbeb2608a11d04a3ee3bbd288dd12fb987290859d964369e
6
+ metadata.gz: '0381debca399278571172183605fb46afa192399dd5783250e6c8529f61b140b022dc9bb71c30806e2f390dd4805f0354846e82fbcd77810d6895e11a602ec3f'
7
+ data.tar.gz: 4be97ee8ff73e507f6ee73bd2d4fc5105175221d0e664052c530b8efb09f4311d2573f6246dc80ee236d220849a19ea02684b51bf22834b9833acb04bcab0a13
data/README.md CHANGED
@@ -1,4 +1,24 @@
1
1
  # Checkson
2
- [![pipeline status](https://gitlab.fsrv.xyz/fsrv/checkson/badges/master/pipeline.svg)](https://gitlab.fsrv.xyz/fsrv/checkson/commits/master)
3
- [![Gem Version](https://badge.fury.io/rb/checkson.svg)](https://badge.fury.io/rb/checkson)
4
2
 
3
+ ## Basic information
4
+
5
+ Checkson is a simple framework for host and network checking. It supports multiple modules.
6
+
7
+ An example config will include multiple blocks, each for a singe test.
8
+
9
+ ## Example configuration
10
+
11
+ ```
12
+ check 'port 61000 is open' do
13
+ using Shell
14
+ set :code, %(sockstat -4 | grep \*:61000)
15
+ help 'Port 61000 is closed'
16
+ end
17
+
18
+ check 'ssh daemon is running' do
19
+ using Process
20
+ set :name, 'sshd'
21
+ help 'Enable and start sshd'
22
+ end
23
+
24
+ ```
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: checkson
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.1'
4
+ version: '1.7'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Bauer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-12 00:00:00.000000000 Z
11
+ date: 2021-02-07 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A simple framework for checking node facts
14
14
  email: florian@fsrv.xyz
@@ -31,7 +31,7 @@ files:
31
31
  - lib/checkson/config.rb
32
32
  - lib/checkson/context.rb
33
33
  - lib/checkson/ui.rb
34
- homepage: https://gitlab.fsrv.xyz/fsrv/checkson
34
+ homepage: https://gitlab.com/fsrvcorp/ruby-gems/checkson
35
35
  licenses:
36
36
  - BSD-3-Clause
37
37
  metadata: {}
@@ -43,14 +43,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - ">="
45
45
  - !ruby/object:Gem::Version
46
- version: '2.4'
46
+ version: '2.7'
47
47
  required_rubygems_version: !ruby/object:Gem::Requirement
48
48
  requirements:
49
49
  - - ">="
50
50
  - !ruby/object:Gem::Version
51
51
  version: '0'
52
52
  requirements: []
53
- rubygems_version: 3.1.4
53
+ rubygems_version: 3.2.3
54
54
  signing_key:
55
55
  specification_version: 4
56
56
  summary: A simple framework for checking