riemann-babbler 0.1.7 → 0.1.8

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.
@@ -44,6 +44,11 @@ module Riemann
44
44
  hostname
45
45
  end
46
46
 
47
+ # не запускаем плагин есть
48
+ def not_run_plugin
49
+ false
50
+ end
51
+
47
52
  def riemann
48
53
  @riemann ||= Riemann::Client.new(
49
54
  :host => options.riemann.host,
@@ -53,6 +58,7 @@ module Riemann
53
58
  alias :r :riemann
54
59
 
55
60
  def run
61
+ return 0 if not_run_plugin
56
62
  t0 = Time.now
57
63
  loop do
58
64
  begin
@@ -1,5 +1,5 @@
1
1
  module Riemann
2
2
  module Babbler
3
- VERSION = '0.1.7'
3
+ VERSION = '0.1.8'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: riemann-babbler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: