perus 0.1.12 → 0.1.13

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
  SHA1:
3
- metadata.gz: 820c3e7205d8bb9dcceb2fd9d52ceeb76db9e39d
4
- data.tar.gz: 2ae3ddcda6b97e2c21c01d1fadef7dda294a7c62
3
+ metadata.gz: cba6a606d7b4de0dc9c1de7acf3f77b504ecc8e2
4
+ data.tar.gz: ecfc89824684d7340e5dcad9c5a4c37c74f2242b
5
5
  SHA512:
6
- metadata.gz: 968cf198e14eec35f27faf8b8f6e6a090524c1e6b5b9540197090449d570464dbcf2b113d4165fb3da4d895a37bd4439959b3a61a934c05dcbbcf44aa55ce961
7
- data.tar.gz: 31080180df8b4553f3b6cf2cc5073b830fdea47a95874cd10a784fbd35214297c8683bf571f150e2304ecc426987e67945c74529233d87d6e67fb0c0df07d517
6
+ metadata.gz: 5e0216550de7327f01a58a25facde55802f166532cd894930fdf422ca20eef908709f13e4952906cc9dc4994cc3f6054b38ce6d0332d7301572dbb2b2a682348
7
+ data.tar.gz: bfe4830fbfe10f75c71fab1537a03d49ec52668f5e0b91bb74337c5bc8533e474622bf0bbdf472b1700f1fb596aee2d7dee129be64369305ff4f0e1de94a4dad
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Perus
2
- VERSION = "0.1.12"
2
+ VERSION = "0.1.13"
3
3
  end
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.12
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: