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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4b970a5346036873d01b1eabb41426a29898a2e8
4
- data.tar.gz: e75b29d85523bb13a667d5ea8eade56a1e3bf2df
3
+ metadata.gz: 65e2442230f49f0c892f63dd3f702dfd0b9d5142
4
+ data.tar.gz: 793f3de5d76012ed42f188e790e916c1381362ca
5
5
  SHA512:
6
- metadata.gz: 808b7a12367aeee2c31b98ee9a4bbf1d23d758c8ee808ba835bc31483b717c99d4dca0ee92ec177647440aa582d02a537b2a98797b25aa316ed75e20a8b648d2
7
- data.tar.gz: f9c07f8565684d645939fd88d53b91e4c75c66a5313507ce0853905bdf43ae9e709646cfd96a9559cc60f9070eb19bc980ea6acacffe0855ce7bbe654e432aac
6
+ metadata.gz: dea2e1aca2a2527539fa026a4a183811121deb4f929b195e32e5f24d285c41fdc39f1d436d669b4c1269e9ad063cd06ed6f6df8cbc15c06e6ae3fd9cc47957cb
7
+ data.tar.gz: df7d4a76653b5d4093063cb757721eff00132c1b87479bc8c3c53fd83c9f7e76ad4f5d13e9fce0492b7073b2e8d8e752d79d345f16d4202b0456a34e3af37684
@@ -1,2 +1,5 @@
1
+ ## 1.3.0
2
+ - Temporary add more visibility into the pipeline to make the #sample method work
3
+
1
4
  ## 1.2.1
2
5
  - require logstash-core gem manually to make all the jars available to the plugin unit tests
@@ -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) { LogStash::Pipeline.new(config) }
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|
@@ -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.2.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.2.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: 2016-12-08 00:00:00.000000000 Z
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