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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 729881e960788ffdb03e24e6f90ba6d9ef4ae377a83287c18c6c5d5a4f42e747
4
- data.tar.gz: 1fd18568c6a1b0f9ce05992b134267e2e1f970da5d71173f30885c8ac76595b7
3
+ metadata.gz: f03d9b29734465ad92491f798c42cf5498bbb087abd22079b5f303d47fc87a4c
4
+ data.tar.gz: 302cc128374d2e651327fd0c456255c60e93fa3b7287aee20bbf6eadf2280d38
5
5
  SHA512:
6
- metadata.gz: b7c0029eb9d6960249237a13b7b0bc0781a63c324d5ee99bdda73e4cc23f45253ca53636a88fb4a5394918c3e9e3343790c9000d9c89d045e3acb557c53f19da
7
- data.tar.gz: 4c787beab6447d8b014e31135f04b5d070292f33635905b0ded88f4acae0f70c61e5c5652087cfee5c25f785121e5e5573a397e8758c41c9619194c6ae79d74f
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'
@@ -1,3 +1,3 @@
1
1
  module TestrailRspec
2
- VERSION = '0.1.8'.freeze
2
+ VERSION = '0.1.9'.freeze
3
3
  end
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.8
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-25 00:00:00.000000000 Z
11
+ date: 2020-03-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler