diff --git a/lib/logstash/filters/handsetdetection.rb b/lib/logstash/filters/handsetdetection.rb index 17125dd..986216f 100644 --- a/lib/logstash/filters/handsetdetection.rb +++ b/lib/logstash/filters/handsetdetection.rb @@ -56,7 +56,7 @@ def register @hd_config['secret'] = @password @hd_config['site_id'] = @site_id @hd_config['use_local'] = @online_api ? false : true - @hd_config['filesdir'] = '/tmp' + @hd_config['filesdir'] = Dir.tmpdir @hd_config['cache'] = {'none' => {}} @hd_config['debug'] = false @hd_config['api_server'] = @apiserver diff --git a/logstash-filter-handsetdetection.gemspec b/logstash-filter-handsetdetection.gemspec index 3790316..31e5b1c 100644 --- a/logstash-filter-handsetdetection.gemspec +++ b/logstash-filter-handsetdetection.gemspec @@ -1,6 +1,6 @@ Gem::Specification.new do |s| s.name = 'logstash-filter-handsetdetection' - s.version = '4.1.4' + s.version = '4.1.5' s.licenses = ['MIT'] s.summary = "Handset Detection filter plugin for Logstash" s.description = "This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program" @@ -19,7 +19,7 @@ Gem::Specification.new do |s| # Gem dependencies s.add_runtime_dependency "logstash-core-plugin-api", ">= 1.60", "<= 2.99" - s.add_runtime_dependency "handset_detection", "~> 4.1", ">= 4.1.4" + s.add_runtime_dependency "handset_detection", "~> 4.1", ">= 4.1.5" #s.add_development_dependency 'logstash-devutils' end