fluent-plugin-remote_syslog 0.2.0 → 0.2.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: 80a31ff74985627b20680fe0f01123d5c6c13047
4
- data.tar.gz: 45b99c0fb10f1d41d9de4db800e845e446db89a9
3
+ metadata.gz: bd23078029ff5ef89780c8ed6207b9afa4d73565
4
+ data.tar.gz: b0b4a7a643f782162235c03267b429427f64dd64
5
5
  SHA512:
6
- metadata.gz: 7183a6cb450fc870e94f2cae173af25eb678cfaa901a48be49d66a0833018f9a025adfd228f1091f7f9e113cdd7e68238d0745989def796f43f95672b0c6a861
7
- data.tar.gz: d4ee15488f773067acc64ea3c7dbbbb54b849782acb1973ca47747d0398035a17ed1c259e97e8112ae20619effeca82670e180d6d4204603684b313786b60909
6
+ metadata.gz: fa275f81dfb5d472385ae273363c67beaebdf5e894698cce1786b2400f1c3ad76b29aa9103ffe41c2e55c3e56aabb4ed43e1a64210251d13b05c0e0f36c8dbd5
7
+ data.tar.gz: d6336fabf9bf08b2928e0b4d2c4dc9dbef8facd98103980aa2202b07067a8cac5980a6955279532333fbcc6aea9ca8ce271588846db0ea0d1cc1e4fae2bfaaa7
@@ -1,3 +1,7 @@
1
+ ## 0.2.1
2
+
3
+ * Fix encoding issue
4
+
1
5
  ## 0.2.0
2
6
 
3
7
  * Integrate with `Fluent::Mixin::PlainTextFormatter`
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.0
1
+ 0.2.1
@@ -40,6 +40,12 @@ module Fluent
40
40
  def emit(tag, es, chain)
41
41
  chain.next
42
42
  es.each do |time, record|
43
+ record.each_pair do |k, v|
44
+ if v.is_a?(String)
45
+ v.force_encoding("utf-8")
46
+ end
47
+ end
48
+
43
49
  @logger.transmit format(tag, time, record)
44
50
  end
45
51
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-remote_syslog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Lee