itriagetestrail 0.1.9 → 0.2.0

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: e3a5aad2cf495b523e8fa901f439212782caa491
4
- data.tar.gz: f3fda924793287517acba1a02c82fb56dbb3c345
3
+ metadata.gz: 6d3a312a4a8588a9fbc95d3198e58eedf284d67f
4
+ data.tar.gz: 584704fadecc6c283ea9b8077cddd062c0993055
5
5
  SHA512:
6
- metadata.gz: 380cc505df1542cc47bd9d0f90f3f461855fc332514c394d3cd87f79555e601c6b1107d77f9eee87833d13cb77afc53d312a917c0d54038ee54c078c10e6f745
7
- data.tar.gz: 3b89771d51ca401510ba50441cf5de4f0e391fd29e1d3b5d808c8ec6e0f2c40c932b39fc49e6d4ff3e378c4ce0820631748ae81d91f60c41bb0643f30baf82a6
6
+ metadata.gz: 5a566037a1ab9ebbbcc39956b9455ad2f63dc6ae6502a21d33a789a656f73a2b47533263ea24e7f48d53fcbe020e579bbddccbc3ac0c6d41fd52460ac1fa37e2
7
+ data.tar.gz: 6686a1ce9f71216896fb8ea803fcf98f0d3b9b5990adb87ed87c42dff2330bc84f15cb68ae5e708268180db3968f907d9dc6f4eb361788f776ef3cce94b225d7
@@ -300,7 +300,9 @@ module Itriagetestrail
300
300
  # including all tests at beginning is necessary so that at least some progress can be seen when
301
301
  # real time updating is enabled.
302
302
  def update_test_run
303
- send = {include_all: false, case_ids: @test_case_ids}
303
+ executed_ids = []
304
+ @results[:results].each {|id| executed_ids << id[:case_id]}
305
+ send = {include_all: false, case_ids: executed_ids}
304
306
  @client.send_post("update_run/#{@run_id}", send)
305
307
  end
306
308
 
@@ -1,3 +1,3 @@
1
1
  module Itriagetestrail
2
- VERSION = '0.1.9'
2
+ VERSION = '0.2.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: itriagetestrail
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - a801069