itriagetestrail 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/itriagetestrail/version.rb +1 -1
- data/lib/itriagetestrail.rb +9 -3
- 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: 809f98e527e02ff29d2b504e6ae17156ec322a01
|
4
|
+
data.tar.gz: 337188ebac3a2816e6f62c64a498c8cf160ff392
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be8263312a1723083cd5efe47f8f470d6b37f4727ee61bf0787ce2ff8a30287bd5a23a79fe8601ece5d2fff98942ea6328b80f16424b80485863d1a296498802
|
7
|
+
data.tar.gz: ad183983eb7b6a3532852fe699016f55d35062cb2932129098cd2dc3ec4a0bdcdd9d21144f899de05897f967c3320f649da79d1503e7452a08ea53ad353da337
|
data/lib/itriagetestrail.rb
CHANGED
@@ -24,13 +24,19 @@ module Itriagetestrail
|
|
24
24
|
@jenkins_build = @testrail_config[:jenkinsBuild]
|
25
25
|
@app_version = @testrail_config[:appVersion]
|
26
26
|
|
27
|
-
if @testrail_config[:tzinfoTimeZone].nil? || @testrail_config[:tzinfoTimeZone]
|
27
|
+
if @testrail_config[:tzinfoTimeZone].nil? || @testrail_config[:tzinfoTimeZone].empty?
|
28
28
|
@time_zone = TZInfo::Timezone.get('UTC')
|
29
29
|
else
|
30
30
|
@time_zone = TZInfo::Timezone.get(@testrail_config[:tzinfoTimeZone])
|
31
31
|
end
|
32
32
|
|
33
|
-
if @testrail_config[:
|
33
|
+
if @testrail_config[:masterMilstone].nil? || @testrail_config[:masterMilstone].empty?
|
34
|
+
@master_milestone = 'Master'
|
35
|
+
else
|
36
|
+
@master_milestone = @testrail_config[:masterMilstone]
|
37
|
+
end
|
38
|
+
|
39
|
+
if @testrail_config[:user].nil? || @testrail_config[:user].empty?
|
34
40
|
@execute = false
|
35
41
|
else
|
36
42
|
@execute = true
|
@@ -96,7 +102,7 @@ module Itriagetestrail
|
|
96
102
|
when 'local', ''
|
97
103
|
'Local'
|
98
104
|
when 'master', 'origin/master'
|
99
|
-
|
105
|
+
@master_milestone
|
100
106
|
else
|
101
107
|
'Dev Branch'
|
102
108
|
end
|
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.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- a801069
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-11-
|
11
|
+
date: 2015-11-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|