checkson 1.1 → 1.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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +22 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 487225f9e27bad53cab683c9175d1912624b59a44d93826e8bc660a1c88e1576
4
- data.tar.gz: eb7a7cb7275ef5f1aa0adbda12db5198bb3e4ad324e7096669bcadece62eb749
3
+ metadata.gz: 3034c81ee8dcdfd2144f5717ce4aab906401e1073c59e1d0c74c48579d2d36e1
4
+ data.tar.gz: 639e559b5370aa20637b9f78bfbf81399bc3332035df17e4025308666d384890
5
5
  SHA512:
6
- metadata.gz: 9131feeb3d00b6657503db2d745c66f5ccd7ea82ec0406ec3c9ad9d1bcfc1ff5c9cbaffd3e0cb1bae55d7274084e23e0e208d1aa4fc09a27bdc9faffd3ae1bf3
7
- data.tar.gz: 7fcfdb63354519a6997f5da62479b065abd496329a39c5e18cc6a563638c6798abc3e2906c08552adbeb2608a11d04a3ee3bbd288dd12fb987290859d964369e
6
+ metadata.gz: 6a2084ae9a54298000135078937cfdf1036e773ad591caf3377bb49c0e625116a160ddbdcda5a091e56968d8fd98ee7fabe0aae8d47c381540b1ff85cb2aff98
7
+ data.tar.gz: 5dc0b857a5c2a429eeac127ed8769219682da575f2a8c52cea7bfe67947965ce0572110001e58c33430ffaa4c89c77a1173d8332f202f8b1709e4e572db6de46
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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: checkson
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.1'
4
+ version: '1.2'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Florian Bauer