fluent-plugin-sakuraio 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c8ac6dfe36a59931ea5f9f2a53e4427932d27d57
4
- data.tar.gz: 4c9246561235e554ccc08767a68a46f91dbeff01
3
+ metadata.gz: 88678ef837d3289a1c316c2b532c5d848c962fe7
4
+ data.tar.gz: c5dbe0513449af18861ef7691eb7433c126f9d29
5
5
  SHA512:
6
- metadata.gz: d8c0b66f53bce14aa1488af100374d265f3bb0cedbccec08572fbdbf7ea62e9b8eb2e27ee3eb069d173cee90697d4941f10c6ac847521b3256e37331d0e5a46f
7
- data.tar.gz: be81c5c846761da7b7bc61a8cce4f627e72b55fc8ad14d5ee98c94c2aff1052dec04ad7094084193ddc5860fefecd2e97deee68110607cb2b389d4ff8f554575
6
+ metadata.gz: c93c20285c968dd13139bcda3547e2cd1fa8d88a7bf17298fb50c4dd4672a55808b43dbca5c04b14fbaee99e070046591a6921c479a006aaec93a47f551ddde9
7
+ data.tar.gz: 49d1bda1432c942c0a1a34e5ee042876c035670418c2227a713f3d31bd857b68c8870bb47f5e2d1a6fc4ac2ccabb97d4bf267f18c7ca79296104a8159b1a70ed
@@ -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-sakuraio'
7
- spec.version = '0.0.1'
7
+ spec.version = '0.0.2'
8
8
  spec.authors = ['Yuya Kusakabe']
9
9
  spec.email = ['yuya.kusakabe@gmail.com']
10
10
 
@@ -15,7 +15,6 @@ module Fluent::Plugin
15
15
  def configure(conf)
16
16
  super
17
17
 
18
- @parser = Yajl::Parser.new
19
18
  end
20
19
 
21
20
  def start
@@ -58,7 +57,8 @@ module Fluent::Plugin
58
57
  end
59
58
 
60
59
  def parse(text)
61
- j = @parser.parse(text)
60
+ parser = Yajl::Parser.new
61
+ j = parser.parse(text)
62
62
  records = []
63
63
  case j['type']
64
64
  when 'channels' then
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-sakuraio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yuya Kusakabe