fluent-plugin-text_to_json 0.1.48 → 0.1.49

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: c0a72801522cdfd8074b76002690f30636bfa068
4
- data.tar.gz: 1bf690a2fff88bb2760c9c4ea87b827ddf340f14
3
+ metadata.gz: f04884eb1127748309db93185f665ca8fb7f473b
4
+ data.tar.gz: 63b1010de68a75842e8edd9daa2cf337ea976bdd
5
5
  SHA512:
6
- metadata.gz: 442568ec90e173a73235b1f1a902207799b3e4a27d3ffeafcdc2bf5dc9cac8157d0e9467d6a1422d6d0f119122a59cb67ef7240805afb47056178f7ebcc585c0
7
- data.tar.gz: 038b922766372b8ad267a23777de94329337d9e8720ba1f7946af9feef3108b55c6c724fac4c7f273668150d49c239c559ad7ff97da5bc174de88c501b3cf27c
6
+ metadata.gz: 3b7489e3a15168f5da58be407347e01015d2aafc3ed203519e82188ecc9d5127db4f1b9419d4d32f7d3ba8b7688b9da5fcf6d6f28747158334c50f3224d9a6e2
7
+ data.tar.gz: 3ad712802f014e6bae6dca2081552a577488206ad9399f7574794a00fcd8903e401844a6124bbb50d16198a93e5de3d97aafb98bf9ac07d522d9a0dcca0f81da
@@ -22,7 +22,7 @@ module Fluent
22
22
 
23
23
 
24
24
  #sdr parameters to json format
25
- tmp_field[0] = tmp_field[0].split("\\\\n")
25
+ tmp_field[0] = tmp_field[0].split("\\n")
26
26
  tmp_field[0] = tmp_field[0].map{|value| (value == "")? nil:value} # HBase plugin ignores nil values
27
27
  tmp_field[0] = tmp_field[0].map{|value| (value == nil)? nil:"\""+value+"\""}
28
28
 
@@ -32,7 +32,7 @@ module Fluent
32
32
 
33
33
  #factor paramters to json format
34
34
  #Set factor ID as a second field's name
35
- head, *tail = tmp_field[1].split("\\\\n")
35
+ head, *tail = tmp_field[1].split("\\n")
36
36
  head = head.split("|")
37
37
  head = head.map{|field| "\""+field+"\""}
38
38
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-text_to_json
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.48
4
+ version: 0.1.49
5
5
  platform: ruby
6
6
  authors:
7
7
  - minwoo lee