fluent-plugin-elasticsearch 3.5.4 → 3.5.5

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
+ }
@@ -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.4
4
+ version: 3.5.5
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-31 00:00:00.000000000 Z
12
+ date: 2019-08-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: fluentd
@@ -135,6 +135,7 @@ files:
135
135
  - ".editorconfig"
136
136
  - ".gitignore"
137
137
  - ".travis.yml"
138
+ - CONTRIBUTING.md
138
139
  - Gemfile
139
140
  - History.md
140
141
  - ISSUE_TEMPLATE.md
@@ -181,8 +182,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
181
182
  - !ruby/object:Gem::Version
182
183
  version: '0'
183
184
  requirements: []
184
- rubyforge_project:
185
- rubygems_version: 2.7.3
185
+ rubygems_version: 3.0.3
186
186
  signing_key:
187
187
  specification_version: 4
188
188
  summary: Elasticsearch output plugin for Fluent event collector