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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 17743fd5936eb4475ead28bb8ad54cdae4717fd9
4
- data.tar.gz: b64587bb73c77055c3380d261e6c1ce9da4a9328
3
+ metadata.gz: a04e3d35dcd589036160b24040b8a6ec4d35f4f7
4
+ data.tar.gz: 009d80cc7864e9e83770e085cf86b466526d8be1
5
5
  SHA512:
6
- metadata.gz: e01ded70b64dcca3a37098105692e7cc2e7e0a9c0abd4418dd51878bd29c6bc4944a6c54b128ab21edfdc4793622e11fede961173cf80960fba232fe743f60c2
7
- data.tar.gz: dbc1761185f3ebe493f155821352f9a70001a154f511db4216883d9832e943d3be5f8133cedbe9c1b4702d1e9055997ac928ef12ad1046820c059ac465fc0446
6
+ metadata.gz: 7c4d8da32fe8006478ea1bd6bcf415547bbf5ce99699cdd4b085bc313a01b88930ed9a7ce97a28b3b614333ff21b593b297572e5d18b0f80585f30009ff0ab22
7
+ data.tar.gz: 94cbaef69b207ba420b02b7c1de2d2bbb6e7e6c235ab8d6074d0fee430148e9174892b518ec27fea6ae2a7bf9dd0a23bcbca78990e9382a5b053dfc82689df42
@@ -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.to_s)
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
@@ -1,6 +1,6 @@
1
1
  module Sensu
2
2
  module Plugin
3
- VERSION = "1.4.3"
3
+ VERSION = "1.4.4"
4
4
  EXIT_CODES = {
5
5
  'OK' => 0,
6
6
  'WARNING' => 1,
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.3
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-10-04 00:00:00.000000000 Z
12
+ date: 2016-12-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: json