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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7b0f40b1ef9d776d09e3411c0fcb63c60e27a15c903664f00af4838852543c75
4
- data.tar.gz: b0347efcd682acd61a5623c32f74ed901babc5a8dc49a3879c9a4df129f5c545
3
+ metadata.gz: 602b11ff73c578d91cc73e2669e32f1f9faaba6d47acb65af10366fc3a2bddbd
4
+ data.tar.gz: d78a1ac39f8b33c908a84276c9ac2c7b8850cca441eea8b40261febb75e5a625
5
5
  SHA512:
6
- metadata.gz: 0ad7dc22d2b9f416ef0dbeaca6c80c70307bfd75f49ccbfdd56b6dc6d822ec2a563181e2c532cdf1885356afb035690ed3d1e0ed227e090579f57fc982b6b854
7
- data.tar.gz: b1d379d256df2134b94d57725c7248502be7734c4237650968db514898c5363e10b61aa6954b35b92ac13d217f0d598e45302edd6134a688700c213e20ddc864
6
+ metadata.gz: d2b2c548647f68bf06af9567f37ef2ea2229ae2c2febab865a02c6f77ed11d89a7d42386df56d77cfdc0fdfec1e02f3ccaffd639d79f5bda324918641a418c09
7
+ data.tar.gz: 9c082643f5dd3589843bc8545479b706ff4c9a6ec8dec81191f46da513432a1cb074b527c1f1214f160b38b1f04bae9a4fb7c2ee35c01b1e544a81e5d350fd70
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gunter_reporter (0.1.6)
4
+ gunter_reporter (0.1.7)
5
5
  xml-simple (~> 1.1, >= 1.1.5)
6
6
 
7
7
  GEM
@@ -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)
@@ -1,3 +1,3 @@
1
1
  class GunterReporter
2
- VERSION = "0.1.6"
2
+ VERSION = "0.1.7"
3
3
  end
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.6
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: 2018-12-28 00:00:00.000000000 Z
11
+ date: 2019-04-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: xml-simple