fluentd 1.12.1-x86-mingw32 → 1.13.1-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 (87) 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/{build.yaml → macos-test.yaml} +8 -7
  6. data/.github/workflows/windows-test.yaml +46 -0
  7. data/.gitlab-ci.yml +19 -19
  8. data/CHANGELOG.md +163 -0
  9. data/CONTRIBUTING.md +2 -2
  10. data/MAINTAINERS.md +5 -2
  11. data/README.md +6 -3
  12. data/example/counter.conf +1 -1
  13. data/fluentd.gemspec +4 -2
  14. data/lib/fluent/command/bundler_injection.rb +1 -1
  15. data/lib/fluent/command/cat.rb +19 -4
  16. data/lib/fluent/command/fluentd.rb +1 -2
  17. data/lib/fluent/command/plugin_config_formatter.rb +2 -1
  18. data/lib/fluent/command/plugin_generator.rb +31 -1
  19. data/lib/fluent/compat/parser.rb +2 -2
  20. data/lib/fluent/config/section.rb +6 -1
  21. data/lib/fluent/config/types.rb +2 -2
  22. data/lib/fluent/event.rb +3 -13
  23. data/lib/fluent/load.rb +0 -1
  24. data/lib/fluent/log.rb +1 -0
  25. data/lib/fluent/plugin/file_wrapper.rb +49 -4
  26. data/lib/fluent/plugin/formatter_ltsv.rb +2 -2
  27. data/lib/fluent/plugin/in_http.rb +11 -1
  28. data/lib/fluent/plugin/in_monitor_agent.rb +1 -1
  29. data/lib/fluent/plugin/in_tail.rb +140 -41
  30. data/lib/fluent/plugin/in_tail/position_file.rb +15 -1
  31. data/lib/fluent/plugin/out_copy.rb +18 -5
  32. data/lib/fluent/plugin/out_exec_filter.rb +3 -3
  33. data/lib/fluent/plugin/out_forward.rb +75 -61
  34. data/lib/fluent/plugin/output.rb +11 -9
  35. data/lib/fluent/plugin/parser_csv.rb +2 -2
  36. data/lib/fluent/plugin/parser_syslog.rb +2 -2
  37. data/lib/fluent/plugin/service_discovery.rb +0 -15
  38. data/lib/fluent/plugin/storage_local.rb +4 -4
  39. data/lib/fluent/plugin_helper/http_server/router.rb +1 -1
  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 +16 -1
  45. data/lib/fluent/system_config.rb +14 -0
  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/test/command/test_cat.rb +99 -0
  50. data/test/command/test_fluentd.rb +8 -0
  51. data/test/config/test_configurable.rb +1 -1
  52. data/test/config/test_section.rb +9 -0
  53. data/test/config/test_system_config.rb +46 -0
  54. data/test/plugin/in_tail/test_io_handler.rb +4 -4
  55. data/test/plugin/in_tail/test_position_file.rb +58 -4
  56. data/test/plugin/test_file_wrapper.rb +115 -0
  57. data/test/plugin/test_in_exec.rb +1 -1
  58. data/test/plugin/test_in_forward.rb +59 -83
  59. data/test/plugin/test_in_http.rb +58 -40
  60. data/test/plugin/test_in_syslog.rb +66 -56
  61. data/test/plugin/test_in_tail.rb +298 -26
  62. data/test/plugin/test_in_tcp.rb +45 -32
  63. data/test/plugin/test_in_udp.rb +47 -33
  64. data/test/plugin/test_out_copy.rb +87 -0
  65. data/test/plugin/test_out_forward.rb +198 -91
  66. data/test/plugin/test_out_http.rb +1 -1
  67. data/test/plugin/test_out_stream.rb +18 -8
  68. data/test/plugin/test_output.rb +15 -3
  69. data/test/plugin/test_output_as_buffered_backup.rb +2 -0
  70. data/test/plugin/test_parser_csv.rb +14 -0
  71. data/test/plugin/test_parser_syslog.rb +14 -0
  72. data/test/plugin_helper/http_server/test_route.rb +1 -1
  73. data/test/plugin_helper/service_discovery/test_manager.rb +1 -1
  74. data/test/plugin_helper/test_child_process.rb +6 -3
  75. data/test/plugin_helper/test_http_server_helper.rb +34 -27
  76. data/test/plugin_helper/test_server.rb +144 -139
  77. data/test/plugin_helper/test_service_discovery.rb +74 -14
  78. data/test/plugin_helper/test_socket.rb +16 -9
  79. data/test/test_config.rb +2 -1
  80. data/test/test_event.rb +16 -0
  81. data/test/test_formatter.rb +30 -0
  82. data/test/test_output.rb +2 -2
  83. data/test/test_supervisor.rb +35 -0
  84. data/test/test_time_parser.rb +109 -0
  85. metadata +55 -11
  86. data/.travis.yml +0 -77
  87. 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.1
4
+ version: 1.13.1
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-02-18 00:00:00.000000000 Z
11
+ date: 2021-06-25 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
@@ -420,18 +460,20 @@ executables:
420
460
  extensions: []
421
461
  extra_rdoc_files: []
422
462
  files:
463
+ - ".deepsource.toml"
423
464
  - ".drone.yml"
424
465
  - ".github/ISSUE_TEMPLATE.md"
425
466
  - ".github/ISSUE_TEMPLATE/bug_report.md"
426
467
  - ".github/ISSUE_TEMPLATE/config.yml"
427
468
  - ".github/ISSUE_TEMPLATE/feature_request.md"
428
469
  - ".github/PULL_REQUEST_TEMPLATE.md"
429
- - ".github/workflows/build.yaml"
430
470
  - ".github/workflows/issue-auto-closer.yml"
471
+ - ".github/workflows/linux-test.yaml"
472
+ - ".github/workflows/macos-test.yaml"
431
473
  - ".github/workflows/stale-actions.yml"
474
+ - ".github/workflows/windows-test.yaml"
432
475
  - ".gitignore"
433
476
  - ".gitlab-ci.yml"
434
- - ".travis.yml"
435
477
  - ADOPTERS.md
436
478
  - AUTHORS
437
479
  - CHANGELOG.md
@@ -443,7 +485,6 @@ files:
443
485
  - MAINTAINERS.md
444
486
  - README.md
445
487
  - Rakefile
446
- - appveyor.yml
447
488
  - bin/fluent-binlog-reader
448
489
  - bin/fluent-ca-generate
449
490
  - bin/fluent-cap-ctl
@@ -751,6 +792,7 @@ files:
751
792
  - test/command/test_binlog_reader.rb
752
793
  - test/command/test_ca_generate.rb
753
794
  - test/command/test_cap_ctl.rb
795
+ - test/command/test_cat.rb
754
796
  - test/command/test_ctl.rb
755
797
  - test/command/test_fluentd.rb
756
798
  - test/command/test_plugin_config_formatter.rb
@@ -809,6 +851,7 @@ files:
809
851
  - test/plugin/test_buffer_memory_chunk.rb
810
852
  - test/plugin/test_compressable.rb
811
853
  - test/plugin/test_file_util.rb
854
+ - test/plugin/test_file_wrapper.rb
812
855
  - test/plugin/test_filter.rb
813
856
  - test/plugin/test_filter_grep.rb
814
857
  - test/plugin/test_filter_parser.rb
@@ -980,8 +1023,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
980
1023
  - !ruby/object:Gem::Version
981
1024
  version: '0'
982
1025
  requirements: []
983
- rubyforge_project:
984
- rubygems_version: 2.7.6.2
1026
+ rubygems_version: 3.1.6
985
1027
  signing_key:
986
1028
  specification_version: 4
987
1029
  summary: Fluentd event collector
@@ -989,6 +1031,7 @@ test_files:
989
1031
  - test/command/test_binlog_reader.rb
990
1032
  - test/command/test_ca_generate.rb
991
1033
  - test/command/test_cap_ctl.rb
1034
+ - test/command/test_cat.rb
992
1035
  - test/command/test_ctl.rb
993
1036
  - test/command/test_fluentd.rb
994
1037
  - test/command/test_plugin_config_formatter.rb
@@ -1047,6 +1090,7 @@ test_files:
1047
1090
  - test/plugin/test_buffer_memory_chunk.rb
1048
1091
  - test/plugin/test_compressable.rb
1049
1092
  - test/plugin/test_file_util.rb
1093
+ - test/plugin/test_file_wrapper.rb
1050
1094
  - test/plugin/test_filter.rb
1051
1095
  - test/plugin/test_filter_grep.rb
1052
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"