perus 0.1.12 → 0.1.13
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/lib/perus/pinger/pinger.rb +4 -0
- data/lib/perus/version.rb +1 -1
- metadata +1 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cba6a606d7b4de0dc9c1de7acf3f77b504ecc8e2
|
|
4
|
+
data.tar.gz: ecfc89824684d7340e5dcad9c5a4c37c74f2242b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5e0216550de7327f01a58a25facde55802f166532cd894930fdf422ca20eef908709f13e4952906cc9dc4994cc3f6054b38ce6d0332d7301572dbb2b2a682348
|
|
7
|
+
data.tar.gz: bfe4830fbfe10f75c71fab1537a03d49ec52668f5e0b91bb74337c5bc8533e474622bf0bbdf472b1700f1fb596aee2d7dee129be64369305ff4f0e1de94a4dad
|
data/lib/perus/pinger/pinger.rb
CHANGED
|
@@ -108,6 +108,10 @@ module Perus::Pinger
|
|
|
108
108
|
json['actions'] ||= []
|
|
109
109
|
@system_id = json['id']
|
|
110
110
|
|
|
111
|
+
if @system_id == 'nil'
|
|
112
|
+
raise 'This system is unknown to the server'
|
|
113
|
+
end
|
|
114
|
+
|
|
111
115
|
# load metric and command modules based on the config
|
|
112
116
|
json['metrics'].each do |config|
|
|
113
117
|
begin
|
data/lib/perus/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: perus
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.13
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Will Cannings
|
|
@@ -351,4 +351,3 @@ signing_key:
|
|
|
351
351
|
specification_version: 4
|
|
352
352
|
summary: Simple system overview server
|
|
353
353
|
test_files: []
|
|
354
|
-
has_rdoc:
|