logstash-devutils 1.3.0-java → 1.3.1-java

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: 65e2442230f49f0c892f63dd3f702dfd0b9d5142
4
- data.tar.gz: 793f3de5d76012ed42f188e790e916c1381362ca
3
+ metadata.gz: 57d158a91b11f9927a34ec686fe46da74ee96a8e
4
+ data.tar.gz: 4ab31ccffdae28e2cca029e1c14f95deab89ca10
5
5
  SHA512:
6
- metadata.gz: dea2e1aca2a2527539fa026a4a183811121deb4f929b195e32e5f24d285c41fdc39f1d436d669b4c1269e9ad063cd06ed6f6df8cbc15c06e6ae3fd9cc47957cb
7
- data.tar.gz: df7d4a76653b5d4093063cb757721eff00132c1b87479bc8c3c53fd83c9f7e76ad4f5d13e9fce0492b7073b2e8d8e752d79d345f16d4202b0456a34e3af37684
6
+ metadata.gz: 01879d12cc76f121e4579a3521d084f72147d64763cc55ac13ec1b8f194cc57879720ed43da31b985fef5d98664558da250bfb7ecf1d0eb4081ef7fe1f2a1cdc
7
+ data.tar.gz: c56633b5f72ba3eec6137e24d124e2308c3912a6d4c91204f981c3b2099bbd326ae07cdb8e8d7ca343ac4f5eeecf0cc8a894f7289de2badf77c799cca80cfc30
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 1.3.1
2
+ - Close pipeline after #sample helper - for compatibility with logstash-core 5.3
3
+
1
4
  ## 1.3.0
2
5
  - Temporary add more visibility into the pipeline to make the #sample method work
3
6
 
@@ -60,6 +60,11 @@ module LogStashHelper
60
60
  results.select { |e| !e.cancelled? }
61
61
  end
62
62
 
63
+ # starting at logstash-core 5.3 an initialized pipeline need to be closed
64
+ after do
65
+ pipeline.close if pipeline.respond_to?(:close)
66
+ end
67
+
63
68
  subject { results.length > 1 ? results : results.first }
64
69
 
65
70
  it("when processed", &block)
@@ -6,7 +6,7 @@ Gem::Specification.new do |spec|
6
6
  files = %x{git ls-files}.split("\n")
7
7
 
8
8
  spec.name = "logstash-devutils"
9
- spec.version = "1.3.0"
9
+ spec.version = "1.3.1"
10
10
  spec.licenses = ["Apache License (2.0)"]
11
11
  spec.summary = "logstash-devutils"
12
12
  spec.description = "logstash-devutils"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-devutils
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: java
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-01 00:00:00.000000000 Z
11
+ date: 2017-02-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement