logstash-output-stdout 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: d1f841e8d8a08546262b68802e889d4689e83b37
4
- data.tar.gz: 680dc2b10837725981a7142f572e794011c65a51
3
+ metadata.gz: 369afa7ad6b2a6117ba7130922d8cdb91785f4a0
4
+ data.tar.gz: 18c67db65d2ad97f6db02bd7165d8d9a432ff629
5
5
  SHA512:
6
- metadata.gz: e9fd12acd472b4c24d7cb4f2a79468983115e96c8d008ce66b74f0c2a57291b13c12d1ec23047de4b62e42dd16a9e11aa3b1f867399d806d6b4e95d9fafc57ff
7
- data.tar.gz: bbe2d258f5c04d8aedcf9dccf2df0120655c9c7c281757d7c6c609299f26f3b8e87b708c8381800b21f2940c6621a4f9cfebce473ed0f255c4ca00e73e97704b
6
+ metadata.gz: ed34591f86c08d17ce50c7f101f35c90669056b21e35dc6bf48ae2693d9249da5a8f2fa72cf4204b9ed80aa9c798507ff23632591e68f6908223faf5fbec1f11
7
+ data.tar.gz: af6230d472d111737cc1e042c6e4f333e653460a32eca17b32ee6a5cf5a32f18854b519c0e7dce02e1e4941b51da74178bc11d1b3df2345a191b86a7a08d0871
@@ -1,2 +1,7 @@
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
+
1
6
  # 1.1.0
2
7
  - Add basic test ot the project
@@ -49,7 +49,7 @@ class LogStash::Outputs::Stdout < LogStash::Outputs::Base
49
49
  end
50
50
 
51
51
  def receive(event)
52
- return unless output?(event)
52
+
53
53
  return if event == LogStash::SHUTDOWN
54
54
  @codec.encode(event)
55
55
  end
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-output-stdout'
4
- s.version = '2.0.0'
4
+ s.version = '2.0.1'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "A simple output which prints to the STDOUT of the shell running Logstash."
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
  s.add_runtime_dependency 'logstash-codec-line'
25
25
 
26
26
  s.add_development_dependency 'logstash-devutils'
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-stdout
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: