logstash-input-github 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: 94f16b8ba743e50e0bbd7dab1170fb68e6486f0a
4
- data.tar.gz: 4a06d2b67cf4d9eee4a6a023f6a7ed317c0a29a3
3
+ metadata.gz: d3c535a0474bb06a0d8020fae140423ecfaa9a65
4
+ data.tar.gz: 3a7c45a0beb9facb3c8ff18a99fc04c5ada7f0e4
5
5
  SHA512:
6
- metadata.gz: a6b18bccc673561f5a003717443efc492c656edb3b6d57c1056d18773360685308f1725ad7d01293c9c80f2a9527608a6dcbec008b12b1a07c063e530006d2d0
7
- data.tar.gz: 114a2df312937f8e4ef1735a37d22702e9440e20cef143d3caed5e2a5aa7af6b341b348f634065f786bb3024df340dc9cd4157f866a88057a21fb2ac4334f0ad
6
+ metadata.gz: 0a91bbb3274a67b949170fd82c877dc4319ca8464e9f696b0a3a5933f9eb3390a6a5c89056f7857c918388d705ec2c38bb95ed5d369a121eadbe5b7ad02518cf
7
+ data.tar.gz: efed9167f17d7147bf3cb58d98797e494abadaaa83e7da32dbe48f7e803a8b2a62055c3d282901c2dd10695b9d85731a4f59f5dc10abf15fc8dcce4e43ebc57d
@@ -0,0 +1 @@
1
+ *.lock
@@ -3,8 +3,6 @@ require "logstash/inputs/base"
3
3
  require "logstash/namespace"
4
4
  require "socket"
5
5
  require "json"
6
- require "rack"
7
-
8
6
 
9
7
  # Read events from github webhooks
10
8
  class LogStash::Inputs::GitHub < LogStash::Inputs::Base
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-input-github'
4
- s.version = '0.1.4'
4
+ s.version = '0.1.5'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "Accept events from github webhooks."
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"
@@ -23,7 +23,9 @@ Gem::Specification.new do |s|
23
23
  s.add_runtime_dependency "logstash-core", '>= 1.4.0', '< 2.0.0'
24
24
 
25
25
  s.add_runtime_dependency 'addressable'
26
+ s.add_runtime_dependency 'logstash-codec-plain', '~> 0.1.6'
27
+ s.add_runtime_dependency 'ftw', '~> 0.0.42'
26
28
 
27
- s.add_development_dependency 'logstash-devutils'
29
+ s.add_development_dependency 'logstash-devutils', '~> 0'
28
30
  end
29
31
 
@@ -1 +1,12 @@
1
- # Empty
1
+ require "logstash/devutils/rspec/spec_helper"
2
+ require "logstash/plugin"
3
+ require "logstash/inputs/github"
4
+
5
+ describe LogStash::Inputs::GitHub do
6
+
7
+ let(:plugin) { LogStash::Plugin.lookup("input", "github").new( {"port" => 9999} ) }
8
+
9
+ it "register without errors" do
10
+ expect { plugin.register }.to_not raise_error
11
+ end
12
+ end
metadata CHANGED
@@ -1,17 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-input-github
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-05-07 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,40 +28,71 @@ 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-codec-plain
42
49
  version_requirements: !ruby/object:Gem::Requirement
43
50
  requirements:
44
- - - '>='
51
+ - - ~>
45
52
  - !ruby/object:Gem::Version
46
- version: '0'
53
+ version: 0.1.6
54
+ requirement: !ruby/object:Gem::Requirement
55
+ requirements:
56
+ - - ~>
57
+ - !ruby/object:Gem::Version
58
+ version: 0.1.6
59
+ prerelease: false
60
+ type: :runtime
47
61
  - !ruby/object:Gem::Dependency
62
+ name: ftw
63
+ version_requirements: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - ~>
66
+ - !ruby/object:Gem::Version
67
+ version: 0.0.42
48
68
  requirement: !ruby/object:Gem::Requirement
49
69
  requirements:
50
- - - '>='
70
+ - - ~>
51
71
  - !ruby/object:Gem::Version
52
- version: '0'
53
- name: logstash-devutils
72
+ version: 0.0.42
54
73
  prerelease: false
55
- type: :development
74
+ type: :runtime
75
+ - !ruby/object:Gem::Dependency
76
+ name: logstash-devutils
56
77
  version_requirements: !ruby/object:Gem::Requirement
57
78
  requirements:
58
- - - '>='
79
+ - - ~>
80
+ - !ruby/object:Gem::Version
81
+ version: '0'
82
+ requirement: !ruby/object:Gem::Requirement
83
+ requirements:
84
+ - - ~>
59
85
  - !ruby/object:Gem::Version
60
86
  version: '0'
87
+ prerelease: false
88
+ type: :development
61
89
  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
90
  email: jason.kendall@elastic.co
63
91
  executables: []
64
92
  extensions: []
65
93
  extra_rdoc_files: []
66
94
  files:
95
+ - .gitignore
67
96
  - CONTRIBUTORS
68
97
  - DEVELOPER.md
69
98
  - Gemfile