onlyoffice_rspec_result_parser 0.1.0 → 0.1.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 90e494964654c9785bcf0e3576c891c74995aa19bbea965bdf02788047b886db
|
4
|
+
data.tar.gz: 417b08f08a82b69cf705be228a1b693a31cbfebab837a1e17bb97cd56c5df385
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a70703d0688597535b338adcf5782db1653731ff6708188abdb84310cf9042821978f19e80afc0dbbc79d11c7a1f45ae674884403faf01cd2fd2b86b1ecc50a0
|
7
|
+
data.tar.gz: c0db9d126625febd4a249f7f6a9c3c12dc8b23f15ba13af3eae33ff13624eaa928db866d20ba0c10cbcbcec7d75255bea53fd8cb2bb518dec9c20b4814652ccd
|
@@ -32,11 +32,15 @@ module OnlyofficeRspecResultParser
|
|
32
32
|
alias parse_rspec_html_string parse_rspec_html
|
33
33
|
|
34
34
|
def get_failed_cases_count_from_html(html_path)
|
35
|
+
return 0 if html_path.empty?
|
36
|
+
|
35
37
|
page = Nokogiri::HTML(read_file(html_path))
|
36
38
|
RspecResult.new.parse_page(page, true).failed_count
|
37
39
|
end
|
38
40
|
|
39
41
|
def get_total_result_of_rspec_html(html_path)
|
42
|
+
return html_path if html_path.empty?
|
43
|
+
|
40
44
|
page = Nokogiri::HTML(read_file(html_path))
|
41
45
|
RspecResult.new.parse_page(page, true).total
|
42
46
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: onlyoffice_rspec_result_parser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ONLYOFFICE
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2020-03-
|
13
|
+
date: 2020-03-24 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: nokogiri
|