fluentd 0.14.12-x86-mingw32 → 0.14.13-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 (62) hide show
  1. checksums.yaml +4 -4
  2. data/CONTRIBUTING.md +2 -0
  3. data/ChangeLog +33 -0
  4. data/bin/fluent-plugin-config-format +5 -0
  5. data/bin/fluent-plugin-generate +5 -0
  6. data/lib/fluent/command/plugin_config_formatter.rb +258 -0
  7. data/lib/fluent/command/plugin_generator.rb +301 -0
  8. data/lib/fluent/compat/detach_process_mixin.rb +25 -0
  9. data/lib/fluent/compat/filter.rb +1 -1
  10. data/lib/fluent/compat/input.rb +1 -0
  11. data/lib/fluent/compat/output.rb +8 -5
  12. data/lib/fluent/config/configure_proxy.rb +31 -8
  13. data/lib/fluent/configurable.rb +2 -2
  14. data/lib/fluent/output.rb +3 -0
  15. data/lib/fluent/plugin/buffer/file_chunk.rb +52 -11
  16. data/lib/fluent/plugin/filter.rb +1 -1
  17. data/lib/fluent/plugin/filter_record_transformer.rb +5 -1
  18. data/lib/fluent/plugin/in_tail.rb +13 -6
  19. data/lib/fluent/plugin/input.rb +1 -1
  20. data/lib/fluent/plugin/output.rb +26 -6
  21. data/lib/fluent/plugin/parser_apache.rb +1 -1
  22. data/lib/fluent/plugin/parser_apache_error.rb +1 -1
  23. data/lib/fluent/plugin/parser_multiline.rb +1 -0
  24. data/lib/fluent/plugin/parser_nginx.rb +1 -1
  25. data/lib/fluent/plugin/parser_regexp.rb +18 -0
  26. data/lib/fluent/plugin_helper.rb +19 -1
  27. data/lib/fluent/plugin_helper/retry_state.rb +40 -16
  28. data/lib/fluent/process.rb +22 -0
  29. data/lib/fluent/supervisor.rb +2 -21
  30. data/lib/fluent/test/helpers.rb +14 -0
  31. data/lib/fluent/version.rb +1 -1
  32. data/templates/new_gem/Gemfile +3 -0
  33. data/templates/new_gem/README.md.erb +43 -0
  34. data/templates/new_gem/Rakefile +13 -0
  35. data/templates/new_gem/fluent-plugin.gemspec.erb +27 -0
  36. data/templates/new_gem/lib/fluent/plugin/filter.rb.erb +14 -0
  37. data/templates/new_gem/lib/fluent/plugin/formatter.rb.erb +14 -0
  38. data/templates/new_gem/lib/fluent/plugin/input.rb.erb +11 -0
  39. data/templates/new_gem/lib/fluent/plugin/output.rb.erb +11 -0
  40. data/templates/new_gem/lib/fluent/plugin/parser.rb.erb +15 -0
  41. data/templates/new_gem/test/helper.rb.erb +8 -0
  42. data/templates/new_gem/test/plugin/test_filter.rb.erb +18 -0
  43. data/templates/new_gem/test/plugin/test_formatter.rb.erb +18 -0
  44. data/templates/new_gem/test/plugin/test_input.rb.erb +18 -0
  45. data/templates/new_gem/test/plugin/test_output.rb.erb +18 -0
  46. data/templates/new_gem/test/plugin/test_parser.rb.erb +18 -0
  47. data/templates/plugin_config_formatter/param.md-compact.erb +25 -0
  48. data/templates/plugin_config_formatter/param.md.erb +34 -0
  49. data/templates/plugin_config_formatter/section.md.erb +12 -0
  50. data/test/command/test_binlog_reader.rb +0 -9
  51. data/test/command/test_plugin_config_formatter.rb +275 -0
  52. data/test/command/test_plugin_generator.rb +66 -0
  53. data/test/config/test_configure_proxy.rb +89 -45
  54. data/test/plugin/data/log/foo/bar2 +0 -0
  55. data/test/plugin/test_in_tail.rb +97 -8
  56. data/test/plugin/test_output.rb +18 -0
  57. data/test/plugin/test_output_as_buffered.rb +35 -0
  58. data/test/plugin_helper/test_compat_parameters.rb +2 -0
  59. data/test/plugin_helper/test_retry_state.rb +23 -0
  60. data/test/test_output.rb +5 -0
  61. data/test/test_process.rb +14 -0
  62. metadata +37 -3
@@ -0,0 +1,14 @@
1
+ require_relative 'helper'
2
+ require 'fluent/process'
3
+
4
+ class ProcessCompatibilityTest < ::Test::Unit::TestCase
5
+ test 'DetachProcessMixin is defined' do
6
+ assert defined?(::Fluent::DetachProcessMixin)
7
+ assert_equal ::Fluent::DetachProcessMixin, ::Fluent::Compat::DetachProcessMixin
8
+ end
9
+
10
+ test 'DetachMultiProcessMixin is defined' do
11
+ assert defined?(::Fluent::DetachMultiProcessMixin)
12
+ assert_equal ::Fluent::DetachMultiProcessMixin, ::Fluent::Compat::DetachMultiProcessMixin
13
+ end
14
+ end
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: 0.14.12
4
+ version: 0.14.13
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: 2017-01-30 00:00:00.000000000 Z
11
+ date: 2017-02-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: msgpack
@@ -345,6 +345,8 @@ executables:
345
345
  - fluent-cat
346
346
  - fluent-debug
347
347
  - fluent-gem
348
+ - fluent-plugin-config-format
349
+ - fluent-plugin-generate
348
350
  - fluentd
349
351
  extensions: []
350
352
  extra_rdoc_files: []
@@ -365,6 +367,8 @@ files:
365
367
  - bin/fluent-cat
366
368
  - bin/fluent-debug
367
369
  - bin/fluent-gem
370
+ - bin/fluent-plugin-config-format
371
+ - bin/fluent-plugin-generate
368
372
  - bin/fluentd
369
373
  - code-of-conduct.md
370
374
  - example/copy_roundrobin.conf
@@ -409,7 +413,10 @@ files:
409
413
  - lib/fluent/command/cat.rb
410
414
  - lib/fluent/command/debug.rb
411
415
  - lib/fluent/command/fluentd.rb
416
+ - lib/fluent/command/plugin_config_formatter.rb
417
+ - lib/fluent/command/plugin_generator.rb
412
418
  - lib/fluent/compat/call_super_mixin.rb
419
+ - lib/fluent/compat/detach_process_mixin.rb
413
420
  - lib/fluent/compat/exec_util.rb
414
421
  - lib/fluent/compat/file_util.rb
415
422
  - lib/fluent/compat/filter.rb
@@ -552,6 +559,7 @@ files:
552
559
  - lib/fluent/plugin_helper/thread.rb
553
560
  - lib/fluent/plugin_helper/timer.rb
554
561
  - lib/fluent/plugin_id.rb
562
+ - lib/fluent/process.rb
555
563
  - lib/fluent/registry.rb
556
564
  - lib/fluent/root_agent.rb
557
565
  - lib/fluent/rpc.rb
@@ -583,8 +591,28 @@ files:
583
591
  - lib/fluent/unique_id.rb
584
592
  - lib/fluent/version.rb
585
593
  - lib/fluent/winsvc.rb
594
+ - templates/new_gem/Gemfile
595
+ - templates/new_gem/README.md.erb
596
+ - templates/new_gem/Rakefile
597
+ - templates/new_gem/fluent-plugin.gemspec.erb
598
+ - templates/new_gem/lib/fluent/plugin/filter.rb.erb
599
+ - templates/new_gem/lib/fluent/plugin/formatter.rb.erb
600
+ - templates/new_gem/lib/fluent/plugin/input.rb.erb
601
+ - templates/new_gem/lib/fluent/plugin/output.rb.erb
602
+ - templates/new_gem/lib/fluent/plugin/parser.rb.erb
603
+ - templates/new_gem/test/helper.rb.erb
604
+ - templates/new_gem/test/plugin/test_filter.rb.erb
605
+ - templates/new_gem/test/plugin/test_formatter.rb.erb
606
+ - templates/new_gem/test/plugin/test_input.rb.erb
607
+ - templates/new_gem/test/plugin/test_output.rb.erb
608
+ - templates/new_gem/test/plugin/test_parser.rb.erb
609
+ - templates/plugin_config_formatter/param.md-compact.erb
610
+ - templates/plugin_config_formatter/param.md.erb
611
+ - templates/plugin_config_formatter/section.md.erb
586
612
  - test/command/test_binlog_reader.rb
587
613
  - test/command/test_fluentd.rb
614
+ - test/command/test_plugin_config_formatter.rb
615
+ - test/command/test_plugin_generator.rb
588
616
  - test/compat/test_calls_super.rb
589
617
  - test/compat/test_parser.rb
590
618
  - test/config/assertions.rb
@@ -603,6 +631,7 @@ files:
603
631
  - test/plugin/data/2010/01/20100102.log
604
632
  - test/plugin/data/log/bar
605
633
  - test/plugin/data/log/foo/bar.log
634
+ - test/plugin/data/log/foo/bar2
606
635
  - test/plugin/data/log/test.log
607
636
  - test/plugin/test_bare_output.rb
608
637
  - test/plugin/test_base.rb
@@ -713,6 +742,7 @@ files:
713
742
  - test/test_plugin_classes.rb
714
743
  - test/test_plugin_helper.rb
715
744
  - test/test_plugin_id.rb
745
+ - test/test_process.rb
716
746
  - test/test_root_agent.rb
717
747
  - test/test_supervisor.rb
718
748
  - test/test_test_drivers.rb
@@ -739,13 +769,15 @@ required_rubygems_version: !ruby/object:Gem::Requirement
739
769
  version: '0'
740
770
  requirements: []
741
771
  rubyforge_project:
742
- rubygems_version: 2.6.8
772
+ rubygems_version: 2.5.2
743
773
  signing_key:
744
774
  specification_version: 4
745
775
  summary: Fluentd event collector
746
776
  test_files:
747
777
  - test/command/test_binlog_reader.rb
748
778
  - test/command/test_fluentd.rb
779
+ - test/command/test_plugin_config_formatter.rb
780
+ - test/command/test_plugin_generator.rb
749
781
  - test/compat/test_calls_super.rb
750
782
  - test/compat/test_parser.rb
751
783
  - test/config/assertions.rb
@@ -764,6 +796,7 @@ test_files:
764
796
  - test/plugin/data/2010/01/20100102.log
765
797
  - test/plugin/data/log/bar
766
798
  - test/plugin/data/log/foo/bar.log
799
+ - test/plugin/data/log/foo/bar2
767
800
  - test/plugin/data/log/test.log
768
801
  - test/plugin/test_bare_output.rb
769
802
  - test/plugin/test_base.rb
@@ -874,6 +907,7 @@ test_files:
874
907
  - test/test_plugin_classes.rb
875
908
  - test/test_plugin_helper.rb
876
909
  - test/test_plugin_id.rb
910
+ - test/test_process.rb
877
911
  - test/test_root_agent.rb
878
912
  - test/test_supervisor.rb
879
913
  - test/test_test_drivers.rb