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 +4 -4
- data/lib/itriagetestrail/version.rb +1 -1
- data/lib/itriagetestrail.rb +13 -11
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0b23ee904a5eb333f36cd52e1146b8d74f402fce
|
4
|
+
data.tar.gz: 91748b6ea078e85d85f6621d2009a039b20725e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dea84a460071c9bc4f4bc4f9252afcb5a33fe4f396ba28a769a3bcc63cbe40842ca0c924e4ca1539fafd12e153aa945c4ae2a6d3c8e647d7c61370e192eb54d5
|
7
|
+
data.tar.gz: 5fb0e4daf0f9ea36ce625c8d41b938b9e1df12f5f570a5cd5d0679e399d825af217accae9bb33eb90abc1ad095ce52f7b703bf2b983de0ae3f7cf2c613e0d0ff
|
data/lib/itriagetestrail.rb
CHANGED
@@ -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.
|
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-
|
11
|
+
date: 2016-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|