kapacitor-ruby 0.0.12 → 0.0.13

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: 94be59b86cd534c61ffd23b32d4ba8e65c28144c
4
- data.tar.gz: 624f5736361dcf348ec119b5f399a70f0e96344b
3
+ metadata.gz: 795cb8cba13bf7643718aff7e5d2755fed163b3e
4
+ data.tar.gz: c25770257f9f8a8836c5149c34ac25574742a6f1
5
5
  SHA512:
6
- metadata.gz: 8b6548cbcf460be2ddafb9251ecd495a710074816d3e5a528dfc729b614761c63305270eabc4c185b43dbfaa732a507d99ab8316144ea03b77ecf1c7098560bf
7
- data.tar.gz: 6a5b6db35f27ec5cfbab68a227a779dbb503af68f252e5e6a8ba85bf6d4cd5ca3c9897656f9ea3c18d04f850dddeebd0edcfb0938bc17e5fa42c557f0d893de1
6
+ metadata.gz: 0d12403ece9d64cb88e01194fc69cc53ded04bcd4c568d1e90cee2862ddab4eb2a4fa52d45d6cb657a8d9807edd2d0ec673a7cf48900f728f379bad40bf93a11
7
+ data.tar.gz: fddd0de75f3592fbf0f6297b297a2f32b6072266b0df22db761ea09a56d3aaefcd70403ec65d98cd8c8a671eccd9eb6daed5eb26da74e348be0b26a13f4a061d
@@ -57,7 +57,7 @@ module Kapacitor
57
57
  end
58
58
 
59
59
  def define_task(id, opts = {})
60
- raise ArgumentError, "Kapacitor task dbrps is required"
60
+ raise ArgumentError, "Kapacitor task dbrps is required" unless opts['dbrps']
61
61
 
62
62
  if (opts['template_id'].nil? and opts['type'].nil? and opts['script'].nil?) or (opts['template_id'] and (opts['type'] or opts['script']))
63
63
  raise ArgumentError, "Must specify either a Template ID or a script and type"
@@ -5,7 +5,7 @@
5
5
  #
6
6
 
7
7
  module Kapacitor
8
- VERSION = "0.0.12"
8
+ VERSION = "0.0.13"
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.12
4
+ version: 0.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matteo Cerutti