gunter_reporter 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/gunter_reporter.rb +2 -1
- data/lib/gunter_reporter/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: 602b11ff73c578d91cc73e2669e32f1f9faaba6d47acb65af10366fc3a2bddbd
|
4
|
+
data.tar.gz: d78a1ac39f8b33c908a84276c9ac2c7b8850cca441eea8b40261febb75e5a625
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d2b2c548647f68bf06af9567f37ef2ea2229ae2c2febab865a02c6f77ed11d89a7d42386df56d77cfdc0fdfec1e02f3ccaffd639d79f5bda324918641a418c09
|
7
|
+
data.tar.gz: 9c082643f5dd3589843bc8545479b706ff4c9a6ec8dec81191f46da513432a1cb074b527c1f1214f160b38b1f04bae9a4fb7c2ee35c01b1e544a81e5d350fd70
|
data/Gemfile.lock
CHANGED
data/lib/gunter_reporter.rb
CHANGED
@@ -20,7 +20,8 @@ class GunterReporter
|
|
20
20
|
files = Dir.glob("tmp/gunter/#{environment_variables['TASK_ID']}/*")
|
21
21
|
files.each do |file|
|
22
22
|
report = File.read(file)
|
23
|
-
next unless XmlSimple.xml_in(report).key?('testcase')
|
23
|
+
next unless XmlSimple.xml_in(report).key?('testcase') || XmlSimple.xml_in(report).dig('testsuite', 0, 'testcase')
|
24
|
+
|
24
25
|
form_data = environment_variables.merge(build_data).merge('report' => report)
|
25
26
|
response = submit_result(form_data)
|
26
27
|
print_result(response)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gunter_reporter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Calaway
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-04-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: xml-simple
|