fluent-plugin-chef-api 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a5a437bfdffbd90640638b24f56dc50fe53b0556
4
- data.tar.gz: 264b5c9139895281e37b8e7721c6865725ed2ced
3
+ metadata.gz: d287f1f95fd2b2bd19302647df982c1825cbbe64
4
+ data.tar.gz: 012b4378a8a7c71627bf5bbcee8c20fd50c919c2
5
5
  SHA512:
6
- metadata.gz: 4b3a869de40548d45a36b1e920a8073748766ca1d54448aeafc9c14d9cc9d9e1f1384877e06ecc4a9a6ef6c78ea264cd824c9e3305304ad73dd25d96d4232d51
7
- data.tar.gz: 751a8e26cf95900c18a28a76133c37dad594f2d4da5638a9c616f49efb7c204474f38adf8065ae6d7087dc1b61c4af21aa5066bdf0559afde0f0ed3cb2476288
6
+ metadata.gz: a5c12560f1413bbe8c47bbc9a3345af69dd578aeae4b2c625c91dce55986ac526fc7f9a55a5b229a301863e7f6c749db07250a5f3d35bbe683efcc704b9e2ed0
7
+ data.tar.gz: 5af7bb8e5e3e5cfd939e9b73330bfd286bb2c596289ad3957154b4e4d9edd6afc75f7afacc7166a889c5c567fdf418b28ee3241b7372ea3745acf412c2c3e99e
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "fluent-plugin-chef-api"
7
- spec.version = "0.3.1"
7
+ spec.version = "0.3.2"
8
8
  spec.authors = ["Yamashita Yuu"]
9
9
  spec.email = ["peek824545201@gmail.com"]
10
10
  spec.license = "Apache-2.0"
@@ -119,7 +119,7 @@ module Fluent
119
119
  nodes.each do |node|
120
120
  begin
121
121
  Engine.emit("#{@tag}.run_list", Engine.now, data.merge({"value" => node.run_list.length, "node" => node.name}))
122
- ohai_time = node.automatic.fetch("ohai_time").to_i
122
+ ohai_time = node.automatic.fetch("ohai_time", "0").to_i
123
123
  Engine.emit("#{@tag}.ohai_time", Engine.now, data.merge({"value" => ohai_time, "node" => node.name}))
124
124
  Engine.emit("#{@tag}.behind_seconds", Engine.now, data.merge({"value" => Time.new.to_i - ohai_time, "node" => node.name}))
125
125
  rescue => error
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-chef-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yamashita Yuu
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-11-27 00:00:00.000000000 Z
11
+ date: 2016-07-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -100,7 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
100
100
  version: '0'
101
101
  requirements: []
102
102
  rubyforge_project:
103
- rubygems_version: 2.4.5.1
103
+ rubygems_version: 2.5.1
104
104
  signing_key:
105
105
  specification_version: 4
106
106
  summary: A fluentd plugin for Chef's API