logstash-input-xmpp 3.1.2 → 3.1.3

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: e5af5f061c962f26c3cf42ea57fe2222f2418d69
4
- data.tar.gz: dd0bbd7aff5e8a9465943e1071b9352276ebc3d0
3
+ metadata.gz: 6af926d910590cfd43ecccae94e3656fa3de2815
4
+ data.tar.gz: 9cf4bd2a8c802654e7197134b8c55c96c08624f4
5
5
  SHA512:
6
- metadata.gz: df168c4fced805b7162d36504e04d48f784e7395441210e9faafaba0e8fb8a4dfa9f31e2d76f07ea89cec4011963b29982780ab93701ecdbe51d55b22d11426a
7
- data.tar.gz: 3ad2e394e23a4c06092c8d38f8a975a6195d0dcfedd026c5fc8b060cba37f601f6426cf9e7efc15fa8368ca76cad6767bc6ed2bdc45eab000bc176ed971aec98
6
+ metadata.gz: e09cf900b2af8c87ce061f7c0578b564c738ac1b906cb972012c68eccd04b50e6ef0c033281b49378e4ab4baae96f58bc60ff8c5ee755541cdca7d0f99473b88
7
+ data.tar.gz: 88b17199f19da990a7479083c2c3ab94778f302a6c05278e9126f5b1f8e7866b24d94afea7e467e7ab0f70722c9511f52041422ffa536b4f6556ef215446866e
data/Gemfile CHANGED
@@ -1,4 +1,11 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- # Specify your gem's dependencies in logstash-mass_effect.gemspec
4
3
  gemspec
4
+
5
+ logstash_path = ENV["LOGSTASH_PATH"] || "../../logstash"
6
+ use_logstash_source = ENV["LOGSTASH_SOURCE"] && ENV["LOGSTASH_SOURCE"].to_s == "1"
7
+
8
+ if Dir.exist?(logstash_path) && use_logstash_source
9
+ gem 'logstash-core', :path => "#{logstash_path}/logstash-core"
10
+ gem 'logstash-core-plugin-api', :path => "#{logstash_path}/logstash-core-plugin-api"
11
+ end
@@ -0,0 +1,87 @@
1
+ :plugin: xmpp
2
+ :type: input
3
+
4
+ ///////////////////////////////////////////
5
+ START - GENERATED VARIABLES, DO NOT EDIT!
6
+ ///////////////////////////////////////////
7
+ :version: %VERSION%
8
+ :release_date: %RELEASE_DATE%
9
+ :changelog_url: %CHANGELOG_URL%
10
+ :include_path: ../../../../logstash/docs/include
11
+ ///////////////////////////////////////////
12
+ END - GENERATED VARIABLES, DO NOT EDIT!
13
+ ///////////////////////////////////////////
14
+
15
+ [id="plugins-{type}-{plugin}"]
16
+
17
+ === Xmpp input plugin
18
+
19
+ include::{include_path}/plugin_header.asciidoc[]
20
+
21
+ ==== Description
22
+
23
+ This input allows you to receive events over XMPP/Jabber.
24
+
25
+ This plugin can be used for accepting events from humans or applications
26
+ XMPP, or you can use it for PubSub or general message passing for logstash to
27
+ logstash.
28
+
29
+ [id="plugins-{type}s-{plugin}-options"]
30
+ ==== Xmpp Input Configuration Options
31
+
32
+ This plugin supports the following configuration options plus the <<plugins-{type}s-{plugin}-common-options>> described later.
33
+
34
+ [cols="<,<,<",options="header",]
35
+ |=======================================================================
36
+ |Setting |Input type|Required
37
+ | <<plugins-{type}s-{plugin}-host>> |<<string,string>>|No
38
+ | <<plugins-{type}s-{plugin}-password>> |<<password,password>>|Yes
39
+ | <<plugins-{type}s-{plugin}-rooms>> |<<array,array>>|No
40
+ | <<plugins-{type}s-{plugin}-user>> |<<string,string>>|Yes
41
+ |=======================================================================
42
+
43
+ Also see <<plugins-{type}s-{plugin}-common-options>> for a list of options supported by all
44
+ input plugins.
45
+
46
+ &nbsp;
47
+
48
+ [id="plugins-{type}s-{plugin}-host"]
49
+ ===== `host`
50
+
51
+ * Value type is <<string,string>>
52
+ * There is no default value for this setting.
53
+
54
+ The xmpp server to connect to. This is optional. If you omit this setting,
55
+ the host on the user/identity is used. (`foo.com` for `user@foo.com`)
56
+
57
+ [id="plugins-{type}s-{plugin}-password"]
58
+ ===== `password`
59
+
60
+ * This is a required setting.
61
+ * Value type is <<password,password>>
62
+ * There is no default value for this setting.
63
+
64
+ The xmpp password for the user/identity.
65
+
66
+ [id="plugins-{type}s-{plugin}-rooms"]
67
+ ===== `rooms`
68
+
69
+ * Value type is <<array,array>>
70
+ * There is no default value for this setting.
71
+
72
+ if muc/multi-user-chat required, give the name of the room that
73
+ you want to join: `room@conference.domain/nick`
74
+
75
+ [id="plugins-{type}s-{plugin}-user"]
76
+ ===== `user`
77
+
78
+ * This is a required setting.
79
+ * Value type is <<string,string>>
80
+ * There is no default value for this setting.
81
+
82
+ The user or resource ID, like `foo@example.com`.
83
+
84
+
85
+
86
+ [id="plugins-{type}s-{plugin}-common-options"]
87
+ include::{include_path}/{type}.asciidoc[]
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-input-xmpp'
4
- s.version = '3.1.2'
4
+ s.version = '3.1.3'
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"
@@ -11,7 +11,7 @@ Gem::Specification.new do |s|
11
11
  s.require_paths = ["lib"]
12
12
 
13
13
  # Files
14
- s.files = Dir['lib/**/*','spec/**/*','vendor/**/*','*.gemspec','*.md','CONTRIBUTORS','Gemfile','LICENSE','NOTICE.TXT']
14
+ s.files = Dir["lib/**/*","spec/**/*","*.gemspec","*.md","CONTRIBUTORS","Gemfile","LICENSE","NOTICE.TXT", "vendor/jar-dependencies/**/*.jar", "vendor/jar-dependencies/**/*.rb", "VERSION", "docs/**/*"]
15
15
 
16
16
  # Tests
17
17
  s.test_files = s.files.grep(%r{^(test|spec|features)/})
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-input-xmpp
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.2
4
+ version: 3.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-15 00:00:00.000000000 Z
11
+ date: 2017-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -84,6 +84,7 @@ files:
84
84
  - LICENSE
85
85
  - NOTICE.TXT
86
86
  - README.md
87
+ - docs/index.asciidoc
87
88
  - lib/logstash/inputs/xmpp.rb
88
89
  - logstash-input-xmpp.gemspec
89
90
  - spec/inputs/xmpp_spec.rb