monitoring-client 0.2.4 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -86,6 +86,16 @@ module Monitoring
86
86
 
87
87
  def load_config()
88
88
  @config = YAML.load_file(@config_fn)
89
+ [
90
+ :profiler_name,
91
+ ].each do |expected_key|
92
+ unless @config.has_key?(expected_key) &&
93
+ !@config[expected_key].nil? &&
94
+ !@config[expected_key].size > 0
95
+ die("Bad config at #{@config_fn}: "\
96
+ "Expected #{expected_key} to exist and not be blank")
97
+ end
98
+ end
89
99
  end
90
100
 
91
101
  def run()
@@ -1,5 +1,5 @@
1
1
  module Monitoring
2
2
  module Client
3
- VERSION = "0.2.4"
3
+ VERSION = "0.2.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: monitoring-client
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 4
10
- version: 0.2.4
9
+ - 5
10
+ version: 0.2.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Marc Bowes