ci-queue 0.13.5 → 0.13.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/dev.yml +1 -1
- data/lib/ci/queue/version.rb +1 -1
- data/lib/rspec/queue.rb +4 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 51999072c7493dd67d4e45e86bfa5b80aac05d84927cd759e5cd0cbb01ad943d
|
4
|
+
data.tar.gz: b7183cbdb6f0364d079b92b6186f7987d9ffe6e4cf0aba46ebfdeaa146d6e181
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5339fc47648c6d7f38325ea8c5474c535df2fff3c3d3c15083698b28146d60de616e83baa0bbf82ea11a4c8d76ffb776a626c6d3358db242e05fb802216ac83
|
7
|
+
data.tar.gz: 277b48daa9d63af660117f953da9a6ccd839ff3be6162c77cf867bc9af74fa083d67d310fa69f23592e027c7374ed061c4155889539ab946e4eef24b17e140b2
|
data/dev.yml
CHANGED
data/lib/ci/queue/version.rb
CHANGED
data/lib/rspec/queue.rb
CHANGED
@@ -259,10 +259,10 @@ module RSpec
|
|
259
259
|
end
|
260
260
|
|
261
261
|
def run(reporter)
|
262
|
-
return if RSpec.world.wants_to_quit
|
263
262
|
instance = example_group.new(example.inspect_output)
|
264
263
|
example_group.set_ivars(instance, example_group.before_context_ivars)
|
265
|
-
example.run(instance, reporter)
|
264
|
+
result = example.run(instance, reporter)
|
265
|
+
result.nil? ? true : result
|
266
266
|
end
|
267
267
|
end
|
268
268
|
|
@@ -364,6 +364,7 @@ module RSpec
|
|
364
364
|
invalid_usage!('Missing --queue parameter') unless queue_url
|
365
365
|
invalid_usage!('Missing --build parameter') unless RSpec::Queue.config.build_id
|
366
366
|
invalid_usage!('Missing --worker parameter') unless RSpec::Queue.config.worker_id
|
367
|
+
RSpec.configuration.backtrace_formatter.filter_gem('ci-queue')
|
367
368
|
end
|
368
369
|
|
369
370
|
def run_specs(example_groups)
|
@@ -386,6 +387,7 @@ module RSpec
|
|
386
387
|
break if @world.wants_to_quit
|
387
388
|
queue.poll do |example|
|
388
389
|
success &= example.run(QueueReporter.new(reporter, queue, example))
|
390
|
+
break if @world.wants_to_quit
|
389
391
|
end
|
390
392
|
end
|
391
393
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ci-queue
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.13.
|
4
|
+
version: 0.13.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jean Boussier
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-07-
|
11
|
+
date: 2018-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ansi
|
@@ -226,7 +226,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
226
226
|
version: '0'
|
227
227
|
requirements: []
|
228
228
|
rubyforge_project:
|
229
|
-
rubygems_version: 2.6
|
229
|
+
rubygems_version: 2.7.6
|
230
230
|
signing_key:
|
231
231
|
specification_version: 4
|
232
232
|
summary: Distribute tests over many workers using a queue
|