logstash-output-exec 2.0.0 → 2.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: a5f9238b175434a4e0fc38fd35de42baa5306f36
4
- data.tar.gz: ef61dd2299b151a8f25d08c6982a5721e2d80cb7
3
+ metadata.gz: 8e2674050844ae73b4d56c7c5b75cd6137282136
4
+ data.tar.gz: 2292a1b43629040413ac0f1b687c4084964c9851
5
5
  SHA512:
6
- metadata.gz: 653cbea90983a367f1abf91c2cb3efec62cd532c4b557040c0e7d3bf8e68e783e552c182e79ea4a7147f78242c693bcadd4c48d4597e9213cc173dfe652d0572
7
- data.tar.gz: ce2972c9a201df9acaf5b8dacf81e384df76694442808342cbe9feda43e3f532de00707f090f2edac202f4f1e053f08e27ad522af4c5238b295b7df13c84a285
6
+ metadata.gz: 85d7fbc9dd5e182726184299b47585d70af52997bc282ebd647031ddf934816323147137d3ab17977af4d6545a22638a841b22094bf22489c845f851988b8db9
7
+ data.tar.gz: 48c6111b2b2b056149a2d8913f717dd6874aee738728a964b05cfbf08832d48c811ca74160ec4f8ef97f6d27076732ef6dc9b9b51a15a652b06e3aff25ba8e06
data/CHANGELOG.md CHANGED
@@ -0,0 +1,5 @@
1
+ ## 2.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
+
@@ -30,7 +30,7 @@ class LogStash::Outputs::Exec < LogStash::Outputs::Base
30
30
 
31
31
  public
32
32
  def receive(event)
33
- return unless output?(event)
33
+
34
34
  @logger.debug("running exec command", :command => event.sprintf(@command))
35
35
  system(event.sprintf(@command))
36
36
  end # def receive
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-output-exec'
4
- s.version = '2.0.0'
4
+ s.version = '2.0.1'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "This output will run a command for any matching event."
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_development_dependency 'logstash-devutils'
26
26
  end
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-exec
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.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: