logstash-filter-amelia 1.0.0 → 1.0.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: 76bbf584bfef4c42804a90c83de7a9b0600923d3
4
- data.tar.gz: fc78f7ca2dcd2937070421329b2aad7f681cc585
3
+ metadata.gz: 680b9b6fda38878c19861b7be874d5b91a5c4023
4
+ data.tar.gz: bbf7977f692a590f4159f4a8a007d582ba3f47cc
5
5
  SHA512:
6
- metadata.gz: 6b47323b5aa9b0730d5d28eef08703e53afbc9acaa293cd25485c48c83620d7b870a55390daa85833bd8c3f4cf850246d3e463ce76daef400f90f4377df0d7ee
7
- data.tar.gz: 1eb8adeb7c10e618a2e37d470d031037edadc0de57f949500961c734c711e234f1aca0c6a6aefef2ad7eea056609c59b0112e3a57c2c1e517c6ba90d95027048
6
+ metadata.gz: 7a3f51a287e6c0184abc8742b5b6799f68820223501bace8777bbdae3b8f3fa586749138c9543d12d36582b7dd09d6e97dd55c2ad3abd2e6c34eb49dd5068e6d
7
+ data.tar.gz: bf36a1df5ad21fa34a5f0f6ffd23fc3c77cdb5dd8dc8d3d99b34982f47a431caefe4b877a49fad39c33ce51f401f7fc442b0c1e918384a425fa4494516a627b1
@@ -119,9 +119,9 @@ class LogStash::Filters::Amelia < LogStash::Filters::Base
119
119
 
120
120
  value = data[position, value_length]
121
121
  position += value_length
122
- current_args[key] = value
122
+ current_args[key] = value unless (key.nil? || key == '')
123
123
  end
124
- retour << current_args
124
+ retour << current_args unless current_args.empty?
125
125
  end
126
126
  retour
127
127
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-filter-amelia'
3
- s.version = '1.0.0'
3
+ s.version = '1.0.1'
4
4
  s.licenses = ['Apache License (2.0)']
5
5
  s.summary = "This filter extracts data based on the homegrown AMELIA serialisation"
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. The aim is to parse non standard serialization format, see spec for format descitpion"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-filter-amelia
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - LISI Automotive
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-17 00:00:00.000000000 Z
11
+ date: 2016-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: logstash-core