testbot 0.7.5 → 0.7.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/CHANGELOG +8 -0
- data/lib/requester/requester.rb +4 -3
- data/lib/shared/version.rb +1 -1
- data/test/requester/requester_test.rb +1 -1
- metadata +205 -240
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
YjFhYTQ5MmNkOTgxYWVkYmQzNzg4NTIyZDgzNjQxNWZiNWM2MTYxZA==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
NjE1N2Q3NzEzYjE4ZDVkZTg5OTkxMmJiNzhhY2QyZmUyOTg4OTRiZQ==
|
7
|
+
SHA512:
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
MmEzODlkNTEyYjJiNDM5M2VjOTg0MmUzZDM0OTEyOTQyYTQxNTk0ZjkwODhm
|
10
|
+
NDk4MjYzM2ZmMDk4ODIxMzQzMGFlZjA3NTIwODk5MTY4MWI1ZTYxOWYxOTEz
|
11
|
+
MzgyMjU4ZGFkMGNiY2Y5NzcxMmZhN2Q4NWQ4ZGVmYzZhZjNkOWU=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
Zjc2NGQwNmJjYTQ4YmQ1YmE0ZjY0OTA5ODViZjUxZWUyZTA2MDg1OWU1MWRi
|
14
|
+
ZTFlNmFhZTRkOGVjZWExM2RmNTczMTA0NmU3NDhjMmQ4Nzg1M2ZjM2Q3ZDU1
|
15
|
+
MWY4ZjRmM2I3ZTQ0NjgwNDNjMGYwYjY4NjdkNmZkM2EyYzc5OWU=
|
data/CHANGELOG
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
|
2
|
+
0.7.6
|
3
|
+
|
4
|
+
Raise an error when file syncing fails.
|
5
|
+
|
6
|
+
We don't want to continue when it fails. It would run the tests with an older version,
|
7
|
+
possibly enabling a broken version of the app to be deployed.
|
8
|
+
|
1
9
|
0.7.5
|
2
10
|
|
3
11
|
Fixed bug where a runner updating without a result would fail.
|
data/lib/requester/requester.rb
CHANGED
@@ -43,11 +43,12 @@ module Testbot::Requester
|
|
43
43
|
|
44
44
|
log "Syncing files" do
|
45
45
|
rsync_ignores = config.rsync_ignores.to_s.split.map { |pattern| "--exclude='#{pattern}'" }.join(' ')
|
46
|
-
|
47
|
-
|
46
|
+
system("rsync -az --delete --delete-excluded -e ssh #{rsync_ignores} . #{rsync_uri}")
|
47
|
+
exitstatus = $?.exitstatus
|
48
|
+
raise "rsync failed with exit code #{exitstatus}" unless exitstatus == 0
|
48
49
|
end
|
49
50
|
|
50
|
-
files = adapter.test_files(dir)
|
51
|
+
files = adapter.test_files(dir)
|
51
52
|
sizes = adapter.get_sizes(files)
|
52
53
|
|
53
54
|
build_id = nil
|
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.7.
|
4
|
+
version = "0.7.6"
|
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)
|
@@ -82,7 +82,7 @@ module Testbot::Requester
|
|
82
82
|
:server_user => Testbot::DEFAULT_USER,
|
83
83
|
:available_runner_usage => Testbot::DEFAULT_RUNNER_USAGE }
|
84
84
|
|
85
|
-
actual = Requester.new({ "server_host" => 'hostname' }).config
|
85
|
+
actual = Requester.new({ "server_host" => 'hostname' }).config
|
86
86
|
|
87
87
|
assert_equal OpenStruct.new(expected), actual
|
88
88
|
end
|
metadata
CHANGED
@@ -1,257 +1,240 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: testbot
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 0
|
8
|
-
- 7
|
9
|
-
- 5
|
10
|
-
version: 0.7.5
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.7.6
|
11
5
|
platform: ruby
|
12
|
-
authors:
|
13
|
-
-
|
6
|
+
authors:
|
7
|
+
- Joakim Kolsjö
|
14
8
|
autorequire:
|
15
9
|
bindir: bin
|
16
10
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
dependencies:
|
21
|
-
- !ruby/object:Gem::Dependency
|
11
|
+
date: 2014-03-21 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
22
14
|
name: sinatra
|
23
|
-
|
24
|
-
|
25
|
-
none: false
|
26
|
-
requirements:
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
27
17
|
- - ~>
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
hash: 23
|
30
|
-
segments:
|
31
|
-
- 1
|
32
|
-
- 0
|
33
|
-
- 0
|
18
|
+
- !ruby/object:Gem::Version
|
34
19
|
version: 1.0.0
|
35
20
|
type: :runtime
|
36
|
-
version_requirements: *id001
|
37
|
-
- !ruby/object:Gem::Dependency
|
38
|
-
name: httparty
|
39
21
|
prerelease: false
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 1.0.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: httparty
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ! '>='
|
32
|
+
- !ruby/object:Gem::Version
|
50
33
|
version: 0.6.1
|
51
34
|
type: :runtime
|
52
|
-
version_requirements: *id002
|
53
|
-
- !ruby/object:Gem::Dependency
|
54
|
-
name: net-ssh
|
55
35
|
prerelease: false
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ! '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 0.6.1
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: net-ssh
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ! '>='
|
46
|
+
- !ruby/object:Gem::Version
|
66
47
|
version: 2.0.23
|
67
48
|
type: :runtime
|
68
|
-
version_requirements: *id003
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: json_pure
|
71
49
|
prerelease: false
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ! '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 2.0.23
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: json_pure
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ! '>='
|
60
|
+
- !ruby/object:Gem::Version
|
82
61
|
version: 1.4.6
|
83
62
|
type: :runtime
|
84
|
-
version_requirements: *id004
|
85
|
-
- !ruby/object:Gem::Dependency
|
86
|
-
name: daemons
|
87
63
|
prerelease: false
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ! '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 1.4.6
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: daemons
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ! '>='
|
74
|
+
- !ruby/object:Gem::Version
|
98
75
|
version: 1.0.10
|
99
76
|
type: :runtime
|
100
|
-
version_requirements: *id005
|
101
|
-
- !ruby/object:Gem::Dependency
|
102
|
-
name: acts_as_rails3_generator
|
103
77
|
prerelease: false
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ! '>='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 1.0.10
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: acts_as_rails3_generator
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ! '>='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
113
90
|
type: :runtime
|
114
|
-
version_requirements: *id006
|
115
|
-
- !ruby/object:Gem::Dependency
|
116
|
-
name: posix-spawn
|
117
91
|
prerelease: false
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ! '>='
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: posix-spawn
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ! '>='
|
102
|
+
- !ruby/object:Gem::Version
|
128
103
|
version: 0.3.6
|
129
104
|
type: :runtime
|
130
|
-
version_requirements: *id007
|
131
|
-
- !ruby/object:Gem::Dependency
|
132
|
-
name: shoulda
|
133
105
|
prerelease: false
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ! '>='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 0.3.6
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: shoulda
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ! '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
143
118
|
type: :development
|
144
|
-
version_requirements: *id008
|
145
|
-
- !ruby/object:Gem::Dependency
|
146
|
-
name: rack-test
|
147
119
|
prerelease: false
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ! '>='
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: rack-test
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ! '>='
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
157
132
|
type: :development
|
158
|
-
version_requirements: *id009
|
159
|
-
- !ruby/object:Gem::Dependency
|
160
|
-
name: flexmock
|
161
133
|
prerelease: false
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ! '>='
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: flexmock
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ! '>='
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
171
146
|
type: :development
|
172
|
-
version_requirements: *id010
|
173
|
-
- !ruby/object:Gem::Dependency
|
174
|
-
name: rvm
|
175
147
|
prerelease: false
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ! '>='
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: rvm
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ! '>='
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
185
160
|
type: :development
|
186
|
-
version_requirements: *id011
|
187
|
-
- !ruby/object:Gem::Dependency
|
188
|
-
name: rake
|
189
161
|
prerelease: false
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ! '>='
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: rake
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - '='
|
172
|
+
- !ruby/object:Gem::Version
|
200
173
|
version: 0.8.7
|
201
174
|
type: :development
|
202
|
-
version_requirements: *id012
|
203
|
-
- !ruby/object:Gem::Dependency
|
204
|
-
name: bundler
|
205
175
|
prerelease: false
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - '='
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: 0.8.7
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: bundler
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - ! '>='
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0'
|
215
188
|
type: :development
|
216
|
-
version_requirements: *id013
|
217
|
-
- !ruby/object:Gem::Dependency
|
218
|
-
name: guard
|
219
189
|
prerelease: false
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - ! '>='
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '0'
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: guard
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - ! '>='
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '0'
|
229
202
|
type: :development
|
230
|
-
version_requirements: *id014
|
231
|
-
- !ruby/object:Gem::Dependency
|
232
|
-
name: guard-test
|
233
203
|
prerelease: false
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - ! '>='
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '0'
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: guard-test
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - ! '>='
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: '0'
|
243
216
|
type: :development
|
244
|
-
|
245
|
-
|
246
|
-
|
217
|
+
prerelease: false
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - ! '>='
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: '0'
|
223
|
+
description: Testbot is a test distribution tool that works with Rails, RSpec, RSpec2,
|
224
|
+
Test::Unit and Cucumber.
|
225
|
+
email:
|
247
226
|
- joakim.kolsjo@gmail.com
|
248
|
-
executables:
|
227
|
+
executables:
|
249
228
|
- testbot
|
250
229
|
extensions: []
|
251
|
-
|
252
230
|
extra_rdoc_files: []
|
253
|
-
|
254
|
-
|
231
|
+
files:
|
232
|
+
- .gemtest
|
233
|
+
- CHANGELOG
|
234
|
+
- Gemfile
|
235
|
+
- README.markdown
|
236
|
+
- Rakefile
|
237
|
+
- bin/testbot
|
255
238
|
- lib/generators/testbot/templates/testbot.rake.erb
|
256
239
|
- lib/generators/testbot/templates/testbot.yml.erb
|
257
240
|
- lib/generators/testbot/testbot_generator.rb
|
@@ -282,9 +265,9 @@ files:
|
|
282
265
|
- lib/shared/version.rb
|
283
266
|
- lib/tasks/testbot.rake
|
284
267
|
- lib/testbot.rb
|
268
|
+
- test/fixtures/local/Rakefile
|
285
269
|
- test/fixtures/local/config/testbot.yml
|
286
270
|
- test/fixtures/local/log/test.log
|
287
|
-
- test/fixtures/local/Rakefile
|
288
271
|
- test/fixtures/local/script/spec
|
289
272
|
- test/fixtures/local/spec/models/car_spec.rb
|
290
273
|
- test/fixtures/local/spec/models/house_spec.rb
|
@@ -303,46 +286,28 @@ files:
|
|
303
286
|
- test/shared/adapters/helpers/ruby_env_test.rb
|
304
287
|
- test/shared/adapters/rspec_adapter_test.rb
|
305
288
|
- test/shared/testbot_test.rb
|
306
|
-
- Gemfile
|
307
|
-
- .gemtest
|
308
|
-
- Rakefile
|
309
289
|
- testbot.gemspec
|
310
|
-
- CHANGELOG
|
311
|
-
- README.markdown
|
312
|
-
- bin/testbot
|
313
|
-
has_rdoc: true
|
314
290
|
homepage: http://github.com/joakimk/testbot
|
315
291
|
licenses: []
|
316
|
-
|
292
|
+
metadata: {}
|
317
293
|
post_install_message:
|
318
294
|
rdoc_options: []
|
319
|
-
|
320
|
-
require_paths:
|
295
|
+
require_paths:
|
321
296
|
- lib
|
322
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
none: false
|
333
|
-
requirements:
|
334
|
-
- - ">="
|
335
|
-
- !ruby/object:Gem::Version
|
336
|
-
hash: 3
|
337
|
-
segments:
|
338
|
-
- 0
|
339
|
-
version: "0"
|
297
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
298
|
+
requirements:
|
299
|
+
- - ! '>='
|
300
|
+
- !ruby/object:Gem::Version
|
301
|
+
version: '0'
|
302
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
303
|
+
requirements:
|
304
|
+
- - ! '>='
|
305
|
+
- !ruby/object:Gem::Version
|
306
|
+
version: '0'
|
340
307
|
requirements: []
|
341
|
-
|
342
308
|
rubyforge_project:
|
343
|
-
rubygems_version:
|
309
|
+
rubygems_version: 2.2.1
|
344
310
|
signing_key:
|
345
|
-
specification_version:
|
311
|
+
specification_version: 4
|
346
312
|
summary: A test distribution tool.
|
347
313
|
test_files: []
|
348
|
-
|