logstash-output-websocket_topics 2.1.5 → 2.1.6

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: ede515b6cf46318db0cecd6218fb6f12b36fc130
4
- data.tar.gz: c986d2ca27dbc177220de090c0cabb453061590a
3
+ metadata.gz: 634f284f7ed9dd1209be3f3d3eeb7c910e082dcd
4
+ data.tar.gz: fdd20e79d3b479aca57af3ccb2e5229e21e1af2c
5
5
  SHA512:
6
- metadata.gz: 5bde5bb942d484ad1f87d2b12f516349e7e4132e9d6574ef42255207824e346acfe9b7f7d7d6fc3a2456cc738ccd1489a75bd44116f137726ca48ae0c9315ba1
7
- data.tar.gz: 3a787d35fdad25c3344c1d250b92d748307097b2e2416ea25f8e7849cdae02b6eb3485c641c1d2090e1cdf36befc7d30d809c12be16a38d823ac24ad1a79a543
6
+ metadata.gz: 90ca864cee7c083ca584c64a8411e80dfdd8be1339a5e7d15e76e8c016a94646579c3baa767bf101377d5821acdf590e0f12fb5100e55977e1ae0eeeb5aff0e0
7
+ data.tar.gz: d835aaa8b5b985f9bd26cc9523f635242825c31d4ed01371d676ca07d711441b1194be6a8224bcd27feb77284b3a1819f50b25266b9d3c4a5ac7f58ed65fef90
@@ -43,7 +43,7 @@ class LogStash::Outputs::WebSocket < LogStash::Outputs::Base
43
43
 
44
44
  public
45
45
  def receive(event)
46
- topic = event.topic
46
+ topic = event['topic']
47
47
  if @channels.has_key?(topic)
48
48
  @channels[topic].publish(event.to_json)
49
49
  else
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-output-websocket_topics'
4
- s.version = '2.1.5'
4
+ s.version = '2.1.6'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "This output runs a websocket server and publishes any messages to those conencted clients that have subscribed to the topic being published."
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-output-websocket_topics
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.5
4
+ version: 2.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Osheroff