itriagetestrail 0.4.9 → 0.5.0
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 +12 -7
- 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: bc684e04f4f4367b3a0fe9c2104c250eedc39304
|
4
|
+
data.tar.gz: 586dbf0681a02925b11788cf0b6633d4247aa131
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 01ea883c568fa11d0d1c7a52cc65a0cab38ee3238c81c2592712a47e1b2cfddc8cd63250e956848f5d168503ed09f1ef710161e21e5d71afa37bf4a6e38c0632
|
7
|
+
data.tar.gz: db89f35e0d2506316ead2a9b50cbdbfa9a9ec921509af530edaac709ab94f06c48a896ad80e9d2347aba6e3368da45a31f8c1842740384502bc5edde6b595a77
|
data/lib/itriagetestrail.rb
CHANGED
@@ -48,13 +48,6 @@ module Itriagetestrail
|
|
48
48
|
|
49
49
|
@external_results = { results: [] }
|
50
50
|
@batch_size = @testrail_config[:batch_size] || 0
|
51
|
-
make_connection
|
52
|
-
# Set the project id
|
53
|
-
set_project_id
|
54
|
-
# Get the test rail sections
|
55
|
-
testrail_sections
|
56
|
-
# Get the test rail ids
|
57
|
-
testrail_ids
|
58
51
|
end
|
59
52
|
|
60
53
|
def setup?
|
@@ -70,6 +63,8 @@ module Itriagetestrail
|
|
70
63
|
@external_results = { results: [] }
|
71
64
|
@batch_size = @testrail_config[:batch_size] || 0
|
72
65
|
|
66
|
+
initialize_variables
|
67
|
+
|
73
68
|
@milestone_id = fetch_milestone(@milestone_name)
|
74
69
|
|
75
70
|
reset_milestone(@milestone_name)
|
@@ -85,6 +80,16 @@ module Itriagetestrail
|
|
85
80
|
@setup = true
|
86
81
|
end
|
87
82
|
|
83
|
+
def initialize_variables
|
84
|
+
make_connection
|
85
|
+
# Set the project id
|
86
|
+
set_project_id
|
87
|
+
# Get the test rail sections
|
88
|
+
testrail_sections
|
89
|
+
# Get the test rail ids
|
90
|
+
testrail_ids
|
91
|
+
end
|
92
|
+
|
88
93
|
def make_connection
|
89
94
|
@client = TestRail::APIClient.new(@testrail_config[:site])
|
90
95
|
@client.user = @testrail_config[:user]
|
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
|
+
version: 0.5.0
|
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-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|