lib/riemann/babbler/plugin_loader.rb in riemann-babbler-2.0.0pre4 vs lib/riemann/babbler/plugin_loader.rb in riemann-babbler-2.0.0pre5

- old
+ new

@@ -59,10 +59,10 @@ end end end def run! - plugin_names_to_run = AUTO_START + opts.plugins.to_hash.keys + plugin_names_to_run = AUTO_START + opts.plugins.to_hash.keys.map {|name| name.to_s} require_all_plugins started_plugins = [] Riemann::Babbler::Plugin.registered_plugins.each do |klass| if plugin_names_to_run.include? name_to_underscore(klass.to_s) started_plugins << klass