minitest-reporters 1.1.7 → 1.1.8
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7bf3d1a340d1230cf42aeb24cb0d2ca9529b9682
|
4
|
+
data.tar.gz: 65c80458d82eb5cd5017fa77c02ff98a8c354fc8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb8eef912c19e7132b209ff0c6461a96244dd342388fde5e57011ef42b9c03903f815080c66620031c1775a050afedc04f1b28106dae8bdd9f3efc67646d060a
|
7
|
+
data.tar.gz: 30fe2a47cd1df20432d5d1c5b404afb27f08c0dae897b9a8480f62e2b5d8097422fd1f8a22d5d94784cb61f02227a0c6dda50c064998dd0ca41355933ff75545
|
data/.travis.yml
CHANGED
@@ -75,8 +75,8 @@ module Minitest
|
|
75
75
|
@reports_path = File.absolute_path(reports_dir)
|
76
76
|
|
77
77
|
puts "Emptying #{@reports_path}"
|
78
|
-
FileUtils.remove_dir(@reports_path) if File.exists?(@reports_path)
|
79
78
|
FileUtils.mkdir_p(@reports_path)
|
79
|
+
File.delete(html_file)
|
80
80
|
end
|
81
81
|
|
82
82
|
# Called by the framework to generate the report
|
@@ -85,7 +85,6 @@ module Minitest
|
|
85
85
|
|
86
86
|
begin
|
87
87
|
puts "Writing HTML reports to #{@reports_path}"
|
88
|
-
html_file = "#{@reports_path}/#{@output_filename}"
|
89
88
|
erb_str = File.read(@erb_template)
|
90
89
|
renderer = ERB.new(erb_str)
|
91
90
|
|
@@ -115,6 +114,9 @@ module Minitest
|
|
115
114
|
end
|
116
115
|
|
117
116
|
private
|
117
|
+
def html_file
|
118
|
+
"#{@reports_path}/#{@output_filename}"
|
119
|
+
end
|
118
120
|
|
119
121
|
def compare_suites_by_name(suite_a, suite_b)
|
120
122
|
suite_a[:name] <=> suite_b[:name]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: minitest-reporters
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Kern
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-02-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|