logstash-devutils 1.2.1-java → 1.3.0-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/logstash/devutils/rspec/logstash_helpers.rb +6 -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: 65e2442230f49f0c892f63dd3f702dfd0b9d5142
|
4
|
+
data.tar.gz: 793f3de5d76012ed42f188e790e916c1381362ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dea2e1aca2a2527539fa026a4a183811121deb4f929b195e32e5f24d285c41fdc39f1d436d669b4c1269e9ad063cd06ed6f6df8cbc15c06e6ae3fd9cc47957cb
|
7
|
+
data.tar.gz: df7d4a76653b5d4093063cb757721eff00132c1b87479bc8c3c53fd83c9f7e76ad4f5d13e9fce0492b7073b2e8d8e752d79d345f16d4202b0456a34e3af37684
|
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,11 @@ require "rspec/expectations"
|
|
6
6
|
require "thread"
|
7
7
|
|
8
8
|
module LogStashHelper
|
9
|
+
class TestPipeline < LogStash::Pipeline
|
10
|
+
public :filter
|
11
|
+
public :flush_filters
|
12
|
+
end
|
13
|
+
|
9
14
|
DEFAULT_NUMBER_OF_TRY = 5
|
10
15
|
DEFAULT_EXCEPTIONS_FOR_TRY = [RSpec::Expectations::ExpectationNotMetError]
|
11
16
|
|
@@ -31,7 +36,7 @@ module LogStashHelper
|
|
31
36
|
name = name[0..50] + "..." if name.length > 50
|
32
37
|
|
33
38
|
describe "\"#{name}\"" do
|
34
|
-
let(:pipeline) {
|
39
|
+
let(:pipeline) { TestPipeline.new(config) }
|
35
40
|
let(:event) do
|
36
41
|
sample_event = [sample_event] unless sample_event.is_a?(Array)
|
37
42
|
next sample_event.collect do |e|
|
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.
|
9
|
+
spec.version = "1.3.0"
|
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.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Elastic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-02-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|