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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: acd2477e0be58696d8be3555e5432f5d3441f67e
4
- data.tar.gz: 8c8082fd33ece3a6276693f947d7bf8cd97b79c5
3
+ metadata.gz: 1e244fcfe5f210a9fbbe49421c7b32d6b227aaaf
4
+ data.tar.gz: 2e9aabd537c52a504c78e17925c1f8edbfa625bd
5
5
  SHA512:
6
- metadata.gz: 7de1bf23727ffe3437e137e33a74fd5913644b469800e51ae018dc908d41a5a73d1d8e98f3acd01ba2b1c8d208830f72ee8047747461b3aa9f3179e19c8f7efc
7
- data.tar.gz: 0f4e2193ad20b0c1340e1e42fc486e8c5203a41b615d217ba329fa15f0db84638cbb8423ceabe231cb1fcc8f42075419d5361f61938ca789d94251307d52c1a7
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
- - Republish all the gems under jruby.
8
+ - Republish all the gems under jruby.
9
+
3
10
  ## 3.0.0
4
- - 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
5
- # 2.0.5
6
- - Depend on logstash-core-plugin-api instead of logstash-core, removing the need to mass update plugins on major releases of logstash
7
- # 2.0.4
8
- - New dependency requirements for logstash-core for the 5.0 release
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
-
@@ -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 @debug || @logger.debug?
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))
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-input-xmpp'
4
- s.version = '3.0.1'
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", "~> 2.0"
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.0.1
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-05-10 00:00:00.000000000 Z
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.0'
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.0'
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.4.8
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.