res 1.2.14 → 1.2.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/res/parsers/android_junit.rb +1 -1
- data/lib/res/reporters/lion.rb +2 -0
- data/lib/res/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bb325ccb7a5fa559ad489de668061c41a26e3da2
|
4
|
+
data.tar.gz: d35d36429fc71916209daf25ec53894dd3f63ba9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 06c6991af82847648892ce6eb9a2537d7497fef75ef2e94cb975321749f964dcb2b9908fc358f68a69941b96da01690cd1029a2c6cc60bfc8acb396f2975953c
|
7
|
+
data.tar.gz: f2f4ec664f39e504d9eb3dd2bbc9a052aaaae2bb9434185cdbff3b970c212c1258e55e02291dbf0ad982a9d2100e617ef70dc2b26450627a481d77bfa9932f48
|
data/lib/res/reporters/lion.rb
CHANGED
@@ -20,6 +20,7 @@ module Res
|
|
20
20
|
def submit_results(ir, args = nil)
|
21
21
|
status = "failed"
|
22
22
|
status = "passed" if ir.tests.count == ir.count(:passed)
|
23
|
+
results = Hash[ir.tests.map { |t| [t[:name], t[:status]] }]
|
23
24
|
|
24
25
|
if ir.values.has_key?('#type') && ir.values['#type'] == 'multiple'
|
25
26
|
measures = {}
|
@@ -41,6 +42,7 @@ module Res
|
|
41
42
|
:started => ir.results.first[:started],
|
42
43
|
:finished => ir.results.last[:finished],
|
43
44
|
:status => status,
|
45
|
+
:results => results,
|
44
46
|
:measures => measures
|
45
47
|
}
|
46
48
|
|
data/lib/res/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: res
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- BBC
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2016-10-
|
13
|
+
date: 2016-10-26 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: json
|