servicemonitor 0.2.6 → 0.2.7

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: c3c2cd1454cd3b3af560353ab27ce9ce00d37f8c
4
- data.tar.gz: 55bd409a06282535f38f2a968d83edcd02457215
3
+ metadata.gz: 8741fedf212a5f413ae48b7c4ca2ef30eadd8e75
4
+ data.tar.gz: 3e4280d175d63e406411425a79281ddd9ec3da2c
5
5
  SHA512:
6
- metadata.gz: ecf9b2f95dd3c305187f21889ffc437aa71592d6850c5639e081f6822c24343970f56962dee1e6e03aa600fe31353c8d78ccd34cbc47b583fcc0b36d14f38bb8
7
- data.tar.gz: 53b52745c197b8fe6e8db37a2072eca4380a6f607febdeb127989d33854e1cbb79192e16d9cd5a989e972a794e535bdd5a1d8d673081df5d2ddd1e60f554308a
6
+ metadata.gz: 554afa3807766adeb9d0cda26e98e876fb4dd9c56f3e36ec0ad973c6dfacd1226d10645bcff5bb8601d405d86974f4dc7185bfb220394f8b51eee54a993e85a0
7
+ data.tar.gz: b4582c275fca6f3e5a89b4523b0eb512898a04ed73f61440ee4aeb67e70f74c00a0c31c750f872da05b0d15e288d5c011ca8278ee716b22c8a89d13524f7810b
@@ -1,4 +1,3 @@
1
- require 'beanstalk-client'
2
1
  require 'monitor_type/threshold'
3
2
 
4
3
  # A Beanstalk class for checking how many msgs are in a Queue
@@ -33,5 +32,6 @@ class MonitorTypeBeanstalk < MonitorTypeThreshold
33
32
  end
34
33
 
35
34
  def beanstalk(params)
35
+ require 'beanstalk-client'
36
36
  $a.add(MonitorTypeBeanstalk.new(params))
37
37
  end
@@ -1,4 +1,3 @@
1
- require 'fluiddb2'
2
1
  require 'monitor_type/threshold'
3
2
 
4
3
  # A database class for checking a single number against a threshold.
@@ -67,5 +66,6 @@ class MonitorTypeFluidDb < MonitorTypeThreshold
67
66
  end
68
67
 
69
68
  def fluiddb(params)
69
+ require 'fluiddb2'
70
70
  $a.add(MonitorTypeFluidDb.new(params))
71
71
  end
@@ -1,4 +1,3 @@
1
- require 'restclient'
2
1
  require 'monitor_type/threshold'
3
2
 
4
3
  # An http class for checking the length of a json list.
@@ -49,5 +48,6 @@ class MonitorTypeHttpGetJsonList < MonitorTypeThreshold
49
48
  end
50
49
 
51
50
  def httpgetjsonlist(params)
51
+ require 'restclient'
52
52
  $a.add(MonitorTypeHttpGetJsonList.new(params))
53
53
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: servicemonitor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guy Irvine
@@ -46,7 +46,7 @@ files:
46
46
  - bin/servicemonitor
47
47
  - LICENSE
48
48
  - README.md
49
- homepage: http://rubygems.org/gems/servicemonitor
49
+ homepage: https://github.com/guyirvine/ServiceMonitor
50
50
  licenses:
51
51
  - LGPL-3.0
52
52
  metadata: {}