logstash-input-bunny 0.1.0 → 0.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: 259e391542e40810f649e7e26f5272676c95733a
4
- data.tar.gz: d04518400d59c30d0a1eb3b5d543bded90e57164
3
+ metadata.gz: 68a4c8ef3e80b7e0b2f6834749d563e7073a6c9a
4
+ data.tar.gz: 612562a940e59aed7770e743211cd44e1268bfc2
5
5
  SHA512:
6
- metadata.gz: 468a42c61dce3cc2be23771f618571517dce693a683a96b11ec234aae7684793b3ba3d6f2555829e20e4121ba9bf545d3939877982889c8e7def1f09b0fba615
7
- data.tar.gz: 111b235d13ba3711500c456f5b016e401473e0ccc7b90a739fb98e0b7f65de38c6f6c9d92fd880bc50444e527b4e94e84d7b0550192bcbaa63be55fc429bf9e2
6
+ metadata.gz: 7a11da1075a77dacf2c76d1b742b640a18ea2153cadbcddc255a93c1afb50f3af031f7cb657af8296552d5553c5fb3b5c67995e166080b6dad6fc8a1a14a507a
7
+ data.tar.gz: 338a295f6d81b0969116235b60b0cdf5f0e972c3268aeabd0159f609bfbab7f11e7403921ab1969e4e10d0ba6f42d83a4453447773021650623fb9eddde4ab41
data/.gitignore ADDED
@@ -0,0 +1 @@
1
+ *.gem
@@ -1,6 +1,7 @@
1
1
  # encoding: utf-8
2
2
  require "logstash/inputs/threadable"
3
3
  require "logstash/namespace"
4
+ require "logstash/inputs/rabbitmq/bunny"
4
5
 
5
6
  # Pull events from a RabbitMQ exchange.
6
7
  #
@@ -110,8 +111,7 @@ class LogStash::Inputs::Bunny < LogStash::Inputs::Threadable
110
111
  super
111
112
  end
112
113
 
113
- require "logstash/inputs/rabbitmq/bunny"
114
- include BunnyImpl
114
+ include ::LogStash::Inputs::RabbitMQ::BunnyImpl
115
115
 
116
116
  def register
117
117
  super
@@ -119,8 +119,9 @@ class LogStash::Inputs::Bunny < LogStash::Inputs::Threadable
119
119
  if @ssl and @ssl_cert
120
120
  @session[:tls_cert] = @ssl_cert
121
121
  @session[:tls_key] = @ssl_key
122
- @session[:tls_ca_certificates] = [@ssl_ca_Cert]
122
+ @session[:tls_ca_certificates] = [@ssl_ca_cert] if @ssl_ca_cert
123
123
  @session[:verify_peer] = @verify_peer
124
+ end
124
125
  end
125
126
  end # class LogStash::Inputs::RabbitMQ
126
127
 
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-input-bunny'
4
- s.version = '0.1.0'
4
+ s.version = '0.1.1'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "Pull events from a RabbitMQ exchange."
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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-input-bunny
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Serafini
@@ -94,6 +94,7 @@ executables: []
94
94
  extensions: []
95
95
  extra_rdoc_files: []
96
96
  files:
97
+ - ".gitignore"
97
98
  - CONTRIBUTORS
98
99
  - Gemfile
99
100
  - LICENSE