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 +4 -4
- data/lib/kapacitor/client.rb +2 -2
- data/lib/kapacitor/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 648af550f8893599e7dab2e111d49ac09e3f8cd1
|
4
|
+
data.tar.gz: 174d98096322da6abec4f25d797fb7d47d0ebd6a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a5056e8f63bdf1ea80ea00a21ce04cc8d5425e57404a73970d139564b2c083aec48d44be9e55961a69e9d504f4de13639b8083dedb4ac74d48cf1c8413b49ce
|
7
|
+
data.tar.gz: 7a60ee7d837261bbc527839606522465c55e67c99ffb25e310076c39f4c210a3a43268ffc5113d53e93a182acfc7780d0c85536fbb770b2b309d36bc2954fd8e
|
data/lib/kapacitor/client.rb
CHANGED
@@ -86,8 +86,8 @@ module Kapacitor
|
|
86
86
|
def tasks
|
87
87
|
tasks = []
|
88
88
|
|
89
|
-
api_get('/tasks?fields=id')['tasks'].each do |
|
90
|
-
tasks << api_get("/tasks/#{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
|
data/lib/kapacitor/version.rb
CHANGED