kapacitor-ruby 0.0.6 → 0.0.7

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: fd0725950301f20cb6782e1b064b6b976910dfc4
4
- data.tar.gz: ea2e7ee716c19957b79e97495ebffa5b4aa05977
3
+ metadata.gz: 648af550f8893599e7dab2e111d49ac09e3f8cd1
4
+ data.tar.gz: 174d98096322da6abec4f25d797fb7d47d0ebd6a
5
5
  SHA512:
6
- metadata.gz: b62264c5a64100b40d54424237d0e704ad6a93c33e278bf19a82a33a271ce322fab86a688a20df5390f5788328630bbd694f16e9fd5e549a8d3514046b50defd
7
- data.tar.gz: 82e8d2b0dfd7b70bea568cec1a97d8138c70cd973f604ff259ec28fbcb2abe1f320c2813fd434be77a1fca86820cf74428b0e34190a3a1a8973a287c905e52ee
6
+ metadata.gz: 4a5056e8f63bdf1ea80ea00a21ce04cc8d5425e57404a73970d139564b2c083aec48d44be9e55961a69e9d504f4de13639b8083dedb4ac74d48cf1c8413b49ce
7
+ data.tar.gz: 7a60ee7d837261bbc527839606522465c55e67c99ffb25e310076c39f4c210a3a43268ffc5113d53e93a182acfc7780d0c85536fbb770b2b309d36bc2954fd8e
@@ -86,8 +86,8 @@ module Kapacitor
86
86
  def tasks
87
87
  tasks = []
88
88
 
89
- api_get('/tasks?fields=id')['tasks'].each do |id|
90
- tasks << api_get("/tasks/#{id}")['tasks'].each do |id|
89
+ api_get('/tasks?fields=id')['tasks'].each do |task|
90
+ tasks << api_get("/tasks/#{task['id']}")
91
91
  end
92
92
 
93
93
  tasks
@@ -5,7 +5,7 @@
5
5
  #
6
6
 
7
7
  module Kapacitor
8
- VERSION = "0.0.6"
8
+ VERSION = "0.0.7"
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.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matteo Cerutti