sensu-plugin 1.4.3 → 1.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sensu-handler.rb +1 -1
- data/lib/sensu-plugin.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a04e3d35dcd589036160b24040b8a6ec4d35f4f7
|
4
|
+
data.tar.gz: 009d80cc7864e9e83770e085cf86b466526d8be1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c4d8da32fe8006478ea1bd6bcf415547bbf5ce99699cdd4b085bc313a01b88930ed9a7ce97a28b3b614333ff21b593b297572e5d18b0f80585f30009ff0ab22
|
7
|
+
data.tar.gz: 94cbaef69b207ba420b02b7c1de2d2bbb6e7e6c235ab8d6074d0fee430148e9174892b518ec27fea6ae2a7bf9dd0a23bcbca78990e9382a5b053dfc82689df42
|
data/lib/sensu-handler.rb
CHANGED
@@ -133,7 +133,7 @@ module Sensu
|
|
133
133
|
end
|
134
134
|
domain = api_settings['host'].start_with?('http') ? api_settings['host'] : 'http://' + api_settings['host']
|
135
135
|
uri = URI("#{domain}:#{api_settings['port']}#{path}")
|
136
|
-
req = net_http_req_class(method).new(uri.
|
136
|
+
req = net_http_req_class(method).new(uri.path)
|
137
137
|
if api_settings['user'] && api_settings['password']
|
138
138
|
req.basic_auth(api_settings['user'], api_settings['password'])
|
139
139
|
end
|
data/lib/sensu-plugin.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sensu-plugin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Decklin Foster
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-
|
12
|
+
date: 2016-12-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json
|