logstash-input-google-cloud-pubsub 2.0.1 → 2.0.2

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: b5a77ddf0f2c116211a2efe4d50205cd37243f7c
4
- data.tar.gz: 4d6833e88b18d401a7d6e65ec3e536214890696e
3
+ metadata.gz: 85b685262b3061ef3ccc3c2945b99fca37987fd5
4
+ data.tar.gz: 9d7d192a923911ae3fb6f4288e41d8985896205d
5
5
  SHA512:
6
- metadata.gz: c886650f9f12809879597bf77f9176685248945582e9bb7f5e6c810960b4075937e272ce4691ea107ac2f08e83b97ef98e69d050be784d93576f68c0d57b24d0
7
- data.tar.gz: 3b8ca12dab7fd871291e4b7cd57c48e1f57abc8ca39c198c51fc458bb7f6ad75d8f788052528dc837d532144308930233b8668dba30040575ef9c25f9fec9b89
6
+ metadata.gz: 95a1cf2a3fac6e6d795b09a2febd96abadc154cd553b02db62ac1a81b3292209bdff0eb05ef12a60a73a211ef7aef45d2205f293fb9bedc67e50cbe23129d4f3
7
+ data.tar.gz: 79be00c330585b0264ce18d32a568dfa2e6f46564e72196fdcf89e49acc59a7c9bdf3d9056f52fb17559400c10796bf1d73d1b12713f7130e2eb4933e179af73
@@ -79,7 +79,7 @@ class LogStash::Inputs::GoogleCloudPubSub < LogStash::Inputs::Base
79
79
  msgs.each do |msg|
80
80
  begin
81
81
  @codec.decode(msg.data) do |event|
82
- msg.attributes.each_pair{|k, v| event[k] = v}
82
+ msg.attributes.each_pair{|k, v| event[k] = v} if msg.attributes
83
83
  decorate(event)
84
84
  queue << event
85
85
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-input-google-cloud-pubsub'
3
- s.version = '2.0.1'
3
+ s.version = '2.0.2'
4
4
  s.licenses = ['Apache License (2.0)']
5
5
  s.summary = "This example input streams a string at a definable interval."
6
6
  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,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-input-google-cloud-pubsub
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Barak Cohen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-09 00:00:00.000000000 Z
11
+ date: 2015-12-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: logstash-core