fluent-plugin-directory 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fb482c43b627800e8bb1ead02767e4d8d456f575a20d02c90b6cde2bfeb91e2f
4
- data.tar.gz: 66444cc9b59e73f4ab92d54ba3d22a54b070aa7e80439760957e72773f1f1aa6
3
+ metadata.gz: 56e93588c725d38543efb34bebe429f3fa7ac655af292f89b633f04fdc109ff6
4
+ data.tar.gz: 0c828e1ab829ebc322da9691aca2f218a62c2792f1072be3b9d3125b2b3a600c
5
5
  SHA512:
6
- metadata.gz: 3295463622de8cca2f93bc6f87c3599b9a8a7ad98bffecb885b60ef37e058ed5ce84533b993981875d99ca0a7c60dc08a04f1db5094e71e278e299d61ead454a
7
- data.tar.gz: 1b1cd0443e6a6431b1a373e831560d96c6181479da92585b8538f5895d252a60abcee5b53805f1c532c20a074819df0bf328b921b78978a52ac7201d1ea5ec05
6
+ metadata.gz: 77c2cde97c39eb7ce64f26edbf5344cd44711218efa61f2bc8277360b8ea33f6614092fd949be26bf7807608ffa60914f149adfb585a35087cba430f5a0af282
7
+ data.tar.gz: 9e1434a996881e9384873e75acd48476e641c3d1b383c566ed0714d118c278051db11c592e06b0917a617c08b63c7b230389912be52a8c701e6488b6af83ef59
data/README.md CHANGED
@@ -28,29 +28,23 @@ $ bundle
28
28
 
29
29
  ### content_key (string) (optional)
30
30
 
31
- The name of the key whose value is the content of the file.
31
+ The field where the content of the file is stored in the output event.
32
32
 
33
33
  Default value: `content`.
34
34
 
35
- ### extension (string) (optional)
36
-
37
- The extension that will be added to the processed files.
38
-
39
- Default value: `.done`.
40
-
41
35
  ### filename_key (string) (optional)
42
36
 
43
- The name of the key whose value is the name of the file.
37
+ The field where the name of the file is stored in the output event.
44
38
 
45
39
  Default value: `filename`.
46
40
 
47
41
  ### path (string) (required)
48
42
 
49
- The path of the folder to be scanned by the plugin.
43
+ The path of the folder to scan.
50
44
 
51
45
  ### run_interval (integer) (optional)
52
46
 
53
- The time interval (in seconds) to wait between scans.
47
+ The interval (in seconds) to wait between scans.
54
48
 
55
49
  Default value: `60`.
56
50
 
@@ -58,10 +52,8 @@ Default value: `60`.
58
52
 
59
53
  The tag added to the output event.
60
54
 
61
- - See also: [Input Plugin Overview](https://docs.fluentd.org/v/1.0/input#overview)
62
-
63
55
  ## Copyright
64
56
 
65
- - Copyright(c) 2021- TODO: Write your name
57
+ - Copyright(c) 2021- Rémy DUTHU
66
58
  - License
67
59
  - Apache License, Version 2.0
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
3
 
4
4
  Gem::Specification.new do |spec|
5
5
  spec.name = "fluent-plugin-directory"
6
- spec.version = "0.1.1"
6
+ spec.version = "0.1.2"
7
7
  spec.authors = ["remyduthu@icloud.com"]
8
8
  spec.email = ["remyduthu@icloud.com"]
9
9
 
@@ -54,7 +54,7 @@ module Fluent
54
54
  # Add the record to the stream
55
55
  multiEventStream.add(
56
56
  time,
57
- { @content_key => File.read(filename), @file_key => filename },
57
+ { @content_key => File.read(filename), @filename_key => filename },
58
58
  )
59
59
 
60
60
  # Remove the file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fluent-plugin-directory
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - remyduthu@icloud.com