cucumber_junit_to_json 0.2.1 → 0.2.2

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: 62603b0593d836150bb712a47d2283992b2c0aec
4
- data.tar.gz: 8eee5723be7dadf0c7d3e5008b5808a492c52463
3
+ metadata.gz: e448115213acab953c773c1b8bffafda86b48b18
4
+ data.tar.gz: 164320eb2ae0bd6033587648194bfbfe33711f5e
5
5
  SHA512:
6
- metadata.gz: 7eb2a028004e3984fd74429a36d4b0030223f60fc6a31bb82613d44eb29c495cab261a164aed536e896fdcaa3179c0ff30d753f6f92b99b83175392e7decee0a
7
- data.tar.gz: f2def353e1c1aaf15592fc36c6feabcca244d7a8bafc0da40b03feeee15d5dab366713a7ce5d73b9e9db7df09f90652c0edf21e751fc8dbebcaa77d508c68e23
6
+ metadata.gz: 55f18d20bbe75c0ce826ed0ad236e46568d84ae7282534ca343e1317004761c89f426ca3d4d9493261ca18b94c45c346f8fd212356de4fc791434b719756a230
7
+ data.tar.gz: cba1cf7bdfc0e709dce10d12cc18720f28ac5adcdcdbe96c01b1a2086f5ee416729fe6a41c23f6d7906d33d534d1b89c1c716a39d9b8ddfb9e589c27e29031b4
@@ -92,7 +92,7 @@ module CucumberJunitToJson
92
92
  failure_message = failure.attribute('message')
93
93
  failing_step = failure_info.split('Failing step:').last.split('...').first.strip
94
94
  rescue StandardError => e
95
- puts "Error with failure node #{failure}\n#{e.message}\n"
95
+ puts "Rescuing Error with failure node #{failure}\n#{e.message}\n"
96
96
  end
97
97
  end
98
98
  end
@@ -34,7 +34,7 @@ module CucumberJunitToJson
34
34
  File.open(file, 'r') do |f|
35
35
  f.each_line do |line|
36
36
  count += 1
37
- if similar || line =~ /<\S+>/
37
+ if similar && line =~ /<\S+>/
38
38
  return prev_line_text, count if line.similar(text) >= 73
39
39
  elsif line =~ /#{text}/
40
40
  return prev_line_text, count
@@ -2,5 +2,5 @@
2
2
 
3
3
  # Cucumber Junit to Json version module
4
4
  module CucumberJunitToJson
5
- VERSION = '0.2.1'
5
+ VERSION = '0.2.2'
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.2.1
4
+ version: 0.2.2
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-14 00:00:00.000000000 Z
11
+ date: 2018-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler