itriagetestrail 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: de99aa91a1b1cfd4c36a14726de04ee4a4391730
4
- data.tar.gz: 03dba8ae536a3ee66a29e7481fcaecb5df44fdf9
3
+ metadata.gz: f790a108a246bd32d40671679a904a1e41c8fc0f
4
+ data.tar.gz: 67559f3e5e0d1b8672de8bafc54777c497a405a9
5
5
  SHA512:
6
- metadata.gz: 2de9ed80a3a51a1a9e22a9181c836d0116dd729b1ea88f4449394e0ebd9a8614123905941b152ce58a5a725f4d2894374142702e017b8cb387772b1853d20854
7
- data.tar.gz: b7b58cba1a2ed419d7d80b6f6bfd9101db487e7d7341841e9697fe568154030d84a1358f79a1d2ec7b19bd1414c2a062b3360563cc083e258d33157942b02dc5
6
+ metadata.gz: 5969ef31999a2dfa57f143fb6b87a67aede417aef781fd9d1672e017b5df1ef0e74e52d292307b4261bed8307c70d8b351ab7ae355059e28fff4f2807b4a9b9a
7
+ data.tar.gz: 7d9943e4b9574798686842f08c566abe84b13ec9445c4e6d91a6556bc3a49bf57f595102a24ba993b8d395c2aa03ea3db499b889ffd068608c3117b3231e3e5a
@@ -1,3 +1,3 @@
1
1
  module Itriagetestrail
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -170,12 +170,18 @@ module Itriagetestrail
170
170
  @submitted[:results] << @results[:results]
171
171
 
172
172
  send = {:results => @results[:results]}
173
- @pool.schedule do
173
+ # Commenting out the multi-threading stuff
174
+ # @pool.schedule do
174
175
  #make sure tests are part of current run
175
- @client.send_post("add_results_for_cases/#{@run_id}", send)
176
- end
177
-
178
- @results[:results] = @results[:results] - send[:results]
176
+ begin
177
+ res = @client.send_post("add_results_for_cases/#{@run_id}", send)
178
+ puts res
179
+ rescue Exception => e
180
+ raise e
181
+ end
182
+ # end
183
+
184
+ # @results[:results] = @results[:results] - send[:results]
179
185
  end
180
186
  end
181
187
 
@@ -216,11 +222,12 @@ module Itriagetestrail
216
222
 
217
223
  @results[:results] << {case_id: case_id, scenario_title: scenario_title, external_id: external_id, scenario_steps: scenario_steps, status_id: status_id, comment: comment }
218
224
 
219
- if @results[:results].size >= @batch_size
220
-
221
- send_results_to_testrail
222
-
223
- end
225
+ # Removes multi-threading
226
+ # if @results[:results].size >= @batch_size
227
+ #
228
+ # send_results_to_testrail
229
+ #
230
+ # end
224
231
  end
225
232
 
226
233
  def shutdown
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.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - a801069