checkson 1.0 → 1.1
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/README.md +0 -0
- data/lib/checkson.rb +0 -0
- data/lib/checkson/apiclient.rb +3 -3
- data/lib/checkson/checks/base.rb +0 -0
- data/lib/checkson/checks/certificate.rb +1 -1
- data/lib/checkson/checks/dns.rb +0 -0
- data/lib/checkson/checks/packagemanagers/abstractpkgmgr.rb +0 -0
- data/lib/checkson/checks/packages.rb +0 -0
- data/lib/checkson/checks/process.rb +0 -0
- data/lib/checkson/checks/shell.rb +0 -0
- data/lib/checkson/config.rb +1 -0
- data/lib/checkson/context.rb +1 -0
- data/lib/checkson/ui.rb +0 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 487225f9e27bad53cab683c9175d1912624b59a44d93826e8bc660a1c88e1576
|
4
|
+
data.tar.gz: eb7a7cb7275ef5f1aa0adbda12db5198bb3e4ad324e7096669bcadece62eb749
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9131feeb3d00b6657503db2d745c66f5ccd7ea82ec0406ec3c9ad9d1bcfc1ff5c9cbaffd3e0cb1bae55d7274084e23e0e208d1aa4fc09a27bdc9faffd3ae1bf3
|
7
|
+
data.tar.gz: 7fcfdb63354519a6997f5da62479b065abd496329a39c5e18cc6a563638c6798abc3e2906c08552adbeb2608a11d04a3ee3bbd288dd12fb987290859d964369e
|
data/README.md
CHANGED
File without changes
|
data/lib/checkson.rb
CHANGED
File without changes
|
data/lib/checkson/apiclient.rb
CHANGED
@@ -10,8 +10,8 @@ require 'logger'
|
|
10
10
|
|
11
11
|
module Checkson
|
12
12
|
class APIClient
|
13
|
-
attr_reader :apiaddr
|
14
|
-
|
13
|
+
attr_reader :apiaddr, :outfile
|
14
|
+
|
15
15
|
def initialize(apiaddr, outfile)
|
16
16
|
@apiaddr = apiaddr
|
17
17
|
@outfile = outfile
|
@@ -51,7 +51,7 @@ module Checkson
|
|
51
51
|
private
|
52
52
|
|
53
53
|
def remove_empty_lines(string)
|
54
|
-
regex =
|
54
|
+
regex = /^\s]$\n/
|
55
55
|
string.gsub(regex, '')
|
56
56
|
end
|
57
57
|
|
data/lib/checkson/checks/base.rb
CHANGED
File without changes
|
@@ -24,8 +24,8 @@ module Checkson
|
|
24
24
|
|
25
25
|
def file_check
|
26
26
|
require 'openssl'
|
27
|
-
raw = File.read @opts[:certfile] if File.file? @opts[:certfile]
|
28
27
|
begin
|
28
|
+
raw = File.read @opts[:certfile] if File.file? @opts[:certfile]
|
29
29
|
certificate = OpenSSL::X509::Certificate.new raw
|
30
30
|
cert_check certificate
|
31
31
|
rescue StandardError
|
data/lib/checkson/checks/dns.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/lib/checkson/config.rb
CHANGED
data/lib/checkson/context.rb
CHANGED
data/lib/checkson/ui.rb
CHANGED
File without changes
|
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.
|
4
|
+
version: '1.1'
|
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-
|
11
|
+
date: 2020-12-12 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: A simple framework for checking node facts
|
14
14
|
email: florian@fsrv.xyz
|
@@ -43,14 +43,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
43
43
|
requirements:
|
44
44
|
- - ">="
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: '
|
46
|
+
version: '2.4'
|
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.
|
53
|
+
rubygems_version: 3.1.4
|
54
54
|
signing_key:
|
55
55
|
specification_version: 4
|
56
56
|
summary: A simple framework for checking
|