logstash-filter-accesswatch 0.2.4 → 0.2.5

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: 1004e11d9fb2b2eafe9d85ac69616c0583e575b496702a1e97a4f4938ee92b5c
4
- data.tar.gz: 001a8b43fee61c5cbd1bc1781a32a47a53c6d477f23b63152dd2573308a3401c
3
+ metadata.gz: 90e3b8014a3bd2f7e8ac6347b59872dede3a4f46f08aeebaca40c6713609c668
4
+ data.tar.gz: 9c7e8f2632d9afa5a9995051cadfd9f2b0e5ad8e21703534c340a37bcd841038
5
5
  SHA512:
6
- metadata.gz: 3a5ba9aaf22cda1af1cc61d567d1645b44296a90924ce39e988584e5e8688faa7c16e079d4f3c2e6d6de6ae735ba33e3ba1fe655deb8cdc243bac2d2a27b6ab7
7
- data.tar.gz: ff2d92e7ff4c7d6e44cf3233e297b3d7a1f6db609613b4b7fd401f1bff56d1a2a780a7c333539c183dbdc4d72a5edd4f203820bad07cdf0ee1ec66dbdda7b992
6
+ metadata.gz: bd76b89510f6755e2d10bebbde54f0be0214f4d3421c7bf0d24127f17f1ada9285464a6c0a543c46bd9b6862a8bfb2acc06cd53b593fdc6f2c46291683bb3126
7
+ data.tar.gz: a99cc4d20e34ee823a957399733b0629adba58c1b525cdff53c7bc682f4f9e29385411417e8a7a1af0367f99d72cad56726b442d03814eb9e85386041015ec08
@@ -49,7 +49,8 @@ class LogStash::Filters::Accesswatch < LogStash::Filters::Base
49
49
 
50
50
  public
51
51
  def register
52
- @client = Manticore::Client.new request_timeout: @timeout, ssl: {:ca_file => "cert.pem"}
52
+ ca_file_path = File.expand_path '../../../cert.pem', File.dirname(__FILE__)
53
+ @client = Manticore::Client.new request_timeout: @timeout, ssl: {:ca_file => ca_file_path}
53
54
  if @cache_size > 0
54
55
  @cache = LruRedux::ThreadSafeCache.new(@cache_size)
55
56
  end
@@ -1,7 +1,7 @@
1
1
  # coding: utf-8
2
2
  Gem::Specification.new do |s|
3
3
  s.name = 'logstash-filter-accesswatch'
4
- s.version = '0.2.4'
4
+ s.version = '0.2.5'
5
5
  s.licenses = ['Apache-2.0']
6
6
  s.summary = 'The Logstash filter plugin for Access Watch (http://access.watch).'
7
7
  s.description = 'The Access Watch filter adds information about robots visiting your website based on data from our robot database.'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-filter-accesswatch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benoît Fleury