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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: dee9e5a3d59f7179bb6493d4a1731db0e54ef235
4
- data.tar.gz: f38ea0267283e5ecba855e07431ce3fed3cbe12f
2
+ SHA256:
3
+ metadata.gz: 51999072c7493dd67d4e45e86bfa5b80aac05d84927cd759e5cd0cbb01ad943d
4
+ data.tar.gz: b7183cbdb6f0364d079b92b6186f7987d9ffe6e4cf0aba46ebfdeaa146d6e181
5
5
  SHA512:
6
- metadata.gz: 875416c1d4d5b4dc36f3fd174185436b2cf4cdc41da7cadca3a3f9e68ce63f05698bff585f8a0c344ed2930d3567b7b0456457aff64f6901594a07b6e2a4908e
7
- data.tar.gz: 3ad1536f9b770f016d8e0242a54c1ede65d679ec4ec5cd1420639ce4c5638b378c2accc1f7a3fcb33ccd9733a15e4b4d4973547f3af2e1480ff7c6a144e182ed
6
+ metadata.gz: b5339fc47648c6d7f38325ea8c5474c535df2fff3c3d3c15083698b28146d60de616e83baa0bbf82ea11a4c8d76ffb776a626c6d3358db242e05fb802216ac83
7
+ data.tar.gz: 277b48daa9d63af660117f953da9a6ccd839ff3be6162c77cf867bc9af74fa083d67d310fa69f23592e027c7374ed061c4155889539ab946e4eef24b17e140b2
data/dev.yml CHANGED
@@ -3,7 +3,7 @@
3
3
  name: ci-queue
4
4
 
5
5
  up:
6
- - ruby: 2.1.6
6
+ - ruby: 2.3.7
7
7
  - bundler
8
8
  - railgun
9
9
 
@@ -1,6 +1,6 @@
1
1
  module CI
2
2
  module Queue
3
- VERSION = '0.13.5'
3
+ VERSION = '0.13.6'
4
4
  DEV_SCRIPTS_ROOT = ::File.expand_path('../../../../../redis', __FILE__)
5
5
  RELEASE_SCRIPTS_ROOT = ::File.expand_path('../redis', __FILE__)
6
6
  end
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.5
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-05 00:00:00.000000000 Z
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.14
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