testbot 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ 0.5.1
2
+
3
+ Fixed a bug that caused exit status to be 1 even if the test run is successful.
4
+
1
5
  0.5.0
2
6
 
3
7
  Made the status page load faster but check less often.
data/README.markdown CHANGED
@@ -61,7 +61,7 @@ Running tests:
61
61
 
62
62
  Using testbot with Rails 2:
63
63
 
64
- ruby script/plugin install git://github.com/joakimk/testbot.git -r 'refs/tags/v0.5.0'
64
+ ruby script/plugin install git://github.com/joakimk/testbot.git -r 'refs/tags/v0.5.1'
65
65
  script/generate testbot --connect 192.168.0.100
66
66
 
67
67
  rake testbot:spec (or :test, :features)
data/lib/server/job.rb CHANGED
@@ -2,7 +2,7 @@ module Testbot::Server
2
2
 
3
3
  class Job < MemoryModel
4
4
 
5
- attribute :success, :boolean
5
+ #attribute :success, :boolean
6
6
 
7
7
  def update(hash)
8
8
  super(hash)
@@ -11,7 +11,7 @@ module Testbot::Server
11
11
  self.build.update(:results => build.results.to_s + self.result.to_s,
12
12
  :done => done)
13
13
 
14
- build_broken_by_job = (!self.success && build.success)
14
+ build_broken_by_job = (self.success == "false" && build.success)
15
15
  self.build.update(:success => false) if build_broken_by_job
16
16
  end
17
17
  end
@@ -7,7 +7,7 @@ module Testbot
7
7
 
8
8
  # Don't forget to update readme and changelog
9
9
  def self.version
10
- version = "0.5.0"
10
+ version = "0.5.1"
11
11
  dev_version_file = File.join(File.dirname(__FILE__), '..', '..', 'DEV_VERSION')
12
12
  if File.exists?(dev_version_file)
13
13
  version += File.read(dev_version_file)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: testbot
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
4
+ hash: 9
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 5
9
- - 0
10
- version: 0.5.0
9
+ - 1
10
+ version: 0.5.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - "Joakim Kolsj\xC3\xB6"
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-12-07 00:00:00 +01:00
18
+ date: 2010-12-08 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency