crazy_ivan 1.2.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -65,16 +65,6 @@ class ReportAssembler
|
|
65
65
|
return s
|
66
66
|
end
|
67
67
|
|
68
|
-
def nullify_successful_exit_status_for_json_templates(results)
|
69
|
-
filtered_results = YAML.load(results.to_yaml)
|
70
|
-
|
71
|
-
filtered_results[:version][:exit_status] = nil if filtered_results[:version][:exit_status] == '0'
|
72
|
-
filtered_results[:update][:exit_status] = nil if filtered_results[:update][:exit_status] == '0'
|
73
|
-
filtered_results[:test][:exit_status] = nil if filtered_results[:test][:exit_status] == '0'
|
74
|
-
|
75
|
-
return filtered_results
|
76
|
-
end
|
77
|
-
|
78
68
|
def flush_build_progress(runner)
|
79
69
|
project_results_path = File.join(@output_directory, runner.project_name)
|
80
70
|
|
@@ -103,7 +93,7 @@ class ReportAssembler
|
|
103
93
|
end
|
104
94
|
|
105
95
|
File.open("#{filename}.json", 'w+') do |f|
|
106
|
-
f.puts
|
96
|
+
f.puts runner.results.to_json
|
107
97
|
end
|
108
98
|
|
109
99
|
if runner.finished?
|
@@ -205,7 +205,7 @@
|
|
205
205
|
$("#" + domId + " .tests").prepend(tmpl("resultLinkTemplate", report));
|
206
206
|
|
207
207
|
// add failed/success indication to link - inlining in the template screws up
|
208
|
-
if (report.test.exit_status) {
|
208
|
+
if (report.test.exit_status && report.test.exit_status != '0') {
|
209
209
|
$("#" + domId + '-' + version).addClass('error');
|
210
210
|
}
|
211
211
|
});
|
data/lib/crazy_ivan/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: crazy_ivan
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Edward Ocampo-Gooding
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-02-
|
12
|
+
date: 2010-02-08 00:00:00 -05:00
|
13
13
|
default_executable: crazy_ivan
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|