buildbox 0.5 → 0.6.beta1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -1
- data/Gemfile.lock +17 -5
- data/buildbox.gemspec +2 -0
- data/lib/buildbox.rb +2 -0
- data/lib/buildbox/agent.rb +26 -4
- data/lib/buildbox/api.rb +10 -2
- data/lib/buildbox/artifact.rb +62 -0
- data/lib/buildbox/runner.rb +12 -6
- data/lib/buildbox/uploader.rb +39 -0
- data/lib/buildbox/version.rb +1 -1
- data/spec/buildbox/buildbox/artifact_spec.rb +42 -0
- data/spec/fixtures/artifact-globber/bar/bang.txt +0 -0
- data/spec/fixtures/artifact-globber/bar/bang1.txt +0 -0
- data/spec/fixtures/artifact-globber/bar/bang2.txt +0 -0
- data/spec/fixtures/artifact-globber/bar/inside-bar/bang3.txt +0 -0
- data/spec/fixtures/artifact-globber/bar/not_a_bang.rb +0 -0
- data/spec/fixtures/artifact-globber/coverage/.last_run.json +5 -0
- data/spec/fixtures/artifact-globber/coverage/.resultset.json +934 -0
- data/spec/fixtures/artifact-globber/coverage/assets/0.8.0/application.css +799 -0
- data/spec/fixtures/artifact-globber/coverage/assets/0.8.0/application.js +1559 -0
- data/spec/fixtures/artifact-globber/coverage/assets/0.8.0/colorbox/border.png +0 -0
- data/spec/fixtures/artifact-globber/coverage/assets/0.8.0/colorbox/controls.png +0 -0
- data/spec/fixtures/artifact-globber/coverage/assets/0.8.0/colorbox/loading.gif +0 -0
- data/spec/fixtures/artifact-globber/coverage/assets/0.8.0/colorbox/loading_background.png +0 -0
- data/spec/fixtures/artifact-globber/coverage/assets/0.8.0/favicon_green.png +0 -0
- data/spec/fixtures/artifact-globber/coverage/assets/0.8.0/favicon_red.png +0 -0
- data/spec/fixtures/artifact-globber/coverage/assets/0.8.0/favicon_yellow.png +0 -0
- data/spec/fixtures/artifact-globber/coverage/assets/0.8.0/loading.gif +0 -0
- data/spec/fixtures/artifact-globber/coverage/assets/0.8.0/magnify.png +0 -0
- data/spec/fixtures/artifact-globber/coverage/assets/0.8.0/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/spec/fixtures/artifact-globber/coverage/assets/0.8.0/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/spec/fixtures/artifact-globber/coverage/assets/0.8.0/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/spec/fixtures/artifact-globber/coverage/assets/0.8.0/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/spec/fixtures/artifact-globber/coverage/assets/0.8.0/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/spec/fixtures/artifact-globber/coverage/assets/0.8.0/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/spec/fixtures/artifact-globber/coverage/assets/0.8.0/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/spec/fixtures/artifact-globber/coverage/assets/0.8.0/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/spec/fixtures/artifact-globber/coverage/assets/0.8.0/smoothness/images/ui-icons_222222_256x240.png +0 -0
- data/spec/fixtures/artifact-globber/coverage/assets/0.8.0/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
- data/spec/fixtures/artifact-globber/coverage/assets/0.8.0/smoothness/images/ui-icons_454545_256x240.png +0 -0
- data/spec/fixtures/artifact-globber/coverage/assets/0.8.0/smoothness/images/ui-icons_888888_256x240.png +0 -0
- data/spec/fixtures/artifact-globber/coverage/assets/0.8.0/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/spec/fixtures/artifact-globber/coverage/index.html +5842 -0
- data/spec/fixtures/artifact-globber/foo.txt +0 -0
- data/spec/spec_helper.rb +4 -0
- metadata +102 -4
File without changes
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: buildbox
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 0.6.beta1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Keith Pitt
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-11-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -94,6 +94,20 @@ dependencies:
|
|
94
94
|
- - ~>
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0.3'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: mime-types
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ~>
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '2.0'
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ~>
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '2.0'
|
97
111
|
- !ruby/object:Gem::Dependency
|
98
112
|
name: rake
|
99
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -136,6 +150,20 @@ dependencies:
|
|
136
150
|
- - '>='
|
137
151
|
- !ruby/object:Gem::Version
|
138
152
|
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: simplecov
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - '>='
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - '>='
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
139
167
|
description: Ruby agent for buildbox
|
140
168
|
email:
|
141
169
|
- me@keithpitt.com
|
@@ -156,6 +184,7 @@ files:
|
|
156
184
|
- lib/buildbox.rb
|
157
185
|
- lib/buildbox/agent.rb
|
158
186
|
- lib/buildbox/api.rb
|
187
|
+
- lib/buildbox/artifact.rb
|
159
188
|
- lib/buildbox/build.rb
|
160
189
|
- lib/buildbox/canceler.rb
|
161
190
|
- lib/buildbox/cli.rb
|
@@ -165,11 +194,13 @@ files:
|
|
165
194
|
- lib/buildbox/platform.rb
|
166
195
|
- lib/buildbox/runner.rb
|
167
196
|
- lib/buildbox/server.rb
|
197
|
+
- lib/buildbox/uploader.rb
|
168
198
|
- lib/buildbox/utf8.rb
|
169
199
|
- lib/buildbox/version.rb
|
170
200
|
- lib/certs/cacert.pem
|
171
201
|
- spec/buildbox/buildbox/agent_spec.rb
|
172
202
|
- spec/buildbox/buildbox/api_spec.rb
|
203
|
+
- spec/buildbox/buildbox/artifact_spec.rb
|
173
204
|
- spec/buildbox/buildbox/build_spec.rb
|
174
205
|
- spec/buildbox/buildbox/cli_spec.rb
|
175
206
|
- spec/buildbox/buildbox/command_spec.rb
|
@@ -179,6 +210,39 @@ files:
|
|
179
210
|
- spec/buildbox/buildbox/server_spec.rb
|
180
211
|
- spec/buildbox/buildbox/utf8_spec.rb
|
181
212
|
- spec/buildbox/buildbox/version_spec.rb
|
213
|
+
- spec/fixtures/artifact-globber/bar/bang.txt
|
214
|
+
- spec/fixtures/artifact-globber/bar/bang1.txt
|
215
|
+
- spec/fixtures/artifact-globber/bar/bang2.txt
|
216
|
+
- spec/fixtures/artifact-globber/bar/inside-bar/bang3.txt
|
217
|
+
- spec/fixtures/artifact-globber/bar/not_a_bang.rb
|
218
|
+
- spec/fixtures/artifact-globber/coverage/.last_run.json
|
219
|
+
- spec/fixtures/artifact-globber/coverage/.resultset.json
|
220
|
+
- spec/fixtures/artifact-globber/coverage/assets/0.8.0/application.css
|
221
|
+
- spec/fixtures/artifact-globber/coverage/assets/0.8.0/application.js
|
222
|
+
- spec/fixtures/artifact-globber/coverage/assets/0.8.0/colorbox/border.png
|
223
|
+
- spec/fixtures/artifact-globber/coverage/assets/0.8.0/colorbox/controls.png
|
224
|
+
- spec/fixtures/artifact-globber/coverage/assets/0.8.0/colorbox/loading.gif
|
225
|
+
- spec/fixtures/artifact-globber/coverage/assets/0.8.0/colorbox/loading_background.png
|
226
|
+
- spec/fixtures/artifact-globber/coverage/assets/0.8.0/favicon_green.png
|
227
|
+
- spec/fixtures/artifact-globber/coverage/assets/0.8.0/favicon_red.png
|
228
|
+
- spec/fixtures/artifact-globber/coverage/assets/0.8.0/favicon_yellow.png
|
229
|
+
- spec/fixtures/artifact-globber/coverage/assets/0.8.0/loading.gif
|
230
|
+
- spec/fixtures/artifact-globber/coverage/assets/0.8.0/magnify.png
|
231
|
+
- spec/fixtures/artifact-globber/coverage/assets/0.8.0/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
|
232
|
+
- spec/fixtures/artifact-globber/coverage/assets/0.8.0/smoothness/images/ui-bg_flat_75_ffffff_40x100.png
|
233
|
+
- spec/fixtures/artifact-globber/coverage/assets/0.8.0/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
|
234
|
+
- spec/fixtures/artifact-globber/coverage/assets/0.8.0/smoothness/images/ui-bg_glass_65_ffffff_1x400.png
|
235
|
+
- spec/fixtures/artifact-globber/coverage/assets/0.8.0/smoothness/images/ui-bg_glass_75_dadada_1x400.png
|
236
|
+
- spec/fixtures/artifact-globber/coverage/assets/0.8.0/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png
|
237
|
+
- spec/fixtures/artifact-globber/coverage/assets/0.8.0/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png
|
238
|
+
- spec/fixtures/artifact-globber/coverage/assets/0.8.0/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
|
239
|
+
- spec/fixtures/artifact-globber/coverage/assets/0.8.0/smoothness/images/ui-icons_222222_256x240.png
|
240
|
+
- spec/fixtures/artifact-globber/coverage/assets/0.8.0/smoothness/images/ui-icons_2e83ff_256x240.png
|
241
|
+
- spec/fixtures/artifact-globber/coverage/assets/0.8.0/smoothness/images/ui-icons_454545_256x240.png
|
242
|
+
- spec/fixtures/artifact-globber/coverage/assets/0.8.0/smoothness/images/ui-icons_888888_256x240.png
|
243
|
+
- spec/fixtures/artifact-globber/coverage/assets/0.8.0/smoothness/images/ui-icons_cd0a0a_256x240.png
|
244
|
+
- spec/fixtures/artifact-globber/coverage/index.html
|
245
|
+
- spec/fixtures/artifact-globber/foo.txt
|
182
246
|
- spec/fixtures/repo.git/HEAD
|
183
247
|
- spec/fixtures/repo.git/config
|
184
248
|
- spec/fixtures/repo.git/description
|
@@ -221,9 +285,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
221
285
|
version: '0'
|
222
286
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
223
287
|
requirements:
|
224
|
-
- - '
|
288
|
+
- - '>'
|
225
289
|
- !ruby/object:Gem::Version
|
226
|
-
version:
|
290
|
+
version: 1.3.1
|
227
291
|
requirements: []
|
228
292
|
rubyforge_project:
|
229
293
|
rubygems_version: 2.0.3
|
@@ -233,6 +297,7 @@ summary: Ruby agent for buildbox
|
|
233
297
|
test_files:
|
234
298
|
- spec/buildbox/buildbox/agent_spec.rb
|
235
299
|
- spec/buildbox/buildbox/api_spec.rb
|
300
|
+
- spec/buildbox/buildbox/artifact_spec.rb
|
236
301
|
- spec/buildbox/buildbox/build_spec.rb
|
237
302
|
- spec/buildbox/buildbox/cli_spec.rb
|
238
303
|
- spec/buildbox/buildbox/command_spec.rb
|
@@ -242,6 +307,39 @@ test_files:
|
|
242
307
|
- spec/buildbox/buildbox/server_spec.rb
|
243
308
|
- spec/buildbox/buildbox/utf8_spec.rb
|
244
309
|
- spec/buildbox/buildbox/version_spec.rb
|
310
|
+
- spec/fixtures/artifact-globber/bar/bang.txt
|
311
|
+
- spec/fixtures/artifact-globber/bar/bang1.txt
|
312
|
+
- spec/fixtures/artifact-globber/bar/bang2.txt
|
313
|
+
- spec/fixtures/artifact-globber/bar/inside-bar/bang3.txt
|
314
|
+
- spec/fixtures/artifact-globber/bar/not_a_bang.rb
|
315
|
+
- spec/fixtures/artifact-globber/coverage/.last_run.json
|
316
|
+
- spec/fixtures/artifact-globber/coverage/.resultset.json
|
317
|
+
- spec/fixtures/artifact-globber/coverage/assets/0.8.0/application.css
|
318
|
+
- spec/fixtures/artifact-globber/coverage/assets/0.8.0/application.js
|
319
|
+
- spec/fixtures/artifact-globber/coverage/assets/0.8.0/colorbox/border.png
|
320
|
+
- spec/fixtures/artifact-globber/coverage/assets/0.8.0/colorbox/controls.png
|
321
|
+
- spec/fixtures/artifact-globber/coverage/assets/0.8.0/colorbox/loading.gif
|
322
|
+
- spec/fixtures/artifact-globber/coverage/assets/0.8.0/colorbox/loading_background.png
|
323
|
+
- spec/fixtures/artifact-globber/coverage/assets/0.8.0/favicon_green.png
|
324
|
+
- spec/fixtures/artifact-globber/coverage/assets/0.8.0/favicon_red.png
|
325
|
+
- spec/fixtures/artifact-globber/coverage/assets/0.8.0/favicon_yellow.png
|
326
|
+
- spec/fixtures/artifact-globber/coverage/assets/0.8.0/loading.gif
|
327
|
+
- spec/fixtures/artifact-globber/coverage/assets/0.8.0/magnify.png
|
328
|
+
- spec/fixtures/artifact-globber/coverage/assets/0.8.0/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
|
329
|
+
- spec/fixtures/artifact-globber/coverage/assets/0.8.0/smoothness/images/ui-bg_flat_75_ffffff_40x100.png
|
330
|
+
- spec/fixtures/artifact-globber/coverage/assets/0.8.0/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
|
331
|
+
- spec/fixtures/artifact-globber/coverage/assets/0.8.0/smoothness/images/ui-bg_glass_65_ffffff_1x400.png
|
332
|
+
- spec/fixtures/artifact-globber/coverage/assets/0.8.0/smoothness/images/ui-bg_glass_75_dadada_1x400.png
|
333
|
+
- spec/fixtures/artifact-globber/coverage/assets/0.8.0/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png
|
334
|
+
- spec/fixtures/artifact-globber/coverage/assets/0.8.0/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png
|
335
|
+
- spec/fixtures/artifact-globber/coverage/assets/0.8.0/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
|
336
|
+
- spec/fixtures/artifact-globber/coverage/assets/0.8.0/smoothness/images/ui-icons_222222_256x240.png
|
337
|
+
- spec/fixtures/artifact-globber/coverage/assets/0.8.0/smoothness/images/ui-icons_2e83ff_256x240.png
|
338
|
+
- spec/fixtures/artifact-globber/coverage/assets/0.8.0/smoothness/images/ui-icons_454545_256x240.png
|
339
|
+
- spec/fixtures/artifact-globber/coverage/assets/0.8.0/smoothness/images/ui-icons_888888_256x240.png
|
340
|
+
- spec/fixtures/artifact-globber/coverage/assets/0.8.0/smoothness/images/ui-icons_cd0a0a_256x240.png
|
341
|
+
- spec/fixtures/artifact-globber/coverage/index.html
|
342
|
+
- spec/fixtures/artifact-globber/foo.txt
|
245
343
|
- spec/fixtures/repo.git/HEAD
|
246
344
|
- spec/fixtures/repo.git/config
|
247
345
|
- spec/fixtures/repo.git/description
|