fluent-plugin-to_js 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: a0bef3040140db7c847bb165f1321c4b58a92196
4
- data.tar.gz: a695b9692e33203cc4fea24b215eb6f09c8c2289
3
+ metadata.gz: 41c139e881be240d76c2474d963687b5ffd669be
4
+ data.tar.gz: 8f2cc0ec28cc0830a3f6a9c4387ce841c60c9df9
5
5
  SHA512:
6
- metadata.gz: 8f0ef0dfafe7a6071e9907f22ad4f7554834ee0f8f7eea4acd8030200a245184a76186d94996f1fc3a37f10f629f5f33fa65a3bec0927925eeeb0683a9d767d2
7
- data.tar.gz: dfcfc97bec28d4707bc5f7199a8ec8cf8d7bad1aa8b332c26b54a7a5b651f8b60cb994845e618fbaf8d8b3b3a7f11895aa356371b370bd6c9d0504f526a9ee5c
6
+ metadata.gz: 57ab7c5327e25157d9c2c30dad424bf6865aa06476cb6fdc5110f63414c00432c5afb559bd8927c762dc468142a639f94992f08630b4911213c1c2c4ce379680
7
+ data.tar.gz: 55b849d99ddb53d143ddce832a6adbc0f7f98d00daae683b4df53275bd3f0ff4a202d861e47190861c794f853f04eb9d889dde4abd99f0e7e09f7312f2399eb5
data/README.md CHANGED
@@ -12,8 +12,7 @@ gem install fluent-plugin-to_js
12
12
 
13
13
  ```xml
14
14
  <match test.**>
15
- type to_s
16
- tag_prefix string
15
+ @type tojstr
17
16
  field_name to_string
18
17
  </match>
19
18
  ```
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "fluent-plugin-to_js"
8
- spec.version = "0.0.1"
8
+ spec.version = "0.0.2"
9
9
  spec.authors = ["dixen"]
10
10
  spec.email = ["dixentw@gmail.com"]
11
11
  spec.description = %q{Plugin that adds whole record to to_s field, json format}
@@ -1,7 +1,7 @@
1
1
  class Fluent::ToSFilter < Fluent::Filter
2
- Fluent::Plugin.register_filter('to_jstr', self)
2
+ Fluent::Plugin.register_filter('toJstr', self)
3
3
 
4
- config_param :field_name, :string, :default => 'to_s'
4
+ config_param :field_name, :string, :default => 'to_json'
5
5
 
6
6
  def configure(conf)
7
7
  super
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-to_js
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
  - dixen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-16 00:00:00.000000000 Z
11
+ date: 2016-02-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -65,7 +65,7 @@ files:
65
65
  - README.md
66
66
  - Rakefile
67
67
  - fluent-plugin-to_s.gemspec
68
- - lib/fluent/plugin/parse_to_j.rb
68
+ - lib/fluent/plugin/parse_tojstr.rb
69
69
  - test/helper.rb
70
70
  - test/plugin/test_out_to_s.rb
71
71
  homepage: https://github.com/dixentw/fluent-plugin-to_s