res 1.2.6 → 1.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/res +1 -0
- data/lib/res/reporters/lion.rb +11 -2
- data/lib/res/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c597adac1135e9c59caf0a9e194a935ca8c8afef
|
4
|
+
data.tar.gz: 9d5d2ddf0f7111f542ec7bb81a78fd61d1efd003
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0be494e78744b5a8aefa7a5763a9105cca12d08627a7be43a2c44603bc608753592b0db9641c47866c75f0dab2ad174f15c08e9493c1c36cc625ed0801e223f
|
7
|
+
data.tar.gz: 642df930a20cc72194b654827f5785a3a0fcb91d65972413540a71ee636856ec785ae102a05a37e3d0195034e8f88dc51298d78a1932e8de637d3559f3fd828c
|
data/bin/res
CHANGED
data/lib/res/reporters/lion.rb
CHANGED
@@ -24,7 +24,16 @@ module Res
|
|
24
24
|
values[count] = ir.tests[count][:values]
|
25
25
|
count += 1
|
26
26
|
end
|
27
|
-
|
27
|
+
|
28
|
+
perf_values = {}
|
29
|
+
ir.tests.collect do |t|
|
30
|
+
if values = t[:values]
|
31
|
+
values.each do |k,v|
|
32
|
+
perf_values[k] = v if v.is_a? Numeric
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
28
37
|
# Set Lion Data
|
29
38
|
lion_data = {
|
30
39
|
:app_name => config.app_name,
|
@@ -35,7 +44,7 @@ module Res
|
|
35
44
|
:started => ir.results.first[:started],
|
36
45
|
:finished => ir.results.last[:finished],
|
37
46
|
:status => status,
|
38
|
-
:
|
47
|
+
:measures => perf_values
|
39
48
|
}
|
40
49
|
|
41
50
|
|
data/lib/res/version.rb
CHANGED