fluent-plugin-resque_stat 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |gem|
6
6
  gem.name = "fluent-plugin-resque_stat"
7
- gem.version = "0.0.2"
7
+ gem.version = "0.0.3"
8
8
  gem.authors = ["Spring_MT"]
9
9
  gem.email = ["today.is.sky.blue.sky@gmail.com"]
10
10
  gem.summary = %q{Fluent input plugin for Resque info}
@@ -40,8 +40,10 @@ module Fluent
40
40
  private
41
41
  def resque_each_line
42
42
  begin
43
- record = Resque.info
44
- tag = @tag
43
+ resque_stat = Resque.info
44
+ record = {}
45
+ record = resque_stat.each { |key, value| record[key.to_s] = value }
46
+ tag = @tag
45
47
  if tag
46
48
  Engine.emit(tag, Engine.now, record)
47
49
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-resque_stat
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: