kapacitor-ruby 0.0.5 → 0.0.6

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: e303c577bff56eab54eae11ac4c09f23cd96289c
4
- data.tar.gz: 35c3187805875d33d74475bdb93b433b4936e601
3
+ metadata.gz: fd0725950301f20cb6782e1b064b6b976910dfc4
4
+ data.tar.gz: ea2e7ee716c19957b79e97495ebffa5b4aa05977
5
5
  SHA512:
6
- metadata.gz: d74bd4b75d96a2f328d664646e862d172ba2151ede6ad674c3b07c9c3a8c6c601bd00d9bd8d9554c55bd916a32f94dbf6a47822a6a1246a1e8880c9f6bb5ad20
7
- data.tar.gz: 5ed36133d4e5aec3c59d67f3a0edc0a4831da1e367ebb7faa60aed02ddebc7bddbf3ccfb0b78caecbbebdeaa15b509148d582aadd8c744a24d5a26334845081c
6
+ metadata.gz: b62264c5a64100b40d54424237d0e704ad6a93c33e278bf19a82a33a271ce322fab86a688a20df5390f5788328630bbd694f16e9fd5e549a8d3514046b50defd
7
+ data.tar.gz: 82e8d2b0dfd7b70bea568cec1a97d8138c70cd973f604ff259ec28fbcb2abe1f320c2813fd434be77a1fca86820cf74428b0e34190a3a1a8973a287c905e52ee
@@ -85,9 +85,12 @@ module Kapacitor
85
85
 
86
86
  def tasks
87
87
  tasks = []
88
+
88
89
  api_get('/tasks?fields=id')['tasks'].each do |id|
89
90
  tasks << api_get("/tasks/#{id}")['tasks'].each do |id|
90
91
  end
92
+
93
+ tasks
91
94
  end
92
95
 
93
96
  private
@@ -5,7 +5,7 @@
5
5
  #
6
6
 
7
7
  module Kapacitor
8
- VERSION = "0.0.5"
8
+ VERSION = "0.0.6"
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.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matteo Cerutti