fluent-plugin-to-simple-json-parser 0.0.1 → 0.0.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
  SHA256:
3
- metadata.gz: 613fac548807a69acaf809cc14cf5c936822be3b2d236da91b75fcd794c2dc5b
4
- data.tar.gz: 8314bd891b9d50e1530139a41ceef0a300fbad9c5907adda96079b2379873315
3
+ metadata.gz: fe839d8dc40c7c8a9558f17abea241e3009f5e29fdc24ca40869c50a4cfdbc6d
4
+ data.tar.gz: 56e2a69b6dcb9c18bbc1a838ba9ed05e127846f396f7d6e6d5f861223a1b3053
5
5
  SHA512:
6
- metadata.gz: 309f7d8c44367dcaa6590ff0dbc511abcdb9d644136e6a246d12ff67178221e4b318ff8ed942abe3c5e97480fb53401b28b03ae8173ace58f2018fe28f4024c0
7
- data.tar.gz: 04d1897f04ce473075be8272bf460cc746a86a2979c8aa87cd0da22fa36151b4e9603099468ee243b76e87c9f6f45d151865023903d8e7e66847b7b54e27ba0a
6
+ metadata.gz: d35de6d680bec15971d70a5c08d6c6776d5bf149f8fc0c0d92273e3157263d4c3ff07886385b95366d9ae3b85fc46662e32e3f6b6d62577725ea3e1b7280e154
7
+ data.tar.gz: daf07ecd538168f8ee7ad600d02ec36cf9860ea5ced57497d654a4de79eb9b099c831dfd46c45bc7f01915b924ad7153191f7a3ff86065e84120cddda48a48a1
@@ -3,7 +3,7 @@ $:.push File.expand_path('../lib', __FILE__)
3
3
 
4
4
  Gem::Specification.new do |gem|
5
5
  gem.name = 'fluent-plugin-to-simple-json-parser'
6
- gem.version = '0.0.1'
6
+ gem.version = '0.0.2'
7
7
  gem.authors = ['Al-waleed Shihadeh']
8
8
  gem.email = 'wshihadh@gmail.com'
9
9
  gem.homepage = 'https://github.com/shihadeh/fluent-plugin-to-simple-json-parser'
@@ -1,7 +1,7 @@
1
1
  require 'fluent/plugin/parser'
2
2
 
3
3
  module Fluent::Plugin
4
- class ToFlatJsonParser < JSONParser
4
+ class SimpleJsonParser < JSONParser
5
5
  Fluent::Plugin.register_parser("simple_json", self)
6
6
 
7
7
  config_param :separator, :string, default: '.'
@@ -1,11 +1,11 @@
1
1
  require 'helper'
2
2
  require 'fluent/test/driver/parser'
3
- require 'fluent/plugin/parser_to_flat_json'
3
+ require 'fluent/plugin/parser_simple_json'
4
4
 
5
5
  class ParserToFlatJson < Test::Unit::TestCase
6
6
  def setup
7
7
  Fluent::Test.setup
8
- @parser = Fluent::Test::Driver::Parser.new(Fluent::Plugin::ToFlatJsonParser)
8
+ @parser = Fluent::Test::Driver::Parser.new(Fluent::Plugin::SimpleJsonParser)
9
9
  end
10
10
 
11
11
  data('oj' => 'oj', 'yajl' => 'yajl')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-to-simple-json-parser
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
  - Al-waleed Shihadeh
@@ -65,9 +65,9 @@ files:
65
65
  - README.md
66
66
  - Rakefile
67
67
  - fluent-plugin-simple-json-parser.gemspec
68
- - lib/fluent/plugin/parser_to_flat_json.rb
68
+ - lib/fluent/plugin/parser_simple_json.rb
69
69
  - test/helper.rb
70
- - test/plugin/test_parser-to-flat-json.rb
70
+ - test/plugin/test_parser_simple_json.rb
71
71
  homepage: https://github.com/shihadeh/fluent-plugin-to-simple-json-parser
72
72
  licenses:
73
73
  - MIT
@@ -94,4 +94,4 @@ specification_version: 4
94
94
  summary: fluentd parser plugin to flatten nested json objects
95
95
  test_files:
96
96
  - test/helper.rb
97
- - test/plugin/test_parser-to-flat-json.rb
97
+ - test/plugin/test_parser_simple_json.rb