kapacitor-ruby 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 102b40a3d2e642e578b98767820e73cfda264ba6
4
- data.tar.gz: 86987d17ef079c29882d6987c39746346034bd3a
3
+ metadata.gz: 79bbedb54161374f17dfd6d1781e1baf8d483760
4
+ data.tar.gz: 9e0d4b2b4aa32da574f330bb32037918d07256b4
5
5
  SHA512:
6
- metadata.gz: 157f9a71d7a9bcef701a72d25d602151acc7f12b3376e00fa9273c30d12f47c2fb12b133989005c9fbe8d631659017762dcd421af2cc650409900fbd50fabc97
7
- data.tar.gz: e82e8b70df2a1bc3051e6912d46e07fde3a16f5ec0a9848ca9418402bc0e3b1131c0e2611587b7d4d885a21c024a738222359dedc00e4a65ee7ee7213806f587
6
+ metadata.gz: 6925cab3a4ac82ce9dd82a163b6bce11a45d80b43b871e3e8190749700a403fdb8b1299ff88720343b38910ec905dd3561c8e23722da662f4798a8949e4f8599
7
+ data.tar.gz: 7c68807eb08758aa8bb953cbf09a6c346681754e764ad647232a0b211676342631dcc9a19e4e6774c1098ad91694b99a0e97571fe025c1f970c0493cd5613f46
@@ -13,8 +13,8 @@ module Kapacitor
13
13
  # @param url [String] Kapacitor REST API's URL (defaults to `http://localhost:9092`)
14
14
  # @param version [Integer] API version (defaults to `v1preview`)
15
15
  #
16
- def initialize(host: 'http://localhost:9092', version: 'v1preview')
17
- @uri = URI.parse("#{host}/kapacitor/#{version}")
16
+ def initialize(url: 'http://localhost:9092', version: 'v1preview')
17
+ @uri = URI.parse("#{url}/kapacitor/#{version}")
18
18
  @http = Net::HTTP.new(@uri.host, @uri.port)
19
19
  end
20
20
 
@@ -3,7 +3,7 @@
3
3
  #
4
4
 
5
5
  module Kapacitor
6
- VERSION = "1.0.0"
6
+ VERSION = "1.0.1"
7
7
 
8
8
  def self.version
9
9
  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: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matteo Cerutti