riemann-babbler 2.0.0pre9 → 2.0.0pre10

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- riemann-babbler (2.0.0pre8)
4
+ riemann-babbler (2.0.0pre10)
5
5
  configatron
6
6
  docile
7
7
  file-tail
@@ -95,15 +95,15 @@ module Riemann
95
95
 
96
96
  started_plugins = []
97
97
 
98
- plugin_names_to_run = (AUTO_START +
99
- opts.plugins.to_hash.keys.map { |name| name.to_s }).uniq
98
+ plugin_names_to_run = AUTO_START +
99
+ opts.plugins.to_hash.keys.map { |name| name.to_s }
100
100
 
101
101
  require_all_plugins!
102
102
 
103
- plugin_names_to_run = (plugin_names_to_run +
104
- load_plugin_names_from_config.map {|name| name.to_s}).uniq
103
+ plugin_names_to_run = plugin_names_to_run +
104
+ load_plugin_names_from_config.map {|name| name.to_s}
105
105
 
106
- plugin_names_to_run = plugin_names_to_run - delete_from_autostart
106
+ plugin_names_to_run = (plugin_names_to_run - delete_from_autostart).uniq
107
107
 
108
108
  Riemann::Babbler::Plugin.registered_plugins.each do |klass|
109
109
  if plugin_names_to_run.include? name_to_underscore(klass.to_s)
@@ -10,13 +10,11 @@ module Riemann
10
10
  include Riemann::Babbler::Logging
11
11
  include Riemann::Babbler::Options
12
12
 
13
- attr_accessor :port, :errors, :config, :started_at
13
+ attr_accessor :port, :started_at
14
14
 
15
15
  def initialize
16
16
  @port = opts.riemann.responder_port
17
17
  @started_at = Time.now.to_i
18
- @errors = opts.errors
19
- @config = opts.riemann
20
18
  end
21
19
 
22
20
  def info
@@ -24,8 +22,8 @@ module Riemann
24
22
  :version => Riemann::Babbler::VERSION,
25
23
  :ruby => "#{RUBY_VERSION}-#{RUBY_PATCHLEVEL}",
26
24
  :uptime => Time.now.to_i - started_at,
27
- :errors => errors.to_hash,
28
- :config => config.to_hash
25
+ :errors => opts.errors.to_hash,
26
+ :config => opts.riemann.to_hash
29
27
  }
30
28
  end
31
29
 
@@ -1,5 +1,5 @@
1
1
  module Riemann
2
2
  module Babbler
3
- VERSION = '2.0.0pre9'
3
+ VERSION = '2.0.0pre10'
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: 2.0.0pre9
4
+ version: 2.0.0pre10
5
5
  prerelease: 5
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-10-28 00:00:00.000000000 Z
12
+ date: 2013-10-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: riemann-client
@@ -285,6 +285,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
285
285
  - - ! '>='
286
286
  - !ruby/object:Gem::Version
287
287
  version: '0'
288
+ segments:
289
+ - 0
290
+ hash: -2904417507755726452
288
291
  required_rubygems_version: !ruby/object:Gem::Requirement
289
292
  none: false
290
293
  requirements:
@@ -298,4 +301,3 @@ signing_key:
298
301
  specification_version: 3
299
302
  summary: Monitoring tool for riemann server, aka plugin manager
300
303
  test_files: []
301
- has_rdoc: