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 +4 -4
- data/lib/logstash/inputs/toggl.rb +3 -1
- data/logstash-input-toggl.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f22f708009c734213880ae17762fa00efcbba44f
|
4
|
+
data.tar.gz: 4ba9708f063ed695d02dd1b833ac55a0f278a2d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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.
|
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"
|