rhomobile-cijoe 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
data/lib/cijoe/server.rb CHANGED
@@ -26,6 +26,11 @@ class CIJoe
26
26
 
27
27
  end
28
28
 
29
+ get '/status' do
30
+
31
+ erb(:statusTemplate, {}, :joe => @joe)
32
+
33
+ end
29
34
 
30
35
 
31
36
  post '/?' do
data/lib/cijoe/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  class CIJoe
2
- Version = "0.2.2"
2
+ Version = "0.2.3"
3
3
  end
@@ -0,0 +1,13 @@
1
+ <li>
2
+ <%= build=joe.old_builds[0] %>
3
+ <span class="date"><%= pretty_time(build.finished_at) %></span> &raquo; Built <a href="<%= joe.url %>/commit/<%= build.sha %>"><%= build.short_sha %></a>
4
+ <span class="<%= build.status %>">(<%= build.status %>)</span><span>&nbsp;in <%= "%.2f" % (build.finished_at.to_f - build.started_at.to_f) %> Seconds</span>
5
+ <span>(</span>
6
+ <span class="total"> <%= "#{build.total}" %> : </span>
7
+ <span class="pass"> <%= "#{build.passes}" %> : </span>
8
+ <span class="fail"> <%= "#{build.fails}" %> </span>
9
+ <span>)</span>
10
+ <% if build.failed? %>
11
+ <span class="showlog"> &nbsp; Show/Hide: <a href="#" onclick="toggle('<%= i.to_s %>','<%= build.finished_at.to_i.to_s %>','log')">Output</a> <a href="#" onclick="toggle('<%= i.to_s %>','<%= build.finished_at.to_i.to_s %>','logfail')">Failures</a></span>
12
+ <% end %>
13
+ </li>
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rhomobile-cijoe
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 2
10
- version: 0.2.2
9
+ - 3
10
+ version: 0.2.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Chris Wanstrath
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2010-06-30 00:00:00 -07:00
20
+ date: 2010-07-06 00:00:00 -07:00
21
21
  default_executable: cijoe
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency
@@ -91,6 +91,7 @@ files:
91
91
  - lib/cijoe/public/screen.css
92
92
  - lib/cijoe/server.rb
93
93
  - lib/cijoe/version.rb
94
+ - lib/cijoe/views/statusTemplate.erb
94
95
  - lib/cijoe/views/template.erb
95
96
  - lib/mmmail.rb
96
97
  - lib/smtp_tls.rb