logstash-output-csv 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: 8d08714680c96bf6de18253bb9120bce5442ef9a
4
- data.tar.gz: 4766f0ccdd4080a30dc777e0e3da3f6257aebd5a
3
+ metadata.gz: 9c4bdd038931cbea0f2c6df0414c6f82a553f697
4
+ data.tar.gz: f6a3017c23c790a14eda9eea926204a3b98e753a
5
5
  SHA512:
6
- metadata.gz: 90ebcd58c2cb8c9d9cae911f49256998b9e2779eb34ac036e760e13f0e7951465e0a2fd9548a1294cc100acbd88e33262a4e866530f212c845a11051dc24584e
7
- data.tar.gz: 2276e3f8b5dacab245409cedad34da5472a82e355769231b3d6676a93b15d6f688a478a1e5663ebec99a4602fe263a0130a2788a32b9dea2d7c21af7571040a6
6
+ metadata.gz: 1de60179145ee7969d5298e7ef855468296e3278718720ad4ab0522aa765017820c753596b8fdd84039455a13352c481fe3d7bd987eeb34343ff90d93967c990
7
+ data.tar.gz: b32bab00a8e7decb84a1c06005a6f103788ac55617f85eeb16a24d4effa73eea84f8a49fb6ccecdbe6748e376077504b56ce3b9e430345f52474c0c38345de94
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
+
@@ -31,7 +31,7 @@ class LogStash::Outputs::CSV < LogStash::Outputs::File
31
31
 
32
32
  public
33
33
  def receive(event)
34
- return unless output?(event)
34
+
35
35
  path = event.sprintf(@path)
36
36
  fd = open(path)
37
37
  csv_values = @fields.map {|name| get_value(name, event)}
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-output-csv'
4
- s.version = '2.0.0'
4
+ s.version = '2.0.1'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "Write events to disk in CSV or other delimited format"
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 'logstash-output-file'
26
26
  s.add_runtime_dependency 'logstash-filter-json'
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-csv
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: