logstash-input-meetup 0.1.4 → 0.1.5

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: 9757f2e47f523a522404275d977bf0e0d6e5ec74
4
- data.tar.gz: 38e7ba836bc444fd5314eb47d0b5ced7f3c61999
3
+ metadata.gz: 4e90815586c75e487d1fb44bc43a8f4df7d625b6
4
+ data.tar.gz: 1c7ffcec855f8869d7035edfb8deaa6afe99522d
5
5
  SHA512:
6
- metadata.gz: 14bb540b74392a81990441e88f4a14fd6487041f36ebcde183ab45c573834a90614fc20bb6563195149c2ab3ab7762810fb3a63ac303dd971e60abaeb0a98df9
7
- data.tar.gz: d7982ccca6fd15cb1229391ca1f063f9b8de6d5f1ccbfdddfa9f5a8958c214c5141cb991214f77ad6cec54d1f43324c0f19be26b55d8cd21d26614c99f4f7bed
6
+ metadata.gz: 7dff6a72c5d66e1e397163acb7d390526875f72cd6763801618cf29093304c34d69519f3cbcd358c37722ee967bb16d1eb291e679431afd3a315f8779099e93e
7
+ data.tar.gz: 171f84d38b6700f7b8428913bb2673fb823b0817097342a8840adfdb33749e74af23d48b26f24336f62a0b40eafb6ee5ff997689d3b3b4e2138348956ae1b52b
data/CHANGELOG.md ADDED
File without changes
data/NOTICE.TXT ADDED
@@ -0,0 +1,5 @@
1
+ Elasticsearch
2
+ Copyright 2012-2015 Elasticsearch
3
+
4
+ This product includes software developed by The Apache Software
5
+ Foundation (http://www.apache.org/).
data/README.md CHANGED
@@ -13,7 +13,7 @@ Logstash provides infrastructure to automatically generate documentation for thi
13
13
 
14
14
  ## Need Help?
15
15
 
16
- Need help? Try #logstash on freenode IRC or the logstash-users@googlegroups.com mailing list.
16
+ Need help? Try #logstash on freenode IRC or the https://discuss.elastic.co/c/logstash discussion forum.
17
17
 
18
18
  ## Developing
19
19
 
@@ -69,10 +69,10 @@ class LogStash::Inputs::Meetup < LogStash::Inputs::Base
69
69
  result["results"].each do |rawevent|
70
70
  event = LogStash::Event.new(rawevent)
71
71
  # Convert the timestamps into Ruby times
72
- event['created'] = Time.at(event['created'] / 1000, (event['created'] % 1000) * 1000).utc
73
- event['time'] = Time.at(event['time'] / 1000, (event['time'] % 1000) * 1000).utc
74
- event['group']['created'] = Time.at(event['group']['created'] / 1000, (event['group']['created'] % 1000) * 1000).utc
75
- event['updated'] = Time.at(event['updated'] / 1000, (event['updated'] % 1000) * 1000).utc
72
+ event['created'] = LogStash::Timestamp.at(event['created'] / 1000, (event['created'] % 1000) * 1000)
73
+ event['time'] = LogStash::Timestamp.at(event['time'] / 1000, (event['time'] % 1000) * 1000)
74
+ event['group']['created'] = LogStash::Timestamp.at(event['group']['created'] / 1000, (event['group']['created'] % 1000) * 1000)
75
+ event['updated'] = LogStash::Timestamp.at(event['updated'] / 1000, (event['updated'] % 1000) * 1000)
76
76
  event['venue']['lonlat'] = [event['venue']['lon'],event['venue']['lat']] if rawevent.has_key?('venue')
77
77
  event['group']['lonlat'] = [event['group']['group_lon'],event['group']['group_lat']] if rawevent.has_key?('group')
78
78
  decorate(event)
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-input-meetup'
4
- s.version = '0.1.4'
4
+ s.version = '0.1.5'
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/plugin install gemname. This gem is not a stand-alone program"
metadata CHANGED
@@ -1,17 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-input-meetup
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-20 00:00:00.000000000 Z
11
+ date: 2015-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- requirement: !ruby/object:Gem::Requirement
14
+ name: logstash-core
15
+ version_requirements: !ruby/object:Gem::Requirement
15
16
  requirements:
16
17
  - - '>='
17
18
  - !ruby/object:Gem::Version
@@ -19,10 +20,7 @@ dependencies:
19
20
  - - <
20
21
  - !ruby/object:Gem::Version
21
22
  version: 2.0.0
22
- name: logstash-core
23
- prerelease: false
24
- type: :runtime
25
- version_requirements: !ruby/object:Gem::Requirement
23
+ requirement: !ruby/object:Gem::Requirement
26
24
  requirements:
27
25
  - - '>='
28
26
  - !ruby/object:Gem::Version
@@ -30,43 +28,47 @@ dependencies:
30
28
  - - <
31
29
  - !ruby/object:Gem::Version
32
30
  version: 2.0.0
31
+ prerelease: false
32
+ type: :runtime
33
33
  - !ruby/object:Gem::Dependency
34
+ name: addressable
35
+ version_requirements: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - '>='
38
+ - !ruby/object:Gem::Version
39
+ version: '0'
34
40
  requirement: !ruby/object:Gem::Requirement
35
41
  requirements:
36
42
  - - '>='
37
43
  - !ruby/object:Gem::Version
38
44
  version: '0'
39
- name: addressable
40
45
  prerelease: false
41
46
  type: :runtime
47
+ - !ruby/object:Gem::Dependency
48
+ name: logstash-devutils
42
49
  version_requirements: !ruby/object:Gem::Requirement
43
50
  requirements:
44
51
  - - '>='
45
52
  - !ruby/object:Gem::Version
46
53
  version: '0'
47
- - !ruby/object:Gem::Dependency
48
54
  requirement: !ruby/object:Gem::Requirement
49
55
  requirements:
50
56
  - - '>='
51
57
  - !ruby/object:Gem::Version
52
58
  version: '0'
53
- name: logstash-devutils
54
59
  prerelease: false
55
60
  type: :development
56
- version_requirements: !ruby/object:Gem::Requirement
57
- requirements:
58
- - - '>='
59
- - !ruby/object:Gem::Version
60
- version: '0'
61
61
  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
62
62
  email: jason.kendall@elastic.co
63
63
  executables: []
64
64
  extensions: []
65
65
  extra_rdoc_files: []
66
66
  files:
67
+ - CHANGELOG.md
67
68
  - CONTRIBUTORS
68
69
  - Gemfile
69
70
  - LICENSE
71
+ - NOTICE.TXT
70
72
  - README.md
71
73
  - Rakefile
72
74
  - lib/logstash/inputs/meetup.rb