kapacitor-ruby 0.0.2 → 0.0.3
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: 3e9d86d7eb18f5e82faa80ed5c88f6af9eaf596c
|
4
|
+
data.tar.gz: 736dc4262f77b0f259ce6e054d097343561f5514
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a4ee6574a3cf59cc145d066d58494ab49fbcac341e8aaea233d186e5415b098254bd60fd02f1c3a56ce9010ec2b7b460761b6104b4e6e7df90008a245358e95
|
7
|
+
data.tar.gz: 41f587298b4aad1e936c46037f1bca234ebf92acce9d303148fd80431e933ccd58f361b4fb17bc365b64973a9664edba02df9690e9b6d161a94746fe4e72b187
|
data/lib/kapacitor/client.rb
CHANGED
@@ -11,7 +11,7 @@ module Kapacitor
|
|
11
11
|
class Client
|
12
12
|
attr_reader :uri, :http
|
13
13
|
|
14
|
-
def initialize(host
|
14
|
+
def initialize(host: 'localhost:9092', version: 'v1')
|
15
15
|
@uri = URI.parse("http://#{host}/kapacitor/#{version}")
|
16
16
|
@http = Net::HTTP.new(@uri.host, @uri.port)
|
17
17
|
end
|
data/lib/kapacitor/version.rb
CHANGED