logstash-filter-bytes 1.0.1 → 1.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
  SHA256:
3
- metadata.gz: b9c234230c5e15c01fae29f5543a2e7f66869a4b86a736854fb3ab97cc719177
4
- data.tar.gz: 3e31b97a09978c23d87da94501edf2bcf6c93a3ad7e178777e8c4e300a6be6ab
3
+ metadata.gz: 814bab971ea5c51ccf44b555d18ad47e52290670e5bbfb72a2e80421ff60bf48
4
+ data.tar.gz: aa01f862d0ac5f3ea83ae1cb7b3e7a9df49bee1edcf57e64a2c9d699912f9d2b
5
5
  SHA512:
6
- metadata.gz: a193881ba27c343785b7cb18a7c4b62ce4f82e9a9276ae213bec07feea2ecdf1bae223aa65834b97d9fcf401ae4f34679bd5af96a8b89cdc0fa59f7c0b9bbd93
7
- data.tar.gz: 0cb75860b2d9d8fddcd7018e13e6cc24b6ccdd2ad048d0fc9103aa9b5d539eb7d6ce267be0050a57ad70e638e4c0dbfa5d50b821f9ad4e8e9f4322fe3cdd1680
6
+ metadata.gz: 8d282bae1c9064021828ba928451a82ebc3b59614f42dac935ecba7bfa4fe6db2d66a5116f0b4c6468db1f93f48a0b20919f55f327acc64930703da40f5e0851
7
+ data.tar.gz: 142079c85d784027b21e7486df7384b975a1df07cb37480e4b776ec81052294e4bdbb4e054f8254034d4d6250a108eb9120a6abfac2e09f8bb04c48cb2842fe6
@@ -1,2 +1,8 @@
1
- ## 0.1.0
2
- - Plugin created with the logstash plugin generator
1
+ ## 1.0.2
2
+ - Fixes crashing if source is not a String type [#6](https://github.com/logstash-plugins/logstash-filter-bytes/pull/6)
3
+
4
+ ## 1.0.1
5
+ - Remove non-existant configuration option [#5](https://github.com/logstash-plugins/logstash-filter-bytes/pull/5)
6
+
7
+ ## 1.0.0
8
+ - Initial release
@@ -64,7 +64,7 @@ class LogStash::Filters::Bytes < LogStash::Filters::Base
64
64
 
65
65
  source = event.get(@source)
66
66
 
67
- if !source
67
+ if !source or !source.is_a? String
68
68
  @tag_on_failure.each{|tag| event.tag(tag)}
69
69
  return
70
70
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-filter-bytes'
3
- s.version = '1.0.1'
3
+ s.version = '1.0.2'
4
4
  s.licenses = ['Apache-2.0']
5
5
  s.summary = "This filter parses strings representing computer storage sizes into numeric bytes"
6
6
  s.description = 'This filter parses strings representing computer storage sizes (e.g. "123 MB" or "6.3GB") into numeric bytes (12'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-filter-bytes
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-24 00:00:00.000000000 Z
11
+ date: 2018-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement