fluentd 1.12.0-x86-mingw32 → 1.13.0-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of fluentd might be problematic. Click here for more details.

Files changed (82) hide show
  1. checksums.yaml +4 -4
  2. data/.deepsource.toml +13 -0
  3. data/.github/ISSUE_TEMPLATE/config.yml +2 -2
  4. data/.github/workflows/linux-test.yaml +36 -0
  5. data/.github/workflows/macos-test.yaml +30 -0
  6. data/.github/workflows/windows-test.yaml +46 -0
  7. data/.gitlab-ci.yml +41 -19
  8. data/CHANGELOG.md +164 -2
  9. data/CONTRIBUTING.md +2 -2
  10. data/MAINTAINERS.md +5 -2
  11. data/README.md +7 -4
  12. data/example/counter.conf +1 -1
  13. data/fluentd.gemspec +5 -4
  14. data/lib/fluent/command/bundler_injection.rb +1 -1
  15. data/lib/fluent/command/ca_generate.rb +6 -3
  16. data/lib/fluent/command/cat.rb +19 -4
  17. data/lib/fluent/command/fluentd.rb +5 -2
  18. data/lib/fluent/command/plugin_config_formatter.rb +16 -1
  19. data/lib/fluent/command/plugin_generator.rb +31 -1
  20. data/lib/fluent/compat/parser.rb +2 -2
  21. data/lib/fluent/config/section.rb +2 -2
  22. data/lib/fluent/config/types.rb +2 -2
  23. data/lib/fluent/event.rb +3 -13
  24. data/lib/fluent/load.rb +0 -1
  25. data/lib/fluent/log.rb +1 -0
  26. data/lib/fluent/plugin/file_wrapper.rb +49 -4
  27. data/lib/fluent/plugin/formatter_ltsv.rb +2 -2
  28. data/lib/fluent/plugin/in_http.rb +11 -1
  29. data/lib/fluent/plugin/in_monitor_agent.rb +1 -1
  30. data/lib/fluent/plugin/in_tail.rb +141 -41
  31. data/lib/fluent/plugin/in_tail/position_file.rb +15 -1
  32. data/lib/fluent/plugin/out_copy.rb +18 -5
  33. data/lib/fluent/plugin/out_exec_filter.rb +3 -3
  34. data/lib/fluent/plugin/out_forward.rb +74 -58
  35. data/lib/fluent/plugin/out_http.rb +9 -2
  36. data/lib/fluent/plugin/output.rb +11 -9
  37. data/lib/fluent/plugin/parser_csv.rb +2 -2
  38. data/lib/fluent/plugin/parser_syslog.rb +2 -2
  39. data/lib/fluent/plugin/storage_local.rb +4 -4
  40. data/lib/fluent/plugin_helper/server.rb +4 -2
  41. data/lib/fluent/plugin_helper/service_discovery.rb +39 -1
  42. data/lib/fluent/plugin_helper/service_discovery/manager.rb +11 -5
  43. data/lib/fluent/plugin_helper/socket_option.rb +2 -2
  44. data/lib/fluent/supervisor.rb +28 -5
  45. data/lib/fluent/system_config.rb +16 -1
  46. data/lib/fluent/time.rb +57 -1
  47. data/lib/fluent/version.rb +1 -1
  48. data/templates/new_gem/fluent-plugin.gemspec.erb +3 -3
  49. data/templates/plugin_config_formatter/param.md-table.erb +10 -0
  50. data/test/command/test_cat.rb +96 -0
  51. data/test/command/test_fluentd.rb +38 -0
  52. data/test/command/test_plugin_config_formatter.rb +67 -0
  53. data/test/config/test_configurable.rb +1 -1
  54. data/test/config/test_system_config.rb +46 -0
  55. data/test/plugin/in_tail/test_io_handler.rb +4 -4
  56. data/test/plugin/in_tail/test_position_file.rb +59 -5
  57. data/test/plugin/test_file_wrapper.rb +115 -0
  58. data/test/plugin/test_in_exec.rb +1 -1
  59. data/test/plugin/test_in_http.rb +15 -0
  60. data/test/plugin/test_in_tail.rb +309 -26
  61. data/test/plugin/test_out_copy.rb +87 -0
  62. data/test/plugin/test_out_forward.rb +104 -11
  63. data/test/plugin/test_out_http.rb +20 -1
  64. data/test/plugin/test_output.rb +15 -3
  65. data/test/plugin/test_output_as_buffered_backup.rb +2 -0
  66. data/test/plugin/test_parser_csv.rb +14 -0
  67. data/test/plugin/test_parser_syslog.rb +14 -0
  68. data/test/plugin/test_sd_file.rb +1 -1
  69. data/test/plugin_helper/service_discovery/test_manager.rb +1 -1
  70. data/test/plugin_helper/test_child_process.rb +5 -2
  71. data/test/plugin_helper/test_http_server_helper.rb +4 -2
  72. data/test/plugin_helper/test_server.rb +26 -7
  73. data/test/plugin_helper/test_service_discovery.rb +74 -14
  74. data/test/test_config.rb +2 -1
  75. data/test/test_event.rb +16 -0
  76. data/test/test_formatter.rb +30 -0
  77. data/test/test_output.rb +2 -2
  78. data/test/test_supervisor.rb +66 -0
  79. data/test/test_time_parser.rb +109 -0
  80. metadata +58 -31
  81. data/.travis.yml +0 -77
  82. data/appveyor.yml +0 -31
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluentd
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.12.0
4
+ version: 1.13.0
5
5
  platform: x86-mingw32
6
6
  authors:
7
7
  - Sadayuki Furuhashi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-05 00:00:00.000000000 Z
11
+ date: 2021-05-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -186,20 +186,60 @@ dependencies:
186
186
  - - "<"
187
187
  - !ruby/object:Gem::Version
188
188
  version: 1.0.0
189
+ - !ruby/object:Gem::Dependency
190
+ name: webrick
191
+ requirement: !ruby/object:Gem::Requirement
192
+ requirements:
193
+ - - ">="
194
+ - !ruby/object:Gem::Version
195
+ version: 1.4.2
196
+ - - "<"
197
+ - !ruby/object:Gem::Version
198
+ version: 1.8.0
199
+ type: :runtime
200
+ prerelease: false
201
+ version_requirements: !ruby/object:Gem::Requirement
202
+ requirements:
203
+ - - ">="
204
+ - !ruby/object:Gem::Version
205
+ version: 1.4.2
206
+ - - "<"
207
+ - !ruby/object:Gem::Version
208
+ version: 1.8.0
209
+ - !ruby/object:Gem::Dependency
210
+ name: win32-api
211
+ requirement: !ruby/object:Gem::Requirement
212
+ requirements:
213
+ - - ">="
214
+ - !ruby/object:Gem::Version
215
+ version: '1.10'
216
+ - - "<"
217
+ - !ruby/object:Gem::Version
218
+ version: 2.0.0
219
+ type: :runtime
220
+ prerelease: false
221
+ version_requirements: !ruby/object:Gem::Requirement
222
+ requirements:
223
+ - - ">="
224
+ - !ruby/object:Gem::Version
225
+ version: '1.10'
226
+ - - "<"
227
+ - !ruby/object:Gem::Version
228
+ version: 2.0.0
189
229
  - !ruby/object:Gem::Dependency
190
230
  name: win32-service
191
231
  requirement: !ruby/object:Gem::Requirement
192
232
  requirements:
193
233
  - - "~>"
194
234
  - !ruby/object:Gem::Version
195
- version: 2.1.5
235
+ version: 2.2.0
196
236
  type: :runtime
197
237
  prerelease: false
198
238
  version_requirements: !ruby/object:Gem::Requirement
199
239
  requirements:
200
240
  - - "~>"
201
241
  - !ruby/object:Gem::Version
202
- version: 2.1.5
242
+ version: 2.2.0
203
243
  - !ruby/object:Gem::Dependency
204
244
  name: win32-ipc
205
245
  requirement: !ruby/object:Gem::Requirement
@@ -318,14 +358,14 @@ dependencies:
318
358
  requirements:
319
359
  - - "~>"
320
360
  - !ruby/object:Gem::Version
321
- version: '1.0'
361
+ version: '3.0'
322
362
  type: :development
323
363
  prerelease: false
324
364
  version_requirements: !ruby/object:Gem::Requirement
325
365
  requirements:
326
366
  - - "~>"
327
367
  - !ruby/object:Gem::Version
328
- version: '1.0'
368
+ version: '3.0'
329
369
  - !ruby/object:Gem::Dependency
330
370
  name: timecop
331
371
  requirement: !ruby/object:Gem::Requirement
@@ -388,40 +428,20 @@ dependencies:
388
428
  - - "<"
389
429
  - !ruby/object:Gem::Version
390
430
  version: '4'
391
- - !ruby/object:Gem::Dependency
392
- name: ext_monitor
393
- requirement: !ruby/object:Gem::Requirement
394
- requirements:
395
- - - ">="
396
- - !ruby/object:Gem::Version
397
- version: 0.1.2
398
- - - "<"
399
- - !ruby/object:Gem::Version
400
- version: '0.2'
401
- type: :development
402
- prerelease: false
403
- version_requirements: !ruby/object:Gem::Requirement
404
- requirements:
405
- - - ">="
406
- - !ruby/object:Gem::Version
407
- version: 0.1.2
408
- - - "<"
409
- - !ruby/object:Gem::Version
410
- version: '0.2'
411
431
  - !ruby/object:Gem::Dependency
412
432
  name: async-http
413
433
  requirement: !ruby/object:Gem::Requirement
414
434
  requirements:
415
435
  - - ">="
416
436
  - !ruby/object:Gem::Version
417
- version: '0'
437
+ version: 0.50.0
418
438
  type: :development
419
439
  prerelease: false
420
440
  version_requirements: !ruby/object:Gem::Requirement
421
441
  requirements:
422
442
  - - ">="
423
443
  - !ruby/object:Gem::Version
424
- version: '0'
444
+ version: 0.50.0
425
445
  description: Fluentd is an open source data collector designed to scale and simplify
426
446
  log management. It can collect, process and ship many kinds of data in near real-time.
427
447
  email:
@@ -440,6 +460,7 @@ executables:
440
460
  extensions: []
441
461
  extra_rdoc_files: []
442
462
  files:
463
+ - ".deepsource.toml"
443
464
  - ".drone.yml"
444
465
  - ".github/ISSUE_TEMPLATE.md"
445
466
  - ".github/ISSUE_TEMPLATE/bug_report.md"
@@ -447,10 +468,12 @@ files:
447
468
  - ".github/ISSUE_TEMPLATE/feature_request.md"
448
469
  - ".github/PULL_REQUEST_TEMPLATE.md"
449
470
  - ".github/workflows/issue-auto-closer.yml"
471
+ - ".github/workflows/linux-test.yaml"
472
+ - ".github/workflows/macos-test.yaml"
450
473
  - ".github/workflows/stale-actions.yml"
474
+ - ".github/workflows/windows-test.yaml"
451
475
  - ".gitignore"
452
476
  - ".gitlab-ci.yml"
453
- - ".travis.yml"
454
477
  - ADOPTERS.md
455
478
  - AUTHORS
456
479
  - CHANGELOG.md
@@ -462,7 +485,6 @@ files:
462
485
  - MAINTAINERS.md
463
486
  - README.md
464
487
  - Rakefile
465
- - appveyor.yml
466
488
  - bin/fluent-binlog-reader
467
489
  - bin/fluent-ca-generate
468
490
  - bin/fluent-cap-ctl
@@ -764,11 +786,13 @@ files:
764
786
  - templates/new_gem/test/plugin/test_output.rb.erb
765
787
  - templates/new_gem/test/plugin/test_parser.rb.erb
766
788
  - templates/plugin_config_formatter/param.md-compact.erb
789
+ - templates/plugin_config_formatter/param.md-table.erb
767
790
  - templates/plugin_config_formatter/param.md.erb
768
791
  - templates/plugin_config_formatter/section.md.erb
769
792
  - test/command/test_binlog_reader.rb
770
793
  - test/command/test_ca_generate.rb
771
794
  - test/command/test_cap_ctl.rb
795
+ - test/command/test_cat.rb
772
796
  - test/command/test_ctl.rb
773
797
  - test/command/test_fluentd.rb
774
798
  - test/command/test_plugin_config_formatter.rb
@@ -827,6 +851,7 @@ files:
827
851
  - test/plugin/test_buffer_memory_chunk.rb
828
852
  - test/plugin/test_compressable.rb
829
853
  - test/plugin/test_file_util.rb
854
+ - test/plugin/test_file_wrapper.rb
830
855
  - test/plugin/test_filter.rb
831
856
  - test/plugin/test_filter_grep.rb
832
857
  - test/plugin/test_filter_parser.rb
@@ -998,7 +1023,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
998
1023
  - !ruby/object:Gem::Version
999
1024
  version: '0'
1000
1025
  requirements: []
1001
- rubygems_version: 3.0.3
1026
+ rubygems_version: 3.2.5
1002
1027
  signing_key:
1003
1028
  specification_version: 4
1004
1029
  summary: Fluentd event collector
@@ -1006,6 +1031,7 @@ test_files:
1006
1031
  - test/command/test_binlog_reader.rb
1007
1032
  - test/command/test_ca_generate.rb
1008
1033
  - test/command/test_cap_ctl.rb
1034
+ - test/command/test_cat.rb
1009
1035
  - test/command/test_ctl.rb
1010
1036
  - test/command/test_fluentd.rb
1011
1037
  - test/command/test_plugin_config_formatter.rb
@@ -1064,6 +1090,7 @@ test_files:
1064
1090
  - test/plugin/test_buffer_memory_chunk.rb
1065
1091
  - test/plugin/test_compressable.rb
1066
1092
  - test/plugin/test_file_util.rb
1093
+ - test/plugin/test_file_wrapper.rb
1067
1094
  - test/plugin/test_filter.rb
1068
1095
  - test/plugin/test_filter_grep.rb
1069
1096
  - test/plugin/test_filter_parser.rb
data/.travis.yml DELETED
@@ -1,77 +0,0 @@
1
- language: ruby
2
- cache: bundler
3
-
4
- # script: bundle exec rake test TESTOPTS=-v
5
-
6
- # http://rubies.travis-ci.org/
7
- # See here for osx_image -> OSX versions: https://docs.travis-ci.com/user/languages/objective-c
8
- matrix:
9
- include:
10
- - rvm: 2.4.9
11
- os: linux
12
- env: USE_CAPNG=false
13
- - rvm: 2.4.9
14
- os: linux-ppc64le
15
- env: USE_CAPNG=false
16
- - rvm: 2.5.7
17
- os: linux
18
- env: USE_CAPNG=false
19
- - rvm: 2.5.7
20
- os: linux
21
- arch: s390x
22
- dist: xenial
23
- env: USE_CAPNG=false
24
- - rvm: 2.6.5
25
- os: linux
26
- env: USE_CAPNG=false
27
- - rvm: 2.6.6
28
- os: linux
29
- env: USE_CAPNG=true
30
- - rvm: 2.7.0
31
- os: linux
32
- env: USE_CAPNG=false
33
- - rvm: ruby-head
34
- os: linux
35
- env: USE_CAPNG=false
36
- - rvm: ruby-head
37
- os: linux-ppc64le
38
- env: USE_CAPNG=false
39
- - rvm: 2.4.6
40
- os: osx
41
- osx_image: xcode8.3 # OSX 10.12
42
- env: USE_CAPNG=false
43
- - rvm: ruby-head
44
- os: osx
45
- osx_image: xcode8.3 # OSX 10.12
46
- env: USE_CAPNG=false
47
- allow_failures:
48
- - rvm: 2.4.6
49
- os: osx
50
- osx_image: xcode8.3
51
- env: USE_CAPNG=false
52
- - rvm: 2.5.7
53
- os: linux
54
- arch: s390x
55
- dist: xenial
56
- env: USE_CAPNG=false
57
- - rvm: ruby-head
58
- env: USE_CAPNG=false
59
-
60
- branches:
61
- only:
62
- - master
63
-
64
- before_install: |
65
- gem update --system=3.1.2
66
- if [[ x"${USE_CAPNG}" == "xtrue" ]]; then
67
- echo 'gem "capng_c"' >> Gemfile.local
68
- fi
69
-
70
- sudo: false
71
- dist: trusty # for TLSv1.2 support
72
-
73
- addons:
74
- apt:
75
- packages:
76
- - libgmp3-dev
77
- - libcap-ng-dev
data/appveyor.yml DELETED
@@ -1,31 +0,0 @@
1
- version: '{build}'
2
-
3
- # init:
4
- # - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
5
-
6
- install:
7
- - SET PATH=C:\Ruby%ruby_version%\bin;%PATH%
8
- - ruby --version
9
- - gem --version
10
- # stay 0.14.0 for Windows CI until https://github.com/socketry/protocol-http2/issues/6 will be fixed
11
- - ps: Write-Output "gem 'protocol-http2', ['<= 0.14.0']" | Out-File -FilePath Gemfile.local -Encoding default
12
- - type Gemfile.local
13
- - ridk.cmd exec bundle install
14
- build: off
15
- test_script:
16
- - bundle exec rake test
17
- # - bundle exec rake test TESTOPTS=-v
18
-
19
- branches:
20
- only:
21
- - master
22
-
23
- # https://www.appveyor.com/docs/installed-software/#ruby
24
- environment:
25
- matrix:
26
- - ruby_version: "26-x64"
27
- - ruby_version: "26"
28
- - ruby_version: "25-x64"
29
- - ruby_version: "25"
30
- - ruby_version: "24-x64"
31
- - ruby_version: "24"