logstash-input-toggl 0.1.1 → 0.1.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
  SHA1:
3
- metadata.gz: bb29322cb2e381ea48dabe689d09bb93bc025073
4
- data.tar.gz: 68bd97095796d1b2e34e1a915a8116b289cb3752
3
+ metadata.gz: f22f708009c734213880ae17762fa00efcbba44f
4
+ data.tar.gz: 4ba9708f063ed695d02dd1b833ac55a0f278a2d1
5
5
  SHA512:
6
- metadata.gz: b5016d29cfa2dbe98f5e5ef2eaa2087b73b8e000283e751cd2853dc89e044e10829f76f0f02736633c1ee2307d6c64c0f913bf706501f8be3639db913b14c2c8
7
- data.tar.gz: 476c02a499feb106c738b18de92fe6d922d8204e2a5c98db0a4192fe08f00903d71a4f9e8c2d709bfed8cfe0a65392a2f5c6ce49aab438bdd4c0910c172f21f9
6
+ metadata.gz: 2274bd56d9c84c9b02cc6f7d63cc19ea41262947fb4fa561d742574b5a9d2e837f8f0c1eb4c913ad051ef59a11a9fb77aa7bf8715e60205a0eb960cd7ef67ad1
7
+ data.tar.gz: f86d9781587aebd1b61cb160379b837522bf61bd094d3527c4cb218610d0db93b52c5a00f83a6e9a0ec8bfb3818ce211f490e5197a91bc2881da04230dad5aac
@@ -46,7 +46,9 @@ class LogStash::Inputs::Toggl < LogStash::Inputs::Base
46
46
  @url = "https://toggl.com/reports/api/v2/details?workspace_id=#{ @workspace_id }&user_agent=#{ @user_agent }&#{ addon }"
47
47
  @logger.info? && @logger.info("Registering Toggl Input", :url => @url, :interval => @interval)
48
48
 
49
- @connection = Faraday.new do |builder|
49
+ @connection = Faraday.new(:ssl => {
50
+ :ca_path => "/usr/lib/ssl/certs"
51
+ }) do |builder|
50
52
  builder.use Faraday::Request::Retry
51
53
  builder.use Faraday::Request::BasicAuthentication, @api_token, 'api_token'
52
54
  builder.use Faraday::Response::Logger
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-input-toggl'
3
- s.version = '0.1.1'
3
+ s.version = '0.1.2'
4
4
  s.licenses = ['Apache License (2.0)']
5
5
  s.summary = "Pull time entries from a detailed report Toggl API."
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"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-input-toggl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shoutem