riemann-babbler 0.1.8 → 0.1.9

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.
@@ -45,8 +45,8 @@ module Riemann
45
45
  end
46
46
 
47
47
  # не запускаем плагин есть
48
- def not_run_plugin
49
- false
48
+ def run_plugin
49
+ true
50
50
  end
51
51
 
52
52
  def riemann
@@ -58,7 +58,8 @@ module Riemann
58
58
  alias :r :riemann
59
59
 
60
60
  def run
61
- return 0 if not_run_plugin
61
+ # выйти если run_plugin не равен true
62
+ return 0 unless run_plugin == true
62
63
  t0 = Time.now
63
64
  loop do
64
65
  begin
@@ -1,5 +1,5 @@
1
1
  module Riemann
2
2
  module Babbler
3
- VERSION = '0.1.8'
3
+ VERSION = '0.1.9'
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.8
4
+ version: 0.1.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: