logstash-input-irc 2.0.1 → 2.0.2

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: e0789456e07718d9323331b079ac947978328c6a
4
- data.tar.gz: b9e4c5aaf7395684c4c6a589ddc82db11c296141
3
+ metadata.gz: b75ea480f8ce7e5f4d5031862c7a3a0ea1b7e0c8
4
+ data.tar.gz: cbbbb458ba199a96b9219019c23103e95295e336
5
5
  SHA512:
6
- metadata.gz: d6d113ef40dd30d684e7aaa633460bc03e9a20741af81aaa5e9bd7df4a9caf350e22f9a8b3144ac1d0d3966cd23ae823b57dfc0817c6d60e65ea10cb208baaa4
7
- data.tar.gz: 62b0bbf6aa6daf914dce53281d0c24551e90700610bf1ed900743aca56b95d562e1a5c3166285ae0885cca9abf8afe00d866320e3e3f6a2678fcc8d9723ea1a5
6
+ metadata.gz: dbb53c002283646b64f5f97939065d70051d8a3fd1f5fdbab567fe57038388c682c0f42750d3a7413dd4ac111e529fb15d07ee0956e16051560ef9b37b3a394a
7
+ data.tar.gz: 5d20581bad120eba8c15dcef26ebbc1e5ec977b5644662a703dd00ecc80c17ac6fe0a13215c2cce569cdd7d41eabf0f16430835b12fd07cd91abae8e257c9c98
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 2.0.2
2
+ - Fix the test to work properly within the context of the LS core
3
+ defaults plugin test.
4
+
1
5
  ## 2.0.0
2
6
  - Plugins were updated to follow the new shutdown semantic, this mainly allows Logstash to instruct input plugins to terminate gracefully,
3
7
  instead of using Thread.raise on the plugins' threads. Ref: https://github.com/elastic/logstash/pull/3895
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-input-irc'
4
- s.version = '2.0.1'
4
+ s.version = '2.0.2'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "Read events from an IRC Server."
7
7
  s.description = "This gem is a logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/plugin install gemname. This gem is not a stand-alone program"
@@ -50,7 +50,7 @@ describe LogStash::Inputs::Irc do
50
50
  let(:nevents) { 1 }
51
51
 
52
52
  let(:events) do
53
- input(subject) do |queue|
53
+ plugin_input(subject) do |queue|
54
54
  nevents.times do
55
55
  channel.call(msg, [], [])
56
56
  end
data/spec/spec_helper.rb CHANGED
@@ -1,24 +1,3 @@
1
1
  # encoding: utf-8
2
2
  require "logstash/devutils/rspec/spec_helper"
3
3
  require 'logstash/inputs/irc'
4
-
5
- module IrcHelpers
6
-
7
- def input(plugin, &block)
8
- queue = Queue.new
9
-
10
- input_thread = Thread.new do
11
- plugin.run(queue)
12
- end
13
- result = block.call(queue)
14
-
15
- plugin.do_stop
16
- input_thread.join
17
- result
18
- end
19
-
20
- end
21
-
22
- RSpec.configure do |c|
23
- c.include IrcHelpers
24
- end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-input-irc
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic