logstash-devutils 2.0.2-java → 2.0.3-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
  SHA256:
3
- metadata.gz: bea3aed46049f9e213c68ff3f0271bdb6f32253f59368a5dbec6c94988c99693
4
- data.tar.gz: af4b9f342648b1dc8c346f450eeb311a64a9985847e069b1978cbe7ea1175c87
3
+ metadata.gz: 67f5646f9993c107433a311f1b5e16a810ca1c37fc71696dd2645015748a3429
4
+ data.tar.gz: 19824cebaacc463655f4daaeca01f08aeb63d3b2b8a69680762019b4b06197b6
5
5
  SHA512:
6
- metadata.gz: deba0abca9bae4f1650874649e4be4e58e1ed7e1f2e32e98dca578f01aafb3b217a552644786b7d687767c393e23b489eb0ae1e795f3774a4b8de8f28a39c49d
7
- data.tar.gz: 3e35bb4b9e1c4c11d83d5d1ce65751339c10374706e19442241fd2b4ae957c6ce0bf3a61f85a29778affc1efb94dfdf52538d6b80c7996eccb0f2d18424e30e7
6
+ metadata.gz: 43b5bcc23d094d776299f22459a405262ae45159db53e8d2f721742a74041ac5e4f3fe9d064922901ccd6f807da1801c742adf5b2b7840e25aaee269fd3beeaf
7
+ data.tar.gz: 2a05c75842180d8b39dc54e32384becb242e4da3f32179c7aca26961b15486df0a863416174eeb2d87422981f8798e25a62c381b9084d1f8a984a58e62bc0f30
@@ -1,3 +1,7 @@
1
+ ## 2.0.3
2
+ - Fix: add missing `events` method to QueuedBatchDelegator, which was causing test failures
3
+ after https://github.com/elastic/logstash/pull/11737 was committed.
4
+
1
5
  ## 2.0.2
2
6
  - Fix: add plain codec as runtime dependency for TestPipeline helper
3
7
 
@@ -151,6 +151,13 @@ module LogStash
151
151
  @delegate.to_java.filtered_size
152
152
  end
153
153
 
154
+ def events
155
+ @delegate.events.tap do |events|
156
+ # filters out rogue (cancelled) events
157
+ @event_tracker.filtered_events events
158
+ end
159
+ end
160
+
154
161
  # @override void merge(IRubyObject event);
155
162
  def merge(event)
156
163
  @delegate.merge(event)
@@ -4,7 +4,7 @@ Gem::Specification.new do |spec|
4
4
  files = %x{git ls-files}.split("\n")
5
5
 
6
6
  spec.name = "logstash-devutils"
7
- spec.version = "2.0.2"
7
+ spec.version = "2.0.3"
8
8
  spec.license = "Apache-2.0"
9
9
  spec.authors = ["Elastic"]
10
10
  spec.email = "info@elastic.co"
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: 2.0.2
4
+ version: 2.0.3
5
5
  platform: java
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-18 00:00:00.000000000 Z
11
+ date: 2020-04-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement