testbot 0.7.5 → 0.7.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -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.
@@ -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
- # todo: exit when this fails
47
- system "rsync -az --delete --delete-excluded -e ssh #{rsync_ignores} . #{rsync_uri}"
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
@@ -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.5"
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
- hash: 9
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
- - "Joakim Kolsj\xC3\xB6"
6
+ authors:
7
+ - Joakim Kolsjö
14
8
  autorequire:
15
9
  bindir: bin
16
10
  cert_chain: []
17
-
18
- date: 2014-02-17 00:00:00 +01:00
19
- default_executable:
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
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
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
- requirement: &id002 !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
43
- - - ">="
44
- - !ruby/object:Gem::Version
45
- hash: 5
46
- segments:
47
- - 0
48
- - 6
49
- - 1
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
- requirement: &id003 !ruby/object:Gem::Requirement
57
- none: false
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- hash: 33
62
- segments:
63
- - 2
64
- - 0
65
- - 23
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
- requirement: &id004 !ruby/object:Gem::Requirement
73
- none: false
74
- requirements:
75
- - - ">="
76
- - !ruby/object:Gem::Version
77
- hash: 11
78
- segments:
79
- - 1
80
- - 4
81
- - 6
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
- requirement: &id005 !ruby/object:Gem::Requirement
89
- none: false
90
- requirements:
91
- - - ">="
92
- - !ruby/object:Gem::Version
93
- hash: 3
94
- segments:
95
- - 1
96
- - 0
97
- - 10
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
- requirement: &id006 !ruby/object:Gem::Requirement
105
- none: false
106
- requirements:
107
- - - ">="
108
- - !ruby/object:Gem::Version
109
- hash: 3
110
- segments:
111
- - 0
112
- version: "0"
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
- requirement: &id007 !ruby/object:Gem::Requirement
119
- none: false
120
- requirements:
121
- - - ">="
122
- - !ruby/object:Gem::Version
123
- hash: 31
124
- segments:
125
- - 0
126
- - 3
127
- - 6
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
- requirement: &id008 !ruby/object:Gem::Requirement
135
- none: false
136
- requirements:
137
- - - ">="
138
- - !ruby/object:Gem::Version
139
- hash: 3
140
- segments:
141
- - 0
142
- version: "0"
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
- requirement: &id009 !ruby/object:Gem::Requirement
149
- none: false
150
- requirements:
151
- - - ">="
152
- - !ruby/object:Gem::Version
153
- hash: 3
154
- segments:
155
- - 0
156
- version: "0"
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
- requirement: &id010 !ruby/object:Gem::Requirement
163
- none: false
164
- requirements:
165
- - - ">="
166
- - !ruby/object:Gem::Version
167
- hash: 3
168
- segments:
169
- - 0
170
- version: "0"
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
- requirement: &id011 !ruby/object:Gem::Requirement
177
- none: false
178
- requirements:
179
- - - ">="
180
- - !ruby/object:Gem::Version
181
- hash: 3
182
- segments:
183
- - 0
184
- version: "0"
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
- requirement: &id012 !ruby/object:Gem::Requirement
191
- none: false
192
- requirements:
193
- - - "="
194
- - !ruby/object:Gem::Version
195
- hash: 49
196
- segments:
197
- - 0
198
- - 8
199
- - 7
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
- requirement: &id013 !ruby/object:Gem::Requirement
207
- none: false
208
- requirements:
209
- - - ">="
210
- - !ruby/object:Gem::Version
211
- hash: 3
212
- segments:
213
- - 0
214
- version: "0"
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
- requirement: &id014 !ruby/object:Gem::Requirement
221
- none: false
222
- requirements:
223
- - - ">="
224
- - !ruby/object:Gem::Version
225
- hash: 3
226
- segments:
227
- - 0
228
- version: "0"
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
- requirement: &id015 !ruby/object:Gem::Requirement
235
- none: false
236
- requirements:
237
- - - ">="
238
- - !ruby/object:Gem::Version
239
- hash: 3
240
- segments:
241
- - 0
242
- version: "0"
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
- version_requirements: *id015
245
- description: Testbot is a test distribution tool that works with Rails, RSpec, RSpec2, Test::Unit and Cucumber.
246
- email:
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
- files:
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
- none: false
324
- requirements:
325
- - - ">="
326
- - !ruby/object:Gem::Version
327
- hash: 3
328
- segments:
329
- - 0
330
- version: "0"
331
- required_rubygems_version: !ruby/object:Gem::Requirement
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: 1.5.3
309
+ rubygems_version: 2.2.1
344
310
  signing_key:
345
- specification_version: 3
311
+ specification_version: 4
346
312
  summary: A test distribution tool.
347
313
  test_files: []
348
-