kapacitor-ruby 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/kapacitor/client.rb +1 -1
- data/lib/kapacitor/version.rb +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: 5b8b80f24d232171210f2628df15c27ff46d01d9
|
4
|
+
data.tar.gz: bd17a86a1dccef0fce80bff8c16eec08a9ba08ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5de56fb787dfe8ff83427fb843ca702f46908e056bbcc11a07340a5b4fee636ee37c76a1602980f788a90b7d0eff64f5e5eef5e6f801a189b272b5b867e45275
|
7
|
+
data.tar.gz: 37f2ab3ed8d4a0390e4309acb268c973125132360160b6ae5f3f61d98c38d95d1e254d2551718a17288704e3cecc6e76d1879a1904f1c6bcc751de048a18d222
|
data/lib/kapacitor/client.rb
CHANGED
@@ -15,7 +15,7 @@ module Kapacitor
|
|
15
15
|
host = opts['host'] || 'localhost'
|
16
16
|
version = opts['version'] || 'v1'
|
17
17
|
|
18
|
-
@uri = URI.parse("http://#{
|
18
|
+
@uri = URI.parse("http://#{host}/kapacitor/#{version}")
|
19
19
|
@http = Net::HTTP.new(@uri.host, @uri.port)
|
20
20
|
end
|
21
21
|
|
data/lib/kapacitor/version.rb
CHANGED