cucumber_junit_to_json 0.1.9 → 0.2.0

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
  SHA1:
3
- metadata.gz: bb8c3bfb9aa4a9374187d12e85a853fbb8b1fd52
4
- data.tar.gz: e2734b498cc248ed61d4be5658acd4fbe451ba21
3
+ metadata.gz: 216f58d84df6ac45e87617a956336e4aa2bafdc1
4
+ data.tar.gz: 3dfe9b1d51efe5ad85c1b4f3d543269d765171b8
5
5
  SHA512:
6
- metadata.gz: d50d186c52c9d05276130196b8613503c49b103e6a04e2da92fb2ab1001e3ee1ddf0e9701d6bdb15317f3d5614d5dc809bc075475d5b46aa269f45ee82be014a
7
- data.tar.gz: 0cbb5884e2679e19f69fbc89482449a74951bfcb0a25c3e83852270b25ca60c0d2dc9bd0de788af870bc2946ad1da763ae494ba20d59ee4a0ecc822e4e0a4e97
6
+ metadata.gz: fc3b30dbdd5c7a80ccbc2cd64ac78123ce1fe32833d1ce5b1b53bff0876cf038aae0642b3fa8ec774443ef2cd299ac0b8da7811d25a66ac6c495e45169bde0c2
7
+ data.tar.gz: 233dc63ee4fc82ad05797a217d9e2b5cfab533fa6d18adf2107cb55e65207039f0f2c8893d83decb7e754ddfd3f8fde562a61fa235eb723a108cc1ddd4a3e141
@@ -85,7 +85,7 @@ module CucumberJunitToJson
85
85
  failure = testcase.css('failure')
86
86
  # Sometimes <failure> node come as <error>
87
87
  failure ||= testcase.css('error')
88
- if failure
88
+ if failure && !failure.nil?
89
89
  failure_info = failure.text.split(failure.attribute('message')).first
90
90
  failure_message = failure.attribute('message')
91
91
  failing_step = failure_info.split('Failing step:').last.split('...').first.strip
@@ -2,5 +2,5 @@
2
2
 
3
3
  # Cucumber Junit to Json version module
4
4
  module CucumberJunitToJson
5
- VERSION = '0.1.9'
5
+ VERSION = '0.2.0'
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cucumber_junit_to_json
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Voke Ransom Anighoro
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-08 00:00:00.000000000 Z
11
+ date: 2018-03-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler