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 +4 -4
- data/CHANGELOG.md +4 -0
- data/logstash-input-irc.gemspec +1 -1
- data/spec/inputs/irc_spec.rb +1 -1
- data/spec/spec_helper.rb +0 -21
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b75ea480f8ce7e5f4d5031862c7a3a0ea1b7e0c8
|
4
|
+
data.tar.gz: cbbbb458ba199a96b9219019c23103e95295e336
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
data/logstash-input-irc.gemspec
CHANGED
@@ -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.
|
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"
|
data/spec/inputs/irc_spec.rb
CHANGED
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
|