testbot 0.6.8 → 0.6.9
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/runner/runner.rb +1 -2
- data/lib/shared/version.rb +1 -1
- data/testbot.gemspec +0 -1
- metadata +215 -148
data/CHANGELOG
CHANGED
data/README.markdown
CHANGED
@@ -67,7 +67,7 @@ Using testbot with Rails 2:
|
|
67
67
|
|
68
68
|
# Add testbot to your Gemfile if you use bundler. You also need the plugin because
|
69
69
|
# Rails 2 does not load raketasks from gems.
|
70
|
-
ruby script/plugin install git://github.com/joakimk/testbot.git -r 'refs/tags/v0.6.
|
70
|
+
ruby script/plugin install git://github.com/joakimk/testbot.git -r 'refs/tags/v0.6.9'
|
71
71
|
script/generate testbot --connect 192.168.0.100
|
72
72
|
|
73
73
|
rake testbot:spec (or :rspec, :test, :features)
|
data/lib/runner/runner.rb
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
require 'rubygems'
|
2
2
|
require 'httparty'
|
3
|
-
require 'macaddr'
|
4
3
|
require 'ostruct'
|
5
4
|
require File.expand_path(File.dirname(__FILE__) + '/../shared/ssh_tunnel')
|
6
5
|
require File.expand_path(File.dirname(__FILE__) + '/../shared/adapters/adapter')
|
@@ -75,7 +74,7 @@ module Testbot::Runner
|
|
75
74
|
# When a runner crashes or is restarted it might loose current job info. Because
|
76
75
|
# of this we provide a new unique ID to the server so that it does not wait for
|
77
76
|
# lost jobs to complete.
|
78
|
-
@uid = "#{Time.now.to_i}
|
77
|
+
@uid = "#{Time.now.to_i * rand}"
|
79
78
|
end
|
80
79
|
|
81
80
|
def wait_for_jobs
|
data/lib/shared/version.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
module Testbot
|
2
2
|
# Don't forget to update readme and changelog
|
3
3
|
def self.version
|
4
|
-
version = "0.6.
|
4
|
+
version = "0.6.9"
|
5
5
|
dev_version_file = File.join(File.dirname(__FILE__), '..', '..', 'DEV_VERSION')
|
6
6
|
if File.exists?(dev_version_file)
|
7
7
|
version += File.read(dev_version_file)
|
data/testbot.gemspec
CHANGED
@@ -16,7 +16,6 @@ Gem::Specification.new do |s|
|
|
16
16
|
|
17
17
|
s.add_dependency('sinatra', '>=1.0.0')
|
18
18
|
s.add_dependency('httparty', '>= 0.6.1')
|
19
|
-
s.add_dependency('macaddr', '>= 1.0.0')
|
20
19
|
s.add_dependency('net-ssh', '>= 2.0.23')
|
21
20
|
s.add_dependency('json_pure', '>= 1.4.6')
|
22
21
|
s.add_dependency('daemons', '>= 1.0.10')
|
metadata
CHANGED
@@ -1,201 +1,257 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: testbot
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 21
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 6
|
9
|
+
- 9
|
10
|
+
version: 0.6.9
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
8
|
-
- Joakim
|
12
|
+
authors:
|
13
|
+
- "Joakim Kolsj\xC3\xB6"
|
9
14
|
autorequire:
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
17
|
+
|
18
|
+
date: 2012-05-30 00:00:00 +02:00
|
19
|
+
default_executable:
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
15
22
|
name: sinatra
|
16
|
-
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
17
25
|
none: false
|
18
|
-
requirements:
|
19
|
-
- -
|
20
|
-
- !ruby/object:Gem::Version
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
hash: 23
|
30
|
+
segments:
|
31
|
+
- 1
|
32
|
+
- 0
|
33
|
+
- 0
|
21
34
|
version: 1.0.0
|
22
35
|
type: :runtime
|
23
|
-
|
24
|
-
|
25
|
-
- !ruby/object:Gem::Dependency
|
36
|
+
version_requirements: *id001
|
37
|
+
- !ruby/object:Gem::Dependency
|
26
38
|
name: httparty
|
27
|
-
requirement: &2152708880 !ruby/object:Gem::Requirement
|
28
|
-
none: false
|
29
|
-
requirements:
|
30
|
-
- - ! '>='
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: 0.6.1
|
33
|
-
type: :runtime
|
34
39
|
prerelease: false
|
35
|
-
|
36
|
-
- !ruby/object:Gem::Dependency
|
37
|
-
name: macaddr
|
38
|
-
requirement: &2152708340 !ruby/object:Gem::Requirement
|
40
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
39
41
|
none: false
|
40
|
-
requirements:
|
41
|
-
- -
|
42
|
-
- !ruby/object:Gem::Version
|
43
|
-
|
42
|
+
requirements:
|
43
|
+
- - ">="
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
hash: 5
|
46
|
+
segments:
|
47
|
+
- 0
|
48
|
+
- 6
|
49
|
+
- 1
|
50
|
+
version: 0.6.1
|
44
51
|
type: :runtime
|
45
|
-
|
46
|
-
|
47
|
-
- !ruby/object:Gem::Dependency
|
52
|
+
version_requirements: *id002
|
53
|
+
- !ruby/object:Gem::Dependency
|
48
54
|
name: net-ssh
|
49
|
-
|
55
|
+
prerelease: false
|
56
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
50
57
|
none: false
|
51
|
-
requirements:
|
52
|
-
- -
|
53
|
-
- !ruby/object:Gem::Version
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
hash: 33
|
62
|
+
segments:
|
63
|
+
- 2
|
64
|
+
- 0
|
65
|
+
- 23
|
54
66
|
version: 2.0.23
|
55
67
|
type: :runtime
|
56
|
-
|
57
|
-
|
58
|
-
- !ruby/object:Gem::Dependency
|
68
|
+
version_requirements: *id003
|
69
|
+
- !ruby/object:Gem::Dependency
|
59
70
|
name: json_pure
|
60
|
-
|
71
|
+
prerelease: false
|
72
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
61
73
|
none: false
|
62
|
-
requirements:
|
63
|
-
- -
|
64
|
-
- !ruby/object:Gem::Version
|
74
|
+
requirements:
|
75
|
+
- - ">="
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
hash: 11
|
78
|
+
segments:
|
79
|
+
- 1
|
80
|
+
- 4
|
81
|
+
- 6
|
65
82
|
version: 1.4.6
|
66
83
|
type: :runtime
|
67
|
-
|
68
|
-
|
69
|
-
- !ruby/object:Gem::Dependency
|
84
|
+
version_requirements: *id004
|
85
|
+
- !ruby/object:Gem::Dependency
|
70
86
|
name: daemons
|
71
|
-
|
87
|
+
prerelease: false
|
88
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
72
89
|
none: false
|
73
|
-
requirements:
|
74
|
-
- -
|
75
|
-
- !ruby/object:Gem::Version
|
90
|
+
requirements:
|
91
|
+
- - ">="
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
hash: 3
|
94
|
+
segments:
|
95
|
+
- 1
|
96
|
+
- 0
|
97
|
+
- 10
|
76
98
|
version: 1.0.10
|
77
99
|
type: :runtime
|
78
|
-
|
79
|
-
|
80
|
-
- !ruby/object:Gem::Dependency
|
100
|
+
version_requirements: *id005
|
101
|
+
- !ruby/object:Gem::Dependency
|
81
102
|
name: acts_as_rails3_generator
|
82
|
-
|
103
|
+
prerelease: false
|
104
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
83
105
|
none: false
|
84
|
-
requirements:
|
85
|
-
- -
|
86
|
-
- !ruby/object:Gem::Version
|
87
|
-
|
106
|
+
requirements:
|
107
|
+
- - ">="
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
hash: 3
|
110
|
+
segments:
|
111
|
+
- 0
|
112
|
+
version: "0"
|
88
113
|
type: :runtime
|
89
|
-
|
90
|
-
|
91
|
-
- !ruby/object:Gem::Dependency
|
114
|
+
version_requirements: *id006
|
115
|
+
- !ruby/object:Gem::Dependency
|
92
116
|
name: posix-spawn
|
93
|
-
|
117
|
+
prerelease: false
|
118
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
94
119
|
none: false
|
95
|
-
requirements:
|
96
|
-
- -
|
97
|
-
- !ruby/object:Gem::Version
|
120
|
+
requirements:
|
121
|
+
- - ">="
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
hash: 31
|
124
|
+
segments:
|
125
|
+
- 0
|
126
|
+
- 3
|
127
|
+
- 6
|
98
128
|
version: 0.3.6
|
99
129
|
type: :runtime
|
100
|
-
|
101
|
-
|
102
|
-
- !ruby/object:Gem::Dependency
|
130
|
+
version_requirements: *id007
|
131
|
+
- !ruby/object:Gem::Dependency
|
103
132
|
name: shoulda
|
104
|
-
|
133
|
+
prerelease: false
|
134
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
105
135
|
none: false
|
106
|
-
requirements:
|
107
|
-
- -
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
|
136
|
+
requirements:
|
137
|
+
- - ">="
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
hash: 3
|
140
|
+
segments:
|
141
|
+
- 0
|
142
|
+
version: "0"
|
110
143
|
type: :development
|
111
|
-
|
112
|
-
|
113
|
-
- !ruby/object:Gem::Dependency
|
144
|
+
version_requirements: *id008
|
145
|
+
- !ruby/object:Gem::Dependency
|
114
146
|
name: rack-test
|
115
|
-
|
147
|
+
prerelease: false
|
148
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
116
149
|
none: false
|
117
|
-
requirements:
|
118
|
-
- -
|
119
|
-
- !ruby/object:Gem::Version
|
120
|
-
|
150
|
+
requirements:
|
151
|
+
- - ">="
|
152
|
+
- !ruby/object:Gem::Version
|
153
|
+
hash: 3
|
154
|
+
segments:
|
155
|
+
- 0
|
156
|
+
version: "0"
|
121
157
|
type: :development
|
122
|
-
|
123
|
-
|
124
|
-
- !ruby/object:Gem::Dependency
|
158
|
+
version_requirements: *id009
|
159
|
+
- !ruby/object:Gem::Dependency
|
125
160
|
name: flexmock
|
126
|
-
|
161
|
+
prerelease: false
|
162
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
127
163
|
none: false
|
128
|
-
requirements:
|
129
|
-
- -
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
|
164
|
+
requirements:
|
165
|
+
- - ">="
|
166
|
+
- !ruby/object:Gem::Version
|
167
|
+
hash: 3
|
168
|
+
segments:
|
169
|
+
- 0
|
170
|
+
version: "0"
|
132
171
|
type: :development
|
133
|
-
|
134
|
-
|
135
|
-
- !ruby/object:Gem::Dependency
|
172
|
+
version_requirements: *id010
|
173
|
+
- !ruby/object:Gem::Dependency
|
136
174
|
name: rvm
|
137
|
-
|
175
|
+
prerelease: false
|
176
|
+
requirement: &id011 !ruby/object:Gem::Requirement
|
138
177
|
none: false
|
139
|
-
requirements:
|
140
|
-
- -
|
141
|
-
- !ruby/object:Gem::Version
|
142
|
-
|
178
|
+
requirements:
|
179
|
+
- - ">="
|
180
|
+
- !ruby/object:Gem::Version
|
181
|
+
hash: 3
|
182
|
+
segments:
|
183
|
+
- 0
|
184
|
+
version: "0"
|
143
185
|
type: :development
|
144
|
-
|
145
|
-
|
146
|
-
- !ruby/object:Gem::Dependency
|
186
|
+
version_requirements: *id011
|
187
|
+
- !ruby/object:Gem::Dependency
|
147
188
|
name: rake
|
148
|
-
|
189
|
+
prerelease: false
|
190
|
+
requirement: &id012 !ruby/object:Gem::Requirement
|
149
191
|
none: false
|
150
|
-
requirements:
|
151
|
-
- - =
|
152
|
-
- !ruby/object:Gem::Version
|
192
|
+
requirements:
|
193
|
+
- - "="
|
194
|
+
- !ruby/object:Gem::Version
|
195
|
+
hash: 49
|
196
|
+
segments:
|
197
|
+
- 0
|
198
|
+
- 8
|
199
|
+
- 7
|
153
200
|
version: 0.8.7
|
154
201
|
type: :development
|
155
|
-
|
156
|
-
|
157
|
-
- !ruby/object:Gem::Dependency
|
202
|
+
version_requirements: *id012
|
203
|
+
- !ruby/object:Gem::Dependency
|
158
204
|
name: bundler
|
159
|
-
|
205
|
+
prerelease: false
|
206
|
+
requirement: &id013 !ruby/object:Gem::Requirement
|
160
207
|
none: false
|
161
|
-
requirements:
|
162
|
-
- -
|
163
|
-
- !ruby/object:Gem::Version
|
164
|
-
|
208
|
+
requirements:
|
209
|
+
- - ">="
|
210
|
+
- !ruby/object:Gem::Version
|
211
|
+
hash: 3
|
212
|
+
segments:
|
213
|
+
- 0
|
214
|
+
version: "0"
|
165
215
|
type: :development
|
166
|
-
|
167
|
-
|
168
|
-
- !ruby/object:Gem::Dependency
|
216
|
+
version_requirements: *id013
|
217
|
+
- !ruby/object:Gem::Dependency
|
169
218
|
name: guard
|
170
|
-
|
219
|
+
prerelease: false
|
220
|
+
requirement: &id014 !ruby/object:Gem::Requirement
|
171
221
|
none: false
|
172
|
-
requirements:
|
173
|
-
- -
|
174
|
-
- !ruby/object:Gem::Version
|
175
|
-
|
222
|
+
requirements:
|
223
|
+
- - ">="
|
224
|
+
- !ruby/object:Gem::Version
|
225
|
+
hash: 3
|
226
|
+
segments:
|
227
|
+
- 0
|
228
|
+
version: "0"
|
176
229
|
type: :development
|
177
|
-
|
178
|
-
|
179
|
-
- !ruby/object:Gem::Dependency
|
230
|
+
version_requirements: *id014
|
231
|
+
- !ruby/object:Gem::Dependency
|
180
232
|
name: guard-test
|
181
|
-
|
233
|
+
prerelease: false
|
234
|
+
requirement: &id015 !ruby/object:Gem::Requirement
|
182
235
|
none: false
|
183
|
-
requirements:
|
184
|
-
- -
|
185
|
-
- !ruby/object:Gem::Version
|
186
|
-
|
236
|
+
requirements:
|
237
|
+
- - ">="
|
238
|
+
- !ruby/object:Gem::Version
|
239
|
+
hash: 3
|
240
|
+
segments:
|
241
|
+
- 0
|
242
|
+
version: "0"
|
187
243
|
type: :development
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
Test::Unit and Cucumber.
|
192
|
-
email:
|
244
|
+
version_requirements: *id015
|
245
|
+
description: Testbot is a test distribution tool that works with Rails, RSpec, RSpec2, Test::Unit and Cucumber.
|
246
|
+
email:
|
193
247
|
- joakim.kolsjo@gmail.com
|
194
|
-
executables:
|
248
|
+
executables:
|
195
249
|
- testbot
|
196
250
|
extensions: []
|
251
|
+
|
197
252
|
extra_rdoc_files: []
|
198
|
-
|
253
|
+
|
254
|
+
files:
|
199
255
|
- lib/generators/testbot/templates/testbot.rake.erb
|
200
256
|
- lib/generators/testbot/templates/testbot.yml.erb
|
201
257
|
- lib/generators/testbot/testbot_generator.rb
|
@@ -255,28 +311,39 @@ files:
|
|
255
311
|
- CHANGELOG
|
256
312
|
- README.markdown
|
257
313
|
- bin/testbot
|
314
|
+
has_rdoc: true
|
258
315
|
homepage: http://github.com/joakimk/testbot
|
259
316
|
licenses: []
|
317
|
+
|
260
318
|
post_install_message:
|
261
319
|
rdoc_options: []
|
262
|
-
|
320
|
+
|
321
|
+
require_paths:
|
263
322
|
- lib
|
264
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
323
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
265
324
|
none: false
|
266
|
-
requirements:
|
267
|
-
- -
|
268
|
-
- !ruby/object:Gem::Version
|
269
|
-
|
270
|
-
|
325
|
+
requirements:
|
326
|
+
- - ">="
|
327
|
+
- !ruby/object:Gem::Version
|
328
|
+
hash: 3
|
329
|
+
segments:
|
330
|
+
- 0
|
331
|
+
version: "0"
|
332
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
271
333
|
none: false
|
272
|
-
requirements:
|
273
|
-
- -
|
274
|
-
- !ruby/object:Gem::Version
|
275
|
-
|
334
|
+
requirements:
|
335
|
+
- - ">="
|
336
|
+
- !ruby/object:Gem::Version
|
337
|
+
hash: 3
|
338
|
+
segments:
|
339
|
+
- 0
|
340
|
+
version: "0"
|
276
341
|
requirements: []
|
342
|
+
|
277
343
|
rubyforge_project:
|
278
|
-
rubygems_version: 1.
|
344
|
+
rubygems_version: 1.5.3
|
279
345
|
signing_key:
|
280
346
|
specification_version: 3
|
281
347
|
summary: A test distribution tool.
|
282
348
|
test_files: []
|
349
|
+
|