kapacitor-ruby 0.0.3 → 0.0.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: 3e9d86d7eb18f5e82faa80ed5c88f6af9eaf596c
4
- data.tar.gz: 736dc4262f77b0f259ce6e054d097343561f5514
3
+ metadata.gz: fe64e9b12e47b683901612276caeab8ddffa1955
4
+ data.tar.gz: b01e0fd07faa43b4c4069fb1f26ddd34ca09fd38
5
5
  SHA512:
6
- metadata.gz: 8a4ee6574a3cf59cc145d066d58494ab49fbcac341e8aaea233d186e5415b098254bd60fd02f1c3a56ce9010ec2b7b460761b6104b4e6e7df90008a245358e95
7
- data.tar.gz: 41f587298b4aad1e936c46037f1bca234ebf92acce9d303148fd80431e933ccd58f361b4fb17bc365b64973a9664edba02df9690e9b6d161a94746fe4e72b187
6
+ metadata.gz: b20705bffe8209e904a5a5a6bc9e63524885e97a680254510b71bd1c53dae86faf2ac6124415f60cf8d539a16b7ae4417534f8c6e2ffb86e8e1a9ff99e1279e7
7
+ data.tar.gz: 3002383fcbeb14412fc25c5ed6f5191515e9610856c3b3829ad97da9b974f9d9eceb75e18db7cf9123db8381460d6bb3d7332ce178646ec3d20d52bf81a74e42
@@ -56,7 +56,7 @@ module Kapacitor
56
56
  }
57
57
 
58
58
  if template_id
59
- req['template_id'] = template_id
59
+ req['template-id'] = template_id
60
60
  else
61
61
  req['type'] = type
62
62
  req['script'] = script
@@ -69,7 +69,7 @@ module Kapacitor
69
69
 
70
70
  def update_task(id:, template_id: nil, type: nil, dbrps: nil, script: nil, status: nil, vars: nil)
71
71
  req = {}
72
- req['template_id'] = template_id if template_id
72
+ req['template-id'] = template_id if template_id
73
73
  req['type'] = type if type
74
74
  req['dbrps'] = dbrps if dbrps
75
75
  req['script'] = script if script
@@ -5,7 +5,7 @@
5
5
  #
6
6
 
7
7
  module Kapacitor
8
- VERSION = "0.0.3"
8
+ VERSION = "0.0.4"
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.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matteo Cerutti