fluent-plugin-grok-parser 2.1.3 → 2.1.4

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: 81e9e7db22e4262df86b7e9fd832ba8cb9b82a5f
4
- data.tar.gz: 6e7c3210287f264f86a5ee28d8e6a10b5714f41d
3
+ metadata.gz: c9d0d19c4e14ddb6d20cc30fce51ad12e8fc7b35
4
+ data.tar.gz: 9d74e54424dde5bc2db237c9c3472ddb74119005
5
5
  SHA512:
6
- metadata.gz: a5523e5b7fedd8e9a1f7d07223c5b6e7a546d71fbe502132a86ca2cfb01067a63a8e8e21d7e3a16d9a08d21227c04d4a4fb2d0502ce0189fe6e49556cce63124
7
- data.tar.gz: 0af251adce899635f0479411af832e3e125bdced10434d09e841b94d20b552cce2603a8106086711aa71d1aa962ff3d98cb97f5732a9600b3260054672102151
6
+ metadata.gz: 4ef02c0f2168481e7cb4dca8285f26ce350ea602b315fcec73a51cf74e96aa187a628f0693f99b7d6639474b06d81742c79b1a43780afd4e5e78eb83a748f88b
7
+ data.tar.gz: 23e27a34ef129cdbd290a95d6f5f37313e4f1da86295e5304f3fb94459e13e71b52e2c493940df55ebf520ce57499e4a0755e8ce70802b983d28f68e241f22ae
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "fluent-plugin-grok-parser"
7
- spec.version = "2.1.3"
7
+ spec.version = "2.1.4"
8
8
  spec.authors = ["kiyoto", "Kenji Okimoto"]
9
9
  spec.email = ["kiyoto@treasure-data.com", "okimoto@clear-code.com"]
10
10
  spec.summary = %q{Fluentd plugin to support Logstash-inspired Grok format for parsing logs}
@@ -35,7 +35,7 @@ module Fluent
35
35
  end
36
36
 
37
37
  def add_patterns_from_file(path)
38
- File.open(path, "r").each_line do |line|
38
+ File.open(path, "r:utf-8:utf-8").each_line do |line|
39
39
  next if line[0] == "#" || /^$/ =~ line
40
40
  name, pat = line.chomp.split(/\s+/, 2)
41
41
  @pattern_map[name] = pat
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-grok-parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.3
4
+ version: 2.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - kiyoto
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-03-22 00:00:00.000000000 Z
12
+ date: 2017-07-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -131,7 +131,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
131
131
  version: '0'
132
132
  requirements: []
133
133
  rubyforge_project:
134
- rubygems_version: 2.6.8
134
+ rubygems_version: 2.6.4
135
135
  signing_key:
136
136
  specification_version: 4
137
137
  summary: Fluentd plugin to support Logstash-inspired Grok format for parsing logs