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 +4 -0
- data/README.markdown +1 -1
- data/lib/server/job.rb +2 -2
- data/lib/shared/testbot.rb +1 -1
- metadata +4 -4
data/CHANGELOG
CHANGED
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.
|
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 = (
|
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
|
data/lib/shared/testbot.rb
CHANGED
@@ -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.
|
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:
|
4
|
+
hash: 9
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 5
|
9
|
-
-
|
10
|
-
version: 0.5.
|
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-
|
18
|
+
date: 2010-12-08 00:00:00 +01:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|