Skip to content

Commit 4ebd647

Browse files
committed
renamed to key-value-parser
1 parent 56d78b6 commit 4ebd647

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

fluent-plugin-jsonify.gemspec

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
$:.push File.expand_path('../lib', __FILE__)
55

66
Gem::Specification.new do |spec|
7-
spec.name = "fluent-plugin-jsonify"
8-
spec.version = "0.1.1"
9-
spec.authors = ["arun mj"]
7+
spec.name = "fluent-plugin-keyvalue-parser"
8+
spec.version = "0.1.2"
9+
spec.authors = ["Arun M J"]
1010
spec.email = ["arunmj001@gmail.com"]
11-
spec.homepage = "https://github.com/arunmj/fluent-plugin-jsonify"
11+
spec.homepage = "https://github.com/arunmj/fluent-plugin-keyvalue-parser"
1212
spec.description = %q{Fluent parser plugin to parse key-value pairs}
1313
spec.summary = %q{Fluent parser plugin to parse key-value pairs}
1414
spec.license = "MIT"

lib/fluent/plugin/parser_jsonify.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66

77
module Fluent
88
class TextParser
9-
class JsonKeyValueParser < Parser
9+
class KeyValueParser < Parser
1010

1111
QUOTE = "\""
1212

13-
# Register this parser as "jsonify"
14-
Plugin.register_parser("jsonify", self)
13+
# Register this parser as "keyvalue"
14+
Plugin.register_parser("keyvalue", self)
1515

1616
config_param :pair_delimiter, :string, :default => " "
1717
config_param :key_value_seperator, :string, :default => ","

0 commit comments

Comments
 (0)