logstash-input-imap 3.0.2 → 3.0.3

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
  SHA1:
3
- metadata.gz: c7cdeac8548919f13cef32541a78c915d3a2503a
4
- data.tar.gz: 152ce1be4ed5101ba7af55ee6f2e90f9eec0af6f
3
+ metadata.gz: 1f4d82c7730cb79c3414883432e9597b7363c51f
4
+ data.tar.gz: c95b05f311c10272d527757334fc5fda75f861ad
5
5
  SHA512:
6
- metadata.gz: 9184c73a1f142010ea1d93121eb672aa04ab4f73fc2fc067d25d00d31d958e9866ef414620f9f69696f3e0d57926ea385d6427e399b313eda171de0bd35c5501
7
- data.tar.gz: bf8e8486ea3fa2f25ac2df727313589dec14bb38ac671da359210ad7d674917773a9767160442ee766d6d9ee60df88156dd1ff042595ba8aad2ea0ee83ee7dca
6
+ metadata.gz: 328838f326b62cc639c4e7205f00e8c2e6f9fda62c19729e24838756cb1058ad2401e170c03540df98deb8e6a0427b00facd09e71c580d0ab6566160fa91f5de
7
+ data.tar.gz: 3d9879f3e0ee9a8539760d1001c28357ac1079a3baca02f8ab16c9847e03492f7295d7525ef0c4a35bdfc87dc03528bb20b13ade28147bfc91ec67672fb8bb10
data/Gemfile CHANGED
@@ -1,4 +1,11 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- # Specify your gem's dependencies in logstash-mass_effect.gemspec
4
3
  gemspec
4
+
5
+ logstash_path = ENV["LOGSTASH_PATH"] || "../../logstash"
6
+ use_logstash_source = ENV["LOGSTASH_SOURCE"] && ENV["LOGSTASH_SOURCE"].to_s == "1"
7
+
8
+ if Dir.exist?(logstash_path) && use_logstash_source
9
+ gem 'logstash-core', :path => "#{logstash_path}/logstash-core"
10
+ gem 'logstash-core-plugin-api', :path => "#{logstash_path}/logstash-core-plugin-api"
11
+ end
@@ -0,0 +1,176 @@
1
+ :plugin: imap
2
+ :type: input
3
+
4
+ ///////////////////////////////////////////
5
+ START - GENERATED VARIABLES, DO NOT EDIT!
6
+ ///////////////////////////////////////////
7
+ :version: %VERSION%
8
+ :release_date: %RELEASE_DATE%
9
+ :changelog_url: %CHANGELOG_URL%
10
+ :include_path: ../../../../logstash/docs/include
11
+ ///////////////////////////////////////////
12
+ END - GENERATED VARIABLES, DO NOT EDIT!
13
+ ///////////////////////////////////////////
14
+
15
+ [id="plugins-{type}-{plugin}"]
16
+
17
+ === Imap input plugin
18
+
19
+ include::{include_path}/plugin_header.asciidoc[]
20
+
21
+ ==== Description
22
+
23
+ Read mails from IMAP server
24
+
25
+ Periodically scan an IMAP folder (`INBOX` by default) and move any read messages
26
+ to the trash.
27
+
28
+ [id="plugins-{type}s-{plugin}-options"]
29
+ ==== Imap Input Configuration Options
30
+
31
+ This plugin supports the following configuration options plus the <<plugins-{type}s-{plugin}-common-options>> described later.
32
+
33
+ [cols="<,<,<",options="header",]
34
+ |=======================================================================
35
+ |Setting |Input type|Required
36
+ | <<plugins-{type}s-{plugin}-check_interval>> |<<number,number>>|No
37
+ | <<plugins-{type}s-{plugin}-content_type>> |<<string,string>>|No
38
+ | <<plugins-{type}s-{plugin}-delete>> |<<boolean,boolean>>|No
39
+ | <<plugins-{type}s-{plugin}-expunge>> |<<boolean,boolean>>|No
40
+ | <<plugins-{type}s-{plugin}-fetch_count>> |<<number,number>>|No
41
+ | <<plugins-{type}s-{plugin}-folder>> |<<string,string>>|No
42
+ | <<plugins-{type}s-{plugin}-host>> |<<string,string>>|Yes
43
+ | <<plugins-{type}s-{plugin}-lowercase_headers>> |<<boolean,boolean>>|No
44
+ | <<plugins-{type}s-{plugin}-password>> |<<password,password>>|Yes
45
+ | <<plugins-{type}s-{plugin}-port>> |<<number,number>>|No
46
+ | <<plugins-{type}s-{plugin}-secure>> |<<boolean,boolean>>|No
47
+ | <<plugins-{type}s-{plugin}-strip_attachments>> |<<boolean,boolean>>|No
48
+ | <<plugins-{type}s-{plugin}-user>> |<<string,string>>|Yes
49
+ | <<plugins-{type}s-{plugin}-verify_cert>> |<<boolean,boolean>>|No
50
+ |=======================================================================
51
+
52
+ Also see <<plugins-{type}s-{plugin}-common-options>> for a list of options supported by all
53
+ input plugins.
54
+
55
+ &nbsp;
56
+
57
+ [id="plugins-{type}s-{plugin}-check_interval"]
58
+ ===== `check_interval`
59
+
60
+ * Value type is <<number,number>>
61
+ * Default value is `300`
62
+
63
+
64
+
65
+ [id="plugins-{type}s-{plugin}-content_type"]
66
+ ===== `content_type`
67
+
68
+ * Value type is <<string,string>>
69
+ * Default value is `"text/plain"`
70
+
71
+ For multipart messages, use the first part that has this
72
+ content-type as the event message.
73
+
74
+ [id="plugins-{type}s-{plugin}-delete"]
75
+ ===== `delete`
76
+
77
+ * Value type is <<boolean,boolean>>
78
+ * Default value is `false`
79
+
80
+
81
+
82
+ [id="plugins-{type}s-{plugin}-expunge"]
83
+ ===== `expunge`
84
+
85
+ * Value type is <<boolean,boolean>>
86
+ * Default value is `false`
87
+
88
+
89
+
90
+ [id="plugins-{type}s-{plugin}-fetch_count"]
91
+ ===== `fetch_count`
92
+
93
+ * Value type is <<number,number>>
94
+ * Default value is `50`
95
+
96
+
97
+
98
+ [id="plugins-{type}s-{plugin}-folder"]
99
+ ===== `folder`
100
+
101
+ * Value type is <<string,string>>
102
+ * Default value is `"INBOX"`
103
+
104
+
105
+
106
+ [id="plugins-{type}s-{plugin}-host"]
107
+ ===== `host`
108
+
109
+ * This is a required setting.
110
+ * Value type is <<string,string>>
111
+ * There is no default value for this setting.
112
+
113
+
114
+
115
+ [id="plugins-{type}s-{plugin}-lowercase_headers"]
116
+ ===== `lowercase_headers`
117
+
118
+ * Value type is <<boolean,boolean>>
119
+ * Default value is `true`
120
+
121
+
122
+
123
+ [id="plugins-{type}s-{plugin}-password"]
124
+ ===== `password`
125
+
126
+ * This is a required setting.
127
+ * Value type is <<password,password>>
128
+ * There is no default value for this setting.
129
+
130
+
131
+
132
+ [id="plugins-{type}s-{plugin}-port"]
133
+ ===== `port`
134
+
135
+ * Value type is <<number,number>>
136
+ * There is no default value for this setting.
137
+
138
+
139
+
140
+ [id="plugins-{type}s-{plugin}-secure"]
141
+ ===== `secure`
142
+
143
+ * Value type is <<boolean,boolean>>
144
+ * Default value is `true`
145
+
146
+
147
+
148
+ [id="plugins-{type}s-{plugin}-strip_attachments"]
149
+ ===== `strip_attachments`
150
+
151
+ * Value type is <<boolean,boolean>>
152
+ * Default value is `false`
153
+
154
+
155
+
156
+ [id="plugins-{type}s-{plugin}-user"]
157
+ ===== `user`
158
+
159
+ * This is a required setting.
160
+ * Value type is <<string,string>>
161
+ * There is no default value for this setting.
162
+
163
+
164
+
165
+ [id="plugins-{type}s-{plugin}-verify_cert"]
166
+ ===== `verify_cert`
167
+
168
+ * Value type is <<boolean,boolean>>
169
+ * Default value is `true`
170
+
171
+
172
+
173
+
174
+
175
+ [id="plugins-{type}s-{plugin}-common-options"]
176
+ include::{include_path}/{type}.asciidoc[]
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-input-imap'
4
- s.version = '3.0.2'
4
+ s.version = '3.0.3'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "Read mail from IMAP servers"
7
7
  s.description = "This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program"
@@ -11,7 +11,7 @@ Gem::Specification.new do |s|
11
11
  s.require_paths = ["lib"]
12
12
 
13
13
  # Files
14
- s.files = Dir['lib/**/*','spec/**/*','vendor/**/*','*.gemspec','*.md','CONTRIBUTORS','Gemfile','LICENSE','NOTICE.TXT']
14
+ s.files = Dir["lib/**/*","spec/**/*","*.gemspec","*.md","CONTRIBUTORS","Gemfile","LICENSE","NOTICE.TXT", "vendor/jar-dependencies/**/*.jar", "vendor/jar-dependencies/**/*.rb", "VERSION", "docs/**/*"]
15
15
 
16
16
  # Tests
17
17
  s.test_files = s.files.grep(%r{^(test|spec|features)/})
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-input-imap
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.2
4
+ version: 3.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-14 00:00:00.000000000 Z
11
+ date: 2017-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -112,6 +112,7 @@ files:
112
112
  - LICENSE
113
113
  - NOTICE.TXT
114
114
  - README.md
115
+ - docs/index.asciidoc
115
116
  - lib/logstash/inputs/imap.rb
116
117
  - logstash-input-imap.gemspec
117
118
  - spec/inputs/imap_spec.rb
@@ -137,7 +138,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
137
138
  version: '0'
138
139
  requirements: []
139
140
  rubyforge_project:
140
- rubygems_version: 2.6.3
141
+ rubygems_version: 2.4.8
141
142
  signing_key:
142
143
  specification_version: 4
143
144
  summary: Read mail from IMAP servers