From 59aa0a256b1d521ac8f7fdb088a46580efa2f28c Mon Sep 17 00:00:00 2001 From: Saku Ytti Date: Wed, 7 May 2014 13:03:16 +0300 Subject: Add support for node stats Bumpup gemspec --- lib/oxidized/worker.rb | 1 + oxidized.gemspec | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/oxidized/worker.rb b/lib/oxidized/worker.rb index a97e5da..58bf659 100644 --- a/lib/oxidized/worker.rb +++ b/lib/oxidized/worker.rb @@ -27,6 +27,7 @@ module Oxidized def process job node = job.node node.last = job + node.stats.add job @jobs.duration job.time if job.status == :success msg = "update #{node.name}" diff --git a/oxidized.gemspec b/oxidized.gemspec index 8934090..7e89ad7 100644 --- a/oxidized.gemspec +++ b/oxidized.gemspec @@ -1,6 +1,6 @@ Gem::Specification.new do |s| s.name = 'oxidized' - s.version = '0.0.56' + s.version = '0.0.57' s.platform = Gem::Platform::RUBY s.authors = [ 'Saku Ytti' ] s.email = %w( saku@ytti.fi ) -- cgit v1.2.1