fluent-plugin-json-in-json 0.1.0 → 0.1.1

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: 22d02005d2dde79e0ef7c01b4db06b6076a06468
4
- data.tar.gz: 3f36a2d94fa601d30b4635a0a18b439ce249c6a5
3
+ metadata.gz: 1f1aad697ed594bcb1556ae258ad2e7f44fc5296
4
+ data.tar.gz: 8e8a0a7cafe108221b0aaf0c09236ce0bfc71da8
5
5
  SHA512:
6
- metadata.gz: b18ba7f61d62fe002539ed24d1c8dd3dc6292306495aabdc86c5e5f50010446b05ac225438e87619f6bd0056e8b3881822d3c3f45d3870aa84ee9f8c6c6ccf27
7
- data.tar.gz: ff7cb945fcc1d6e21c2d170b0a9064b19076be387e7df89c3489fb2b3201a24fe12c1c15111e68aac52e99ff9b7b362a3294c5e873a247a4310bac32ad7e3ed5
6
+ metadata.gz: 51479eb81a3a15419223ab0a6396e9544a22bb224eed82608d6dea35cfb43f84fbb61e109606c30b6781ceff99305ebaddf8ae4050ce9419e067d72fb8a29376
7
+ data.tar.gz: 38d748b629dd0ae0ee5a93151ef14e7c61db581ac143d180806b3638e9787e96ab5351004328afd14e2c8978497b046eba79ba989e1cdd69f20a54bbe00b728a
@@ -1,7 +1,7 @@
1
1
  # coding: utf-8
2
2
  Gem::Specification.new do |spec|
3
3
  spec.name = "fluent-plugin-json-in-json"
4
- spec.version = "0.1.0"
4
+ spec.version = "0.1.1"
5
5
  spec.authors = ["Gavin M. Roy"]
6
6
  spec.email = ["gavinmroy@gmail.com"]
7
7
  spec.description = %q{Parser plugin that parses JSON attributes with JSON strings in them}
@@ -3,6 +3,8 @@ require 'yajl'
3
3
  module Fluent
4
4
  class TextParser
5
5
  class JSONInJSONParser < JSONParser
6
+ Fluent::Plugin.register_parser('json_in_json', self)
7
+
6
8
  def parse(text)
7
9
  record = Yajl.load(text)
8
10
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-json-in-json
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gavin M. Roy