itriagetestrail 0.2.1 → 0.2.2

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: 0241e9127814bf1378642c11c338d529261ad97a
4
- data.tar.gz: 4ed031b86c35441ddd49074e3225e163d1610112
3
+ metadata.gz: 809f98e527e02ff29d2b504e6ae17156ec322a01
4
+ data.tar.gz: 337188ebac3a2816e6f62c64a498c8cf160ff392
5
5
  SHA512:
6
- metadata.gz: 96e90d5d4507f1dda5838e749789505cb96cb74701c44368bf6da28e82e428b651482c61e2664883ce925f291be455a2a538fff0d22880b7d6c23ca5ff3e1f66
7
- data.tar.gz: 83fc4aa8604e88c3dd5de93114432b7cce036850cd4c001ec0806ea63b852a56cb15258249dc7a5f65d434badabcf2b5b91e63ef95b7b810b334f5118dce4d68
6
+ metadata.gz: be8263312a1723083cd5efe47f8f470d6b37f4727ee61bf0787ce2ff8a30287bd5a23a79fe8601ece5d2fff98942ea6328b80f16424b80485863d1a296498802
7
+ data.tar.gz: ad183983eb7b6a3532852fe699016f55d35062cb2932129098cd2dc3ec4a0bdcdd9d21144f899de05897f967c3320f649da79d1503e7452a08ea53ad353da337
@@ -1,3 +1,3 @@
1
1
  module Itriagetestrail
2
- VERSION = '0.2.1'
2
+ VERSION = '0.2.2'
3
3
  end
@@ -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[:user].nil? || @testrail_config[:user] == ''
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
- 'Master'
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.1
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-05 00:00:00.000000000 Z
11
+ date: 2015-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler