origen_testers 0.52.0 → 0.52.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb1671039082e3f1856ec1facd0861776bf7ed44b07be01103028a21e20962cc
|
4
|
+
data.tar.gz: a9855748f37e09b0f80d86c42c111c3577eec987e49336ad43b772fb267c8a36
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b647195f53446e14b390662d93ebe7207aba5f8a90af089cad0e5368f0ee9f8347db00c7440ea497509b6b565067ddebf8b4e0e4e3f47a3f4f1d50e6aa16784b
|
7
|
+
data.tar.gz: 2ec5f3ed1581bdaac66f115c8f0950e0e965d40c7b369da6b3b16d405c7cddfd337fa5f9b088c7bbb54ee3d51166b5904a43aca8c2a1055c12170bb7bd451c10
|
data/config/version.rb
CHANGED
@@ -88,13 +88,7 @@ module OrigenTesters
|
|
88
88
|
unless name.is_a?(String)
|
89
89
|
name = name.to_s[0] == '_' ? name.to_s.camelize(:upper) : name.to_s.camelize(:lower)
|
90
90
|
end
|
91
|
-
if
|
92
|
-
l << " #{name} = #{wrap_if_string(test_method.format(param[0]))};"
|
93
|
-
elsif NO_STRING_TYPES.include?(param.last) && test_method.format(param[0]).is_a?(String) && !test_method.format(param[0]).empty?
|
94
|
-
l << " #{name} = #{test_method.format(param[0])};"
|
95
|
-
elsif test_method.format(param[0]).is_a?(String) && !test_method.format(param[0]).empty?
|
96
|
-
l << " #{name} = #{wrap_if_string(test_method.format(param[0]))};"
|
97
|
-
elsif param.last.is_a? Hash
|
91
|
+
if param.last.is_a? Hash
|
98
92
|
if !test_method.format(name).nil? && !test_method.format(name).is_a?(Hash)
|
99
93
|
fail "#{name} parameter structure requires a Hash but value provided is #{test_method.format(name).class}"
|
100
94
|
elsif test_method.format(name).nil? && tester.print_all_params
|
@@ -106,6 +100,10 @@ module OrigenTesters
|
|
106
100
|
l = add_nested_params(l, name, key, meta_hash, param.last, 1)
|
107
101
|
end
|
108
102
|
end
|
103
|
+
elsif NO_STRING_TYPES.include?(param.last) && test_method.format(param[0]).is_a?(String) && !test_method.format(param[0]).empty?
|
104
|
+
l << " #{name} = #{test_method.format(param[0])};"
|
105
|
+
else
|
106
|
+
l << " #{name} = #{wrap_if_string(test_method.format(param[0]))};"
|
109
107
|
end
|
110
108
|
end
|
111
109
|
l << '}'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: origen_testers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.52.
|
4
|
+
version: 0.52.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen McGinty
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-04-
|
11
|
+
date: 2024-04-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: origen
|