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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8236b9b121f8ffa358cb5aa30a1f33d8cb4909dd
4
- data.tar.gz: a85f700fd1cc07c3bdcda07715b0938e26d913bd
3
+ metadata.gz: 5b8b80f24d232171210f2628df15c27ff46d01d9
4
+ data.tar.gz: bd17a86a1dccef0fce80bff8c16eec08a9ba08ae
5
5
  SHA512:
6
- metadata.gz: 18d6cc4f3f81810a9f526979f17c9b8f8eb5eeaf0d7b70dd0dbb9aa59235e71ac0a02126aa16e3d03194b71ef708856eea817cfcfa632b00f7e57b6b3c0a1558
7
- data.tar.gz: a1978cba7d9054490e8af5a16df91b7f2bd8595933696b54db0b116da94816493c1c931f24410e0c94d8226e5ccc1ddcbbffb8fd992e15e24734956252bc5914
6
+ metadata.gz: 5de56fb787dfe8ff83427fb843ca702f46908e056bbcc11a07340a5b4fee636ee37c76a1602980f788a90b7d0eff64f5e5eef5e6f801a189b272b5b867e45275
7
+ data.tar.gz: 37f2ab3ed8d4a0390e4309acb268c973125132360160b6ae5f3f61d98c38d95d1e254d2551718a17288704e3cecc6e76d1879a1904f1c6bcc751de048a18d222
@@ -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://#{opts['host']}/kapacitor/#{opts['version']}")
18
+ @uri = URI.parse("http://#{host}/kapacitor/#{version}")
19
19
  @http = Net::HTTP.new(@uri.host, @uri.port)
20
20
  end
21
21
 
@@ -5,7 +5,7 @@
5
5
  #
6
6
 
7
7
  module Kapacitor
8
- VERSION = "0.0.9"
8
+ VERSION = "0.0.10"
9
9
 
10
10
  def self.version
11
11
  VERSION
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kapacitor-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matteo Cerutti