logstash-output-irc 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8e616651a8f2b2926775e56231c775c08f5c994a
4
- data.tar.gz: 7a1341c809bd62330620d4c7f8a7a3320a720c15
3
+ metadata.gz: 011ea88f227cfa176b6307bea9f0f47114438a96
4
+ data.tar.gz: 1931c26c71d602c6ffd840984f1e7ab99441392b
5
5
  SHA512:
6
- metadata.gz: a1e96a3e33cff988f316b0ed3da0d914e15306edd2ab05d9b9805b1d4e801e691cc2d80885e95a85b658fd3ac93eacfe6780759211b9510ed78d0656bcb08c9b
7
- data.tar.gz: cc52b2b23c099ac1cf268dafcea7ba5c7bcda3b8cf41ada63ba7b5e571d7c24f067148ffe09f70acb5b2974f34970dd43425ba74f74aa467682636d2ffe7f304
6
+ metadata.gz: 18c990385df9e122c3b39f189e29ee2fd84fb660286f57a6a7b252b0f808d7622dffd566224f31a313937ecc1a876a794d64943c67f225f8a4d9ff457b444870
7
+ data.tar.gz: dc6c55b20e1dd4af580a6049812d9794b0414760dd90d6e50e48072a8d0cc9a5665b000da845df2b4f004ac50173df3a84a06b2b113787a4a30cb01e7c827dab
data/CHANGELOG.md CHANGED
@@ -1,2 +1,7 @@
1
+ ## 2.0.0
2
+ - Plugins were updated to follow the new shutdown semantic, this mainly allows Logstash to instruct input plugins to terminate gracefully,
3
+ instead of using Thread.raise on the plugins' threads. Ref: https://github.com/elastic/logstash/pull/3895
4
+ - Dependency on logstash-core update to 2.0
5
+
1
6
  # 1.1.0
2
7
  - Add test to the project
@@ -84,7 +84,7 @@ class LogStash::Outputs::Irc < LogStash::Outputs::Base
84
84
 
85
85
  public
86
86
  def receive(event)
87
- return unless output?(event)
87
+
88
88
  @logger.debug("Sending message to channels", :event => event)
89
89
  text = event.sprintf(@format)
90
90
 
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-output-irc'
4
- s.version = '2.0.0'
4
+ s.version = '2.0.1'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "Write events to IRC"
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"
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
20
20
  s.metadata = { "logstash_plugin" => "true", "logstash_group" => "output" }
21
21
 
22
22
  # Gem dependencies
23
- s.add_runtime_dependency "logstash-core", "~> 2.0.0.snapshot"
23
+ s.add_runtime_dependency "logstash-core", ">= 2.0.0.snapshot", "< 3.0.0"
24
24
  s.add_runtime_dependency 'cinch'
25
25
  s.add_runtime_dependency 'logstash-codec-plain'
26
26
 
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-irc
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-23 00:00:00.000000000 Z
11
+ date: 2015-10-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
15
15
  requirements:
16
- - - ~>
16
+ - - '>='
17
17
  - !ruby/object:Gem::Version
18
18
  version: 2.0.0.snapshot
19
+ - - <
20
+ - !ruby/object:Gem::Version
21
+ version: 3.0.0
19
22
  name: logstash-core
20
23
  prerelease: false
21
24
  type: :runtime
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - ~>
27
+ - - '>='
25
28
  - !ruby/object:Gem::Version
26
29
  version: 2.0.0.snapshot
30
+ - - <
31
+ - !ruby/object:Gem::Version
32
+ version: 3.0.0
27
33
  - !ruby/object:Gem::Dependency
28
34
  requirement: !ruby/object:Gem::Requirement
29
35
  requirements: