logstash-devutils 1.3.2-java → 1.3.3-java
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -1
- data/lib/logstash/devutils/rspec/logstash_helpers.rb +5 -1
- data/logstash-devutils.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 93041e4e0e473009efd92fcd45e295f29cb4a744
|
4
|
+
data.tar.gz: 675ccc0b90a75fcded4e76519635c0da05f86668
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7f7f0118a96f9729a618bbe19eaea1be3a89540e3057cd80ec93a71968b7d21f75562958c5d9ec9a532b4e8e927a62c5c33469750d7d2332a42e647c3bd5a988
|
7
|
+
data.tar.gz: de12cc0477e3210e19246e65a393193bd8795824d514c7b5eab38b51c239df2cc4c15b0aafbc8658cb8b53ec3ab787975908ed874eeb04e2d1f1966bd0ac809c
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
|
+
## 1.3.3
|
2
|
+
- Make input function support different pipeline constructor signatures - for compatibility with logstash-core 6.0
|
3
|
+
- Make return of lambda used in input helpers explicit
|
4
|
+
|
1
5
|
## 1.3.2
|
2
|
-
- Make sample function
|
6
|
+
- Make sample function support different pipeline constructor signatures - for compatibility with logstash-core 6.0
|
3
7
|
|
4
8
|
## 1.3.1
|
5
9
|
- Close pipeline after #sample helper - for compatibility with logstash-core 5.3
|
@@ -72,7 +72,7 @@ module LogStashHelper
|
|
72
72
|
end # def sample
|
73
73
|
|
74
74
|
def input(config, &block)
|
75
|
-
pipeline =
|
75
|
+
pipeline = new_pipeline_from_string(config)
|
76
76
|
queue = Queue.new
|
77
77
|
|
78
78
|
pipeline.instance_eval do
|
@@ -82,6 +82,10 @@ module LogStashHelper
|
|
82
82
|
# output_func is now a method, call closure
|
83
83
|
def output_func(event)
|
84
84
|
@output_func.call(event)
|
85
|
+
# We want to return nil or [] since outputs aren't used here
|
86
|
+
# NOTE: In Ruby 1.9.x, Queue#<< returned nil, but in 2.x it returns the queue itself
|
87
|
+
# So we need to be explicit about the return
|
88
|
+
nil
|
85
89
|
end
|
86
90
|
end
|
87
91
|
|
data/logstash-devutils.gemspec
CHANGED
@@ -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.
|
9
|
+
spec.version = "1.3.3"
|
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.
|
4
|
+
version: 1.3.3
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Elastic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-05-
|
11
|
+
date: 2017-05-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|