ci_in_a_can 0.0.14 → 0.0.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ci_in_a_can/app.rb +20 -0
- data/lib/ci_in_a_can/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 659486969ba4f59947e8b34f31282f4a5b0b7136
|
4
|
+
data.tar.gz: d56a350fedda9277d4d88ef05e774a313de56086
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 22e26beeb0d751f39596415c7573c1e9dd57aa4b518f9f5b73357f5ee2389ed69da20ad4727a70df5c2a6f0712702d94a6339f83ace7157c566def75375c86ec
|
7
|
+
data.tar.gz: 51b6aa9f90fc5b0bee62b748b3486bfdb8ec67508f2c012cdb8050cf3e6d876c51941543f183f7f2a18693e917a4b172592da4bd48eb9c0b5fa1869ee3c348eb
|
data/lib/ci_in_a_can/app.rb
CHANGED
@@ -54,10 +54,30 @@ EOF
|
|
54
54
|
end
|
55
55
|
|
56
56
|
get '/' do
|
57
|
+
run_html = CiInACan::LastRunList.all.map do |run|
|
58
|
+
<<EOF
|
59
|
+
<tr>
|
60
|
+
<td>
|
61
|
+
#{run.created_at}
|
62
|
+
</td>
|
63
|
+
<td>
|
64
|
+
#{run.repo}
|
65
|
+
</td>
|
66
|
+
<td>
|
67
|
+
#{run.passed ? 'Yes' : 'No'}
|
68
|
+
</td>
|
69
|
+
<td>
|
70
|
+
#{run.sha}
|
71
|
+
</td>
|
72
|
+
</tr>
|
73
|
+
EOF
|
74
|
+
end.join("\n")
|
75
|
+
|
57
76
|
CiInACan::WebContent.full_page_of(
|
58
77
|
<<EOF
|
59
78
|
<table class="table table-bordered">
|
60
79
|
<tbody>
|
80
|
+
#{run_html}
|
61
81
|
</tbody>
|
62
82
|
</table>
|
63
83
|
EOF
|
data/lib/ci_in_a_can/version.rb
CHANGED