rhomobile-cijoe 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
data/lib/cijoe/server.rb CHANGED
@@ -28,7 +28,7 @@ class CIJoe
28
28
 
29
29
  get '/status' do
30
30
 
31
- erb(:statusTemplate, {}, :joe => @joe)
31
+ erb(:statusTemplate, {}, :joe => @joe, :build => @joe.old_builds[0])
32
32
 
33
33
  end
34
34
 
data/lib/cijoe/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  class CIJoe
2
- Version = "0.2.3"
2
+ Version = "0.2.4"
3
3
  end
@@ -1,5 +1,4 @@
1
1
  <li>
2
- <%= build=joe.old_builds[0] %>
3
2
  <span class="date"><%= pretty_time(build.finished_at) %></span> &raquo; Built <a href="<%= joe.url %>/commit/<%= build.sha %>"><%= build.short_sha %></a>
4
3
  <span class="<%= build.status %>">(<%= build.status %>)</span><span>&nbsp;in <%= "%.2f" % (build.finished_at.to_f - build.started_at.to_f) %> Seconds</span>
5
4
  <span>(</span>
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: 17
4
+ hash: 31
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 3
10
- version: 0.2.3
9
+ - 4
10
+ version: 0.2.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Chris Wanstrath