testrail-rspec 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/testrail-rspec/update-testrails.rb +8 -0
- data/lib/testrail-rspec/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f03d9b29734465ad92491f798c42cf5498bbb087abd22079b5f303d47fc87a4c
|
4
|
+
data.tar.gz: 302cc128374d2e651327fd0c456255c60e93fa3b7287aee20bbf6eadf2280d38
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d8bff00ead0fea92e5a33fe3cb2f0d9b92ab1b042d47d01e2b598a45cec0911ba6ac31960381f8780469a1cb92a29ffca170bca4bc16974b93100852aef4ada
|
7
|
+
data.tar.gz: fd1084895ce7708b53327d537669f5ca6b519d56e196d5a22b4bdb2d9234a06c546fc71183a28e9db05f6034d23d4b6ed89aa59c1d83a895cf0a0e82f519f7a9
|
@@ -9,6 +9,14 @@ module TestrailRSpec
|
|
9
9
|
|
10
10
|
if File.exist? './testrail_config.yml'
|
11
11
|
@config = YAML.load_file("./testrail_config.yml")['testrail']
|
12
|
+
|
13
|
+
@config = @config.transform_values do |e|
|
14
|
+
if e.class != Integer && e.to_s.include?('ENV[')
|
15
|
+
eval(e)
|
16
|
+
else
|
17
|
+
e
|
18
|
+
end
|
19
|
+
end
|
12
20
|
raise 'TestRail configuration file not loaded successfully' if @config.nil?
|
13
21
|
else
|
14
22
|
raise 'TestRail configuration file is required'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: testrail-rspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Prashanth Sams
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-03-
|
11
|
+
date: 2020-03-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|