fluent-plugin-elasticsearch 3.5.3 → 3.5.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,23 +1,23 @@
1
- {
2
- "template": "te*",
3
- "settings": {
4
- "number_of_shards": 1
5
- },
6
- "mappings": {
7
- "type1": {
8
- "_source": {
9
- "enabled": false
10
- },
11
- "properties": {
12
- "host_name": {
13
- "type": "string",
14
- "index": "not_analyzed"
15
- },
16
- "created_at": {
17
- "type": "date",
18
- "format": "EEE MMM dd HH:mm:ss Z YYYY"
19
- }
20
- }
21
- }
22
- }
23
- }
1
+ {
2
+ "template": "te*",
3
+ "settings": {
4
+ "number_of_shards": 1
5
+ },
6
+ "mappings": {
7
+ "type1": {
8
+ "_source": {
9
+ "enabled": false
10
+ },
11
+ "properties": {
12
+ "host_name": {
13
+ "type": "string",
14
+ "index": "not_analyzed"
15
+ },
16
+ "created_at": {
17
+ "type": "date",
18
+ "format": "EEE MMM dd HH:mm:ss Z YYYY"
19
+ }
20
+ }
21
+ }
22
+ }
23
+ }
data/test/test_log-ext.rb CHANGED
@@ -1,35 +1,35 @@
1
- require 'helper'
2
- require 'fluent/log-ext'
3
-
4
- class TestFluentLogExtHandler < Test::Unit::TestCase
5
- def setup
6
- @log_device = Fluent::Test::DummyLogDevice.new
7
- dl_opts = {:log_level => ServerEngine::DaemonLogger::INFO}
8
- logger = ServerEngine::DaemonLogger.new(@log_device, dl_opts)
9
- @log = Fluent::Log.new(logger)
10
- end
11
-
12
- def test_trace?
13
- assert_false @log.respond_to?(:trace?)
14
- end
15
-
16
- def test_debug?
17
- assert_true @log.respond_to?(:debug?)
18
- end
19
-
20
- def test_info?
21
- assert_true @log.respond_to?(:info?)
22
- end
23
-
24
- def test_warn?
25
- assert_true @log.respond_to?(:warn?)
26
- end
27
-
28
- def test_error?
29
- assert_true @log.respond_to?(:error?)
30
- end
31
-
32
- def test_fatal?
33
- assert_true @log.respond_to?(:fatal?)
34
- end
35
- end
1
+ require 'helper'
2
+ require 'fluent/log-ext'
3
+
4
+ class TestFluentLogExtHandler < Test::Unit::TestCase
5
+ def setup
6
+ @log_device = Fluent::Test::DummyLogDevice.new
7
+ dl_opts = {:log_level => ServerEngine::DaemonLogger::INFO}
8
+ logger = ServerEngine::DaemonLogger.new(@log_device, dl_opts)
9
+ @log = Fluent::Log.new(logger)
10
+ end
11
+
12
+ def test_trace?
13
+ assert_false @log.respond_to?(:trace?)
14
+ end
15
+
16
+ def test_debug?
17
+ assert_true @log.respond_to?(:debug?)
18
+ end
19
+
20
+ def test_info?
21
+ assert_true @log.respond_to?(:info?)
22
+ end
23
+
24
+ def test_warn?
25
+ assert_true @log.respond_to?(:warn?)
26
+ end
27
+
28
+ def test_error?
29
+ assert_true @log.respond_to?(:error?)
30
+ end
31
+
32
+ def test_fatal?
33
+ assert_true @log.respond_to?(:fatal?)
34
+ end
35
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-elasticsearch
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.3
4
+ version: 3.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - diogo
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2019-07-24 00:00:00.000000000 Z
12
+ date: 2019-07-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fluentd
@@ -181,7 +181,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
181
181
  - !ruby/object:Gem::Version
182
182
  version: '0'
183
183
  requirements: []
184
- rubygems_version: 3.0.1
184
+ rubyforge_project:
185
+ rubygems_version: 2.7.3
185
186
  signing_key:
186
187
  specification_version: 4
187
188
  summary: Elasticsearch output plugin for Fluent event collector