logstash-input-meetup 3.0.0 → 3.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: 5a32a2d4185ee8dd83f72271e5431c263f27619e
4
- data.tar.gz: 2987221c9a539a01babf3005bd78569e613366b2
3
+ metadata.gz: b2db897973865ec9b2e649d9d537a3fd8cabb739
4
+ data.tar.gz: c9d3aa8efddf4f9a8ce4c7bfaf1f637e32c44c98
5
5
  SHA512:
6
- metadata.gz: 283d23d5d7b470c2f46648ee386fb7882af85c72e6bd630741671623d9e826eea26984f63ce39fa778b772c48df2c2c947782e6706265c84006e99c6e7e22d8a
7
- data.tar.gz: d97b8d31f0a43bb32387e60e935820bd8638cc23bdb90cfa45f84bd1adac400badaaed8b3be276ec0b44107e9b31cd36f3999634c59edef826f12f5b99539eb9
6
+ metadata.gz: 8bfed0430f2e794756d63f3b58b524d9391847d005ab6fd88229cf131be9d5170e029ec7b11f0f52e1557ae05f44f4c2f14d24580e93fa51e651127cddb4ce93
7
+ data.tar.gz: 9080e10f2b14373a726b629915f9f0ff990520320b49c09e1aa0055647bd17c40665bdf35c62087e1c90e4d124e28ef23bb483be3e1e3b1d5f840c1107778fed
data/Gemfile CHANGED
@@ -1,2 +1,11 @@
1
1
  source 'https://rubygems.org'
2
- gemspec
2
+
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,102 @@
1
+ :plugin: meetup
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
+ === Meetup input plugin
18
+
19
+ include::{include_path}/plugin_header.asciidoc[]
20
+
21
+ ==== Description
22
+
23
+ Periodically query meetup.com regarding updates on events for the given meetupkey
24
+
25
+ [id="plugins-{type}s-{plugin}-options"]
26
+ ==== Meetup Input Configuration Options
27
+
28
+ This plugin supports the following configuration options plus the <<plugins-{type}s-{plugin}-common-options>> described later.
29
+
30
+ [cols="<,<,<",options="header",]
31
+ |=======================================================================
32
+ |Setting |Input type|Required
33
+ | <<plugins-{type}s-{plugin}-eventstatus>> |<<string,string>>|No
34
+ | <<plugins-{type}s-{plugin}-groupid>> |<<string,string>>|No
35
+ | <<plugins-{type}s-{plugin}-interval>> |<<number,number>>|Yes
36
+ | <<plugins-{type}s-{plugin}-meetupkey>> |<<string,string>>|Yes
37
+ | <<plugins-{type}s-{plugin}-urlname>> |<<string,string>>|No
38
+ | <<plugins-{type}s-{plugin}-venueid>> |<<string,string>>|No
39
+ |=======================================================================
40
+
41
+ Also see <<plugins-{type}s-{plugin}-common-options>> for a list of options supported by all
42
+ input plugins.
43
+
44
+ &nbsp;
45
+
46
+ [id="plugins-{type}s-{plugin}-eventstatus"]
47
+ ===== `eventstatus`
48
+
49
+ * Value type is <<string,string>>
50
+ * Default value is `"upcoming,past"`
51
+
52
+ Event Status'
53
+
54
+ [id="plugins-{type}s-{plugin}-groupid"]
55
+ ===== `groupid`
56
+
57
+ * Value type is <<string,string>>
58
+ * There is no default value for this setting.
59
+
60
+ The Group ID, multiple may be specified seperated by commas
61
+ Must have one of `urlname`, `venueid`, `groupid`
62
+
63
+ [id="plugins-{type}s-{plugin}-interval"]
64
+ ===== `interval`
65
+
66
+ * This is a required setting.
67
+ * Value type is <<number,number>>
68
+ * There is no default value for this setting.
69
+
70
+ Interval to run the command. Value is in minutes.
71
+
72
+ [id="plugins-{type}s-{plugin}-meetupkey"]
73
+ ===== `meetupkey`
74
+
75
+ * This is a required setting.
76
+ * Value type is <<string,string>>
77
+ * There is no default value for this setting.
78
+
79
+ Meetup Key
80
+
81
+ [id="plugins-{type}s-{plugin}-urlname"]
82
+ ===== `urlname`
83
+
84
+ * Value type is <<string,string>>
85
+ * There is no default value for this setting.
86
+
87
+ URLName - the URL name ie `ElasticSearch-Oklahoma-City`
88
+ Must have one of urlname, venue_id, group_id
89
+
90
+ [id="plugins-{type}s-{plugin}-venueid"]
91
+ ===== `venueid`
92
+
93
+ * Value type is <<string,string>>
94
+ * There is no default value for this setting.
95
+
96
+ The venue ID
97
+ Must have one of `urlname`, `venue_id`, `group_id`
98
+
99
+
100
+
101
+ [id="plugins-{type}s-{plugin}-common-options"]
102
+ include::{include_path}/{type}.asciidoc[]
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-input-meetup'
4
- s.version = '3.0.0'
4
+ s.version = '3.0.1'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "Query and pull events from meetup groups."
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-meetup
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.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: 2017-04-28 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
@@ -50,6 +50,7 @@ files:
50
50
  - LICENSE
51
51
  - NOTICE.TXT
52
52
  - README.md
53
+ - docs/index.asciidoc
53
54
  - lib/logstash/inputs/meetup.rb
54
55
  - logstash-input-meetup.gemspec
55
56
  - spec/inputs/meetup_spec.rb