logstash-output-email 3.0.0 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fc06c3b6ad605013b9e4e6dca149306e77cb393a
4
- data.tar.gz: 3d0b5c0024a5a93dd73eb5e3ff445b8f5c1486d0
3
+ metadata.gz: 9fc03f5cf14eeb9e32370bd29be1583ee9581422
4
+ data.tar.gz: 80f959a46cbe2c75476faf960ca5cb47377b35a8
5
5
  SHA512:
6
- metadata.gz: f70a43d099e14457efd10bf5164c407f896dc168455c5775bbeb5cc7ffd9a07f355c5ad952dd7b76d8022fd9056897602f5a561600d4e5ef612f97c39e9de8e9
7
- data.tar.gz: 2142361b3718f6882a5066788c3cbb19e86657832013cdee904486ce6b57671f2b59340ae5ccf2daeb168a7445e353d627c06493912a55f443c05599b2002600
6
+ metadata.gz: 5115893c2af9544dc4deae35a7c334f720aa7dcd859821326693f221c93d47d0ba9dea023a4656724338d9589109d93307b336e228276a818fb3451f0ea4386a
7
+ data.tar.gz: c0580c4a903ab700740168aeb060ce313cce3cc9b77aba59ecae374a08213626eea931983fd48f284a404c5f98c8387cf3a986790abdabd9ed7c4ee54a2c26f2
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## 3.0.0
2
+ - Plugins were updated to follow the new shutdown semantic, this mainly allows Logstash to instruct input plugins to terminate gracefully,
3
+ instead of using Thread.raise on the plugins' threads. Ref: https://github.com/elastic/logstash/pull/3895
4
+ - Dependency on logstash-core update to 2.0
5
+
1
6
  # 2.0.0
2
7
  - Introduced new configuration options for the smtp server, the
3
8
  options option is gone and now you need to specify each option
@@ -104,7 +104,7 @@ class LogStash::Outputs::Email < LogStash::Outputs::Base
104
104
 
105
105
  public
106
106
  def receive(event)
107
- return unless output?(event)
107
+
108
108
 
109
109
  @logger.debug? and @logger.debug("Creating mail with these settings : ", :via => @via, :options => @options, :from => @from, :to => @to, :cc => @cc, :subject => @subject, :body => @body, :content_type => @contenttype, :htmlbody => @htmlbody, :attachments => @attachments, :to => to, :to => to)
110
110
  formatedSubject = event.sprintf(@subject)
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-output-email'
4
- s.version = '3.0.0'
4
+ s.version = '3.0.1'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "Send email when an output is received."
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/plugin install gemname. This gem is not a stand-alone program"
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
20
20
  s.metadata = { "logstash_plugin" => "true", "logstash_group" => "output" }
21
21
 
22
22
  # Gem dependencies
23
- s.add_runtime_dependency "logstash-core", "~> 2.0.0.snapshot"
23
+ s.add_runtime_dependency "logstash-core", ">= 2.0.0.snapshot", "< 3.0.0"
24
24
 
25
25
  s.add_runtime_dependency 'mail', '>= 2.6.3', '~> 2.6.0'
26
26
 
data/spec/spec_helper.rb CHANGED
@@ -8,7 +8,7 @@ class LogStash::Filters::NOOP < LogStash::Filters::Base
8
8
  def register; end
9
9
 
10
10
  def filter(event)
11
- return unless filter?(event)
11
+
12
12
  filter_matched(event)
13
13
  end
14
14
  end
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-email
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-23 00:00:00.000000000 Z
11
+ date: 2015-10-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
15
15
  requirements:
16
- - - ~>
16
+ - - '>='
17
17
  - !ruby/object:Gem::Version
18
18
  version: 2.0.0.snapshot
19
+ - - <
20
+ - !ruby/object:Gem::Version
21
+ version: 3.0.0
19
22
  name: logstash-core
20
23
  prerelease: false
21
24
  type: :runtime
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - ~>
27
+ - - '>='
25
28
  - !ruby/object:Gem::Version
26
29
  version: 2.0.0.snapshot
30
+ - - <
31
+ - !ruby/object:Gem::Version
32
+ version: 3.0.0
27
33
  - !ruby/object:Gem::Dependency
28
34
  requirement: !ruby/object:Gem::Requirement
29
35
  requirements: