summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaku Ytti <saku@ytti.fi>2014-05-07 13:03:16 +0300
committerSaku Ytti <saku@ytti.fi>2014-05-07 13:03:16 +0300
commit59aa0a256b1d521ac8f7fdb088a46580efa2f28c (patch)
tree30b5234e2069ce6f59d53ff16492bd46d4231075
parent94926f53db8a7244f1af34e30607fdc2908ffa8e (diff)
Add support for node stats0.0.57
Bumpup gemspec
-rw-r--r--lib/oxidized/worker.rb1
-rw-r--r--oxidized.gemspec2
2 files changed, 2 insertions, 1 deletions
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 )