itriagetestrail 0.2.3 → 0.2.4
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.rb +5 -9
- data/lib/itriagetestrail/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 892c644b73b5acd405d48af355e12e0734ea4c2c
|
|
4
|
+
data.tar.gz: fe000e60d2459fdf3bd7ddcac25e98f93d2089c4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 43699480a5f7cc5ee66793eac971a76500bd76256bac0d199f870fa0d8243529af90eda3113c5d0d8c9117b90a08697d981767a813fde6ad99a3fa2f8a775cc9
|
|
7
|
+
data.tar.gz: 60ccd97a42cd3a2327cc550ceab690bc689f9797f1fa85b5f02033bc1e4786318d374a6a767a563645dfaaec14ce0de069b0e6e88ee5dd9cb3e22a817e3ffcd7
|
data/lib/itriagetestrail.rb
CHANGED
|
@@ -30,12 +30,6 @@ module Itriagetestrail
|
|
|
30
30
|
@time_zone = TZInfo::Timezone.get(@testrail_config[:tzinfoTimeZone])
|
|
31
31
|
end
|
|
32
32
|
|
|
33
|
-
if @testrail_config[:masterMilstone].nil? || @testrail_config[:masterMilstone].empty?
|
|
34
|
-
@master_milestone = 'Master'
|
|
35
|
-
else
|
|
36
|
-
@master_milestone = @testrail_config[:origin]
|
|
37
|
-
end
|
|
38
|
-
|
|
39
33
|
if @testrail_config[:user].nil? || @testrail_config[:user].empty?
|
|
40
34
|
@execute = false
|
|
41
35
|
else
|
|
@@ -43,8 +37,6 @@ module Itriagetestrail
|
|
|
43
37
|
end
|
|
44
38
|
end
|
|
45
39
|
|
|
46
|
-
|
|
47
|
-
|
|
48
40
|
def setup?
|
|
49
41
|
@setup
|
|
50
42
|
end
|
|
@@ -102,7 +94,11 @@ module Itriagetestrail
|
|
|
102
94
|
when 'local', ''
|
|
103
95
|
'Local'
|
|
104
96
|
when 'master', 'origin/master'
|
|
105
|
-
@
|
|
97
|
+
if @testrail_config[:masterMilstone].nil? || @testrail_config[:masterMilstone].empty?
|
|
98
|
+
'Master'
|
|
99
|
+
else
|
|
100
|
+
@testrail_config[:masterMilestone]
|
|
101
|
+
end
|
|
106
102
|
else
|
|
107
103
|
'Dev Branch'
|
|
108
104
|
end
|