coco 0.4.1 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/NEWS +8 -0
- data/TODO +0 -2
- data/VERSION +1 -1
- data/lib/coco/formatter/html_formatter.rb +1 -1
- data/template/css/coco.css +10 -0
- data/template/file.erb +1 -1
- data/template/index.erb +1 -1
- metadata +3 -3
data/NEWS
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
v0.4.2 (2011-03-01)
|
|
2
|
+
|
|
3
|
+
* Minor bug fixes
|
|
4
|
+
#14: sometimes text exit on the right from table in html report
|
|
5
|
+
#13: '<' and '>' are not escaped in hml report
|
|
6
|
+
#12: no link to web site in html files
|
|
7
|
+
|
|
8
|
+
|
|
1
9
|
v0.4.1 (2011-02-27)
|
|
2
10
|
|
|
3
11
|
* Quick fix, add forgotten images for html menu
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.4.
|
|
1
|
+
0.4.2
|
|
@@ -28,7 +28,7 @@ module Coco
|
|
|
28
28
|
source = File.readlines filename
|
|
29
29
|
lines = []
|
|
30
30
|
source.each_with_index do |line, index|
|
|
31
|
-
lines << [index+1, line.chomp, coverage[index]]
|
|
31
|
+
lines << [index+1, line.chomp.gsub(/</, '<').gsub(/>/, '>'), coverage[index]]
|
|
32
32
|
end
|
|
33
33
|
@context = Context.new filename, lines
|
|
34
34
|
@formatted_output_files[filename] = @template.result(@context.get_binding)
|
data/template/css/coco.css
CHANGED
|
@@ -41,6 +41,11 @@ p.date
|
|
|
41
41
|
font-size: 80%;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
+
table
|
|
45
|
+
{
|
|
46
|
+
width: 100%;
|
|
47
|
+
}
|
|
48
|
+
|
|
44
49
|
table td
|
|
45
50
|
{
|
|
46
51
|
border-width: 0;
|
|
@@ -66,6 +71,11 @@ tr.miss
|
|
|
66
71
|
background-color: #fbb;
|
|
67
72
|
}
|
|
68
73
|
|
|
74
|
+
td.yellow, td.orange, td.pink, td.red, td.black
|
|
75
|
+
{
|
|
76
|
+
width: 45px;
|
|
77
|
+
}
|
|
78
|
+
|
|
69
79
|
td.yellow
|
|
70
80
|
{
|
|
71
81
|
background-color: #fffead;
|
data/template/file.erb
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<a href="index.html">Index</a> <img src="img/coconut16.png" width="16" height="16" />
|
|
10
10
|
<a href="https://github.com/lkdjiin/coco/wiki">Wiki</a> <img src="img/coconut16.png" width="16" height="16" />
|
|
11
11
|
<a href="https://github.com/lkdjiin/coco">Source</a> <img src="img/coconut16.png" width="16" height="16" />
|
|
12
|
-
<a href="
|
|
12
|
+
<a href="http://lkdjiin.github.com/coco/">Web site</a>
|
|
13
13
|
</p>
|
|
14
14
|
<h2><%= @filename %></h2>
|
|
15
15
|
<p class="date"><%= "#{Time.now}" %></p>
|
data/template/index.erb
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<a href="index.html">Index</a> <img src="img/coconut16.png" width="16" height="16" />
|
|
10
10
|
<a href="https://github.com/lkdjiin/coco/wiki">Wiki</a> <img src="img/coconut16.png" width="16" height="16" />
|
|
11
11
|
<a href="https://github.com/lkdjiin/coco">Source</a> <img src="img/coconut16.png" width="16" height="16" />
|
|
12
|
-
<a href="
|
|
12
|
+
<a href="http://lkdjiin.github.com/coco/">Web site</a>
|
|
13
13
|
</p>
|
|
14
14
|
<h2><%= @title %></h2>
|
|
15
15
|
<p class="date">
|
metadata
CHANGED
|
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
|
5
5
|
segments:
|
|
6
6
|
- 0
|
|
7
7
|
- 4
|
|
8
|
-
-
|
|
9
|
-
version: 0.4.
|
|
8
|
+
- 2
|
|
9
|
+
version: 0.4.2
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- Xavier Nayrac
|
|
@@ -14,7 +14,7 @@ autorequire:
|
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
16
|
|
|
17
|
-
date: 2011-
|
|
17
|
+
date: 2011-03-01 00:00:00 +01:00
|
|
18
18
|
default_executable:
|
|
19
19
|
dependencies: []
|
|
20
20
|
|