kapacitor-ruby 0.0.11 → 0.0.12

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: 3ac37c34628a7616b6977e3ce1f6278d993a22f6
4
- data.tar.gz: 42051d54439ba0d891c7d8849d1661b52bd48712
3
+ metadata.gz: 94be59b86cd534c61ffd23b32d4ba8e65c28144c
4
+ data.tar.gz: 624f5736361dcf348ec119b5f399a70f0e96344b
5
5
  SHA512:
6
- metadata.gz: f4b3c3c8389c4aa4560325789205ea822833cd6958252a650a373a4d6eccb17f1694cc9f37c360106beed7141b2e2350f884526bd48000cef60f6a5d5958350e
7
- data.tar.gz: 4091572a8130a2bc3474dd5fb0a43ee43c60dca78c3beb010fa134a9ea900384ac29a7bc21ef3d062eafae08f44975c26bccb7a555b7a833f5914e11fff13b51
6
+ metadata.gz: 8b6548cbcf460be2ddafb9251ecd495a710074816d3e5a528dfc729b614761c63305270eabc4c185b43dbfaa732a507d99ab8316144ea03b77ecf1c7098560bf
7
+ data.tar.gz: 6a5b6db35f27ec5cfbab68a227a779dbb503af68f252e5e6a8ba85bf6d4cd5ca3c9897656f9ea3c18d04f850dddeebd0edcfb0938bc17e5fa42c557f0d893de1
@@ -38,8 +38,8 @@ module Kapacitor
38
38
 
39
39
  def update_template(id, opts = {})
40
40
  req = {}
41
- req['type'] = type if opts['type']
42
- req['script'] = script if opts['script']
41
+ req['type'] = opts['type'] if opts['type']
42
+ req['script'] = opts['script'] if opts['script']
43
43
 
44
44
  if opts['type']
45
45
  raise ArgumentError, "Kapacitor template type can be either 'batch' or 'stream'" unless (opts['type'] == 'batch' or opts['type'] == 'stream')
@@ -5,7 +5,7 @@
5
5
  #
6
6
 
7
7
  module Kapacitor
8
- VERSION = "0.0.11"
8
+ VERSION = "0.0.12"
9
9
 
10
10
  def self.version
11
11
  VERSION
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kapacitor-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matteo Cerutti
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-23 00:00:00.000000000 Z
11
+ date: 2017-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json