logstash-filter-augment 0.2.0 → 0.3.0

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: 2a72a388e9e7ae66e9f689bd614d6917d2796c78
4
- data.tar.gz: bcdfce52b299a4187fe846e7d8cd2e385b0ead28
3
+ metadata.gz: f8264c407a2b4baac8cc392d1cd687fbc9969286
4
+ data.tar.gz: 89a11581fab01698a5a08311e6bf607969c52f84
5
5
  SHA512:
6
- metadata.gz: 355a1d212bccd9c4af829d45c6e1e73c0395ccf33de9dbb4a20f7f5697d9e2aaf4b816dc1d0580e82cc4637710deddb7cb7acb8db7413a948c80fb8f27e0a017
7
- data.tar.gz: d8c07568b6b23f336065d0a1860f4d6fc83b59bb1c0ce4c17749cc82a22eb601d88301dad8279eeaea8c06f8ca7ad26fcdf4f4fd30d0a51880cd3195b8648241
6
+ metadata.gz: bba291015c94957ccfba1908a964d512a47a105fa18d7e3bbdd2bfe8ce52018b3d01ea31743d29f6c47d51b102f8adfda472259f0a3f16038bedca4bcc2190e4
7
+ data.tar.gz: 9cfaed6ff93a7d349c8cee9ada76e5bf9a46d2ca8c2f1e3e9fe5908fb5274183375beb661cf8df85684e7656d59108cefd15147748a748316cd45139d56b4aa9
@@ -309,7 +309,7 @@ private
309
309
 
310
310
  def refresh_dictionary(filename, raise_exception)
311
311
  mtime = File.mtime(filename)
312
- if ! @dictionary_mtime[filename] && @dictionary_mtime[filename] != mtime
312
+ if ! @dictionary_mtime[filename] || @dictionary_mtime[filename] != mtime
313
313
  @dictionary_mtime[filename] = mtime
314
314
  @logger.info("file #{filename} has been modified, reloading")
315
315
  load_dictionary(filename, raise_exception)
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-filter-augment'
3
- s.version = '0.2.0'
3
+ s.version = '0.3.0'
4
4
  s.licenses = ['Apache License (2.0)']
5
5
  s.summary = 'A logstash plugin to augment your events from data in files'
6
6
  s.description = 'A logstash plugin that can merge data from CSV, YAML, and JSON files with events.'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-filter-augment
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Caldwell
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-02-13 00:00:00.000000000 Z
11
+ date: 2017-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement