logstash-filter-sleep 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: 9ff753359a4c4e031a53508db32ce7bd5af1f275
4
- data.tar.gz: a1e3d75810e4763a542e1a8e8be3b880e9fd74ac
3
+ metadata.gz: d1382c7a50590aa291ec9b43a7c5c41d58b30314
4
+ data.tar.gz: 9b137e41a7ee331908b0ec8819f439b39d3b127c
5
5
  SHA512:
6
- metadata.gz: 02a363ba0ee8ff54f20935efaf1926cca232c4b369bd808c773fcd250048c5811f0a0e21f920fb5b02f4b1c1a9efc738a211821dc600e0f4bbe96683ab62603e
7
- data.tar.gz: 5e1e27fa2222b4e050f65065b1e65d6fdd34d30107de34dd6ff0d7ca8e0e833f8491a61180dfabfffd501ad398776cfd47efbb3c46bfbe53d884f2008af01162
6
+ metadata.gz: c192991deab22b85618a1b68f421f487f10e3cff06d3ca026d65cfe9f3f3b495dbffc4a3108201f2103ea2e5d98e4c857d9491071805f5d4fd11159147f4633e
7
+ data.tar.gz: b17cd3a2a9b8db4d6eb3f069bc05cdd60afaffe9e529dbd783efce0432d26ebba83a8b387dfef27d6e145534987b04681c53b7d5eee903f3af32b9ad21ab70bf
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
+
@@ -78,7 +78,7 @@ class LogStash::Filters::Sleep < LogStash::Filters::Base
78
78
 
79
79
  public
80
80
  def filter(event)
81
- return unless filter?(event)
81
+
82
82
  @count += 1
83
83
 
84
84
  case @time
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-filter-sleep'
4
- s.version = '2.0.0'
4
+ s.version = '2.0.1'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "Sleep a given amount of time"
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" => "filter" }
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-filter-sleep
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: