itriagetestrail 0.4.6 → 0.4.7

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: fe93dd19eb21c974745a7063d0609183b2054ef2
4
- data.tar.gz: fc21bb9999c452b502978634ebca80d5a61a5838
3
+ metadata.gz: 0b23ee904a5eb333f36cd52e1146b8d74f402fce
4
+ data.tar.gz: 91748b6ea078e85d85f6621d2009a039b20725e5
5
5
  SHA512:
6
- metadata.gz: 71b7c47ef5acb435faf616f5ec2ec81f7591f677f0245b3b91e5df9e0d394b4ce524d7f9cfdbce3815bcc4695e836b85faf7538691b0d7c69696274944d7a0eb
7
- data.tar.gz: 8f7f307f95f5b2f314afb9f6ed76e534e10b37aae6bfcc87875237a16d9218309b0e043c1775e81694d436139d681d14f4ea3b519f393806b24f97a56dc9c0f2
6
+ metadata.gz: dea84a460071c9bc4f4bc4f9252afcb5a33fe4f396ba28a769a3bcc63cbe40842ca0c924e4ca1539fafd12e153aa945c4ae2a6d3c8e647d7c61370e192eb54d5
7
+ data.tar.gz: 5fb0e4daf0f9ea36ce625c8d41b938b9e1df12f5f570a5cd5d0679e399d825af217accae9bb33eb90abc1ad095ce52f7b703bf2b983de0ae3f7cf2c613e0d0ff
@@ -1,3 +1,3 @@
1
1
  module Itriagetestrail
2
- VERSION = '0.4.6'
2
+ VERSION = '0.4.7'
3
3
  end
@@ -43,6 +43,19 @@ module Itriagetestrail
43
43
  else
44
44
  @execute = true
45
45
  end
46
+
47
+ @results = { results: [] }
48
+ @submitted = { results: [] }
49
+
50
+ @external_results = { results: [] }
51
+ @batch_size = @testrail_config[:batch_size] || 0
52
+ make_connection
53
+ # Set the project id
54
+ set_project_id
55
+ # Get the test rail sections
56
+ testrail_sections
57
+ # Get the test rail ids
58
+ testrail_ids
46
59
  end
47
60
 
48
61
  def setup?
@@ -58,17 +71,6 @@ module Itriagetestrail
58
71
  @external_results = { results: [] }
59
72
  @batch_size = @testrail_config[:batch_size] || 0
60
73
 
61
- make_connection
62
-
63
- # Set the project id
64
- set_project_id
65
-
66
- # Get the test rail sections
67
- testrail_sections
68
-
69
- # Get the test rail ids
70
- testrail_ids
71
-
72
74
  @milestone_id = fetch_milestone(@milestone_name)
73
75
 
74
76
  reset_milestone(@milestone_name)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: itriagetestrail
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.6
4
+ version: 0.4.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - a801069
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-01-15 00:00:00.000000000 Z
11
+ date: 2016-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler