logstash-input-xmpp 3.0.1 → 3.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -7
- data/lib/logstash/inputs/xmpp.rb +1 -5
- data/logstash-input-xmpp.gemspec +2 -2
- metadata +13 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1e244fcfe5f210a9fbbe49421c7b32d6b227aaaf
|
4
|
+
data.tar.gz: 2e9aabd537c52a504c78e17925c1f8edbfa625bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 17aeac27d3822058d874f78e2c24bdfe379931466df8d4ac292c12ab17dba4bfc44df3fbd32221170629138559e7724da102eb055c56f0eeeedf4a47f7fefe6f
|
7
|
+
data.tar.gz: e000baab4262dd116dd7dc356c898c0cb5864763fdc21ec2e72dd0d895615ad6c205e856ff4fefb5271e3140b1f1e98ace72b73360de95694185b6b02d50ca9e
|
data/CHANGELOG.md
CHANGED
@@ -1,13 +1,22 @@
|
|
1
|
+
## 3.1.1
|
2
|
+
- Relax constraint on logstash-core-plugin-api to >= 1.60 <= 2.99
|
3
|
+
|
4
|
+
## 3.1.0
|
5
|
+
- breaking,config: Remove deprecated config `debug`
|
6
|
+
|
1
7
|
## 3.0.1
|
2
|
-
|
8
|
+
- Republish all the gems under jruby.
|
9
|
+
|
3
10
|
## 3.0.0
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
11
|
+
- Update the plugin to the version 2.0 of the plugin api, this change is required for Logstash 5.0 compatibility. See https://github.com/elastic/logstash/issues/5141
|
12
|
+
|
13
|
+
## 2.0.5
|
14
|
+
- Depend on logstash-core-plugin-api instead of logstash-core, removing the need to mass update plugins on major releases of logstash
|
15
|
+
|
16
|
+
## 2.0.4
|
17
|
+
- New dependency requirements for logstash-core for the 5.0 release
|
18
|
+
|
9
19
|
## 2.0.0
|
10
20
|
- Plugins were updated to follow the new shutdown semantic, this mainly allows Logstash to instruct input plugins to terminate gracefully,
|
11
21
|
instead of using Thread.raise on the plugins' threads. Ref: https://github.com/elastic/logstash/pull/3895
|
12
22
|
- Dependency on logstash-core update to 2.0
|
13
|
-
|
data/lib/logstash/inputs/xmpp.rb
CHANGED
@@ -31,10 +31,6 @@ class LogStash::Inputs::Xmpp < LogStash::Inputs::Base
|
|
31
31
|
# the host on the user/identity is used. (`foo.com` for `user@foo.com`)
|
32
32
|
config :host, :validate => :string
|
33
33
|
|
34
|
-
# Set to true to enable greater debugging in XMPP. Useful for debugging
|
35
|
-
# network/authentication erros.
|
36
|
-
config :debug, :validate => :boolean, :default => false, :deprecated => "Use the logstash --debug flag for this instead."
|
37
|
-
|
38
34
|
public
|
39
35
|
|
40
36
|
def initialize(config)
|
@@ -47,7 +43,7 @@ class LogStash::Inputs::Xmpp < LogStash::Inputs::Base
|
|
47
43
|
attr_reader :client, :muc_clients
|
48
44
|
|
49
45
|
def register
|
50
|
-
Jabber::debug = true if @
|
46
|
+
Jabber::debug = true if @logger.debug?
|
51
47
|
client.connect(@host) # it is ok if host is nil
|
52
48
|
client.auth(@password.value)
|
53
49
|
client.send(Jabber::Presence.new.set_type(:available))
|
data/logstash-input-xmpp.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
|
3
3
|
s.name = 'logstash-input-xmpp'
|
4
|
-
s.version = '3.
|
4
|
+
s.version = '3.1.1'
|
5
5
|
s.licenses = ['Apache License (2.0)']
|
6
6
|
s.summary = "This input allows you to receive events over XMPP/Jabber."
|
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/logstash-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" => "input" }
|
21
21
|
|
22
22
|
# Gem dependencies
|
23
|
-
s.add_runtime_dependency "logstash-core-plugin-api", "
|
23
|
+
s.add_runtime_dependency "logstash-core-plugin-api", ">= 1.60", "<= 2.99"
|
24
24
|
|
25
25
|
s.add_runtime_dependency 'logstash-codec-plain'
|
26
26
|
s.add_runtime_dependency 'xmpp4r', ['0.5']
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-input-xmpp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elastic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-07-14 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
|
+
- !ruby/object:Gem::Version
|
18
|
+
version: '1.60'
|
19
|
+
- - "<="
|
17
20
|
- !ruby/object:Gem::Version
|
18
|
-
version: '2.
|
21
|
+
version: '2.99'
|
19
22
|
name: logstash-core-plugin-api
|
20
23
|
prerelease: false
|
21
24
|
type: :runtime
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '1.60'
|
30
|
+
- - "<="
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version: '2.
|
32
|
+
version: '2.99'
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
requirement: !ruby/object:Gem::Requirement
|
29
35
|
requirements:
|
@@ -104,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
104
110
|
version: '0'
|
105
111
|
requirements: []
|
106
112
|
rubyforge_project:
|
107
|
-
rubygems_version: 2.
|
113
|
+
rubygems_version: 2.6.3
|
108
114
|
signing_key:
|
109
115
|
specification_version: 4
|
110
116
|
summary: This input allows you to receive events over XMPP/Jabber.
|