test-queue-patched 0.4.3 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/README.md +1 -2
- data/Rakefile +3 -0
- data/lib/test_queue/runner/rspec.rb +8 -0
- data/lib/test_queue.rb +2 -0
- data/test-queue-patched.gemspec +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a57ae43da9afe84f0ffe7aaec1c4430a78000c38
|
4
|
+
data.tar.gz: 2e366401b2243cc427c2aa3688e6f0b56589a092
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f7571ac5e6d402fce1adc521bb03e1e04844c96ef5db6ff1c9fdd853e80f6671679c033e9e01ac0c1856ef3ff41dc0760c32311b3b582e5450d50ab5131316f
|
7
|
+
data.tar.gz: f08a31ee43f8a4e1a14918f953f8af069761e92cbb68cd812d9f675941ce6ad6f9c97c307ea114b9dc9b99a215b6e824e4eacab17e6b71badb72efc018d3d4ca
|
data/.gitignore
CHANGED
data/README.md
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
## test-queue-patched
|
2
2
|
|
3
|
-
[![Gem Version](https://badge.fury.io/rb/test-queue.svg)](https://rubygems.org/gems
|
4
|
-
[![Build Status](https://travis-ci.org/tmm1/test-queue.svg?branch=master)](https://travis-ci.org/tmm1/test-queue)
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/test-queue-patched.svg)](https://rubygems.org/gems//test-queue-patched)
|
5
4
|
|
6
5
|
### patches
|
7
6
|
|
data/Rakefile
ADDED
@@ -26,6 +26,14 @@ module TestQueue
|
|
26
26
|
worker.summary = worker.lines.grep(/ examples?, /).first
|
27
27
|
worker.failure_output = worker.output[/^Failures:\n\n(.*)\n^Finished/m, 1]
|
28
28
|
end
|
29
|
+
|
30
|
+
# clean exit to make sure at_exit {} hooks run (used by simplecov)
|
31
|
+
# https://github.com/instructure/canvas-lms/blob/039207c04faa67503633e4caf554dbc49cc78549/script/rspec-queue#L43
|
32
|
+
def summarize
|
33
|
+
estatus = @completed.inject(0) { |s, worker| s + (worker.status.exitstatus || 1) }
|
34
|
+
estatus = [estatus, 255].min
|
35
|
+
exit estatus
|
36
|
+
end
|
29
37
|
end
|
30
38
|
end
|
31
39
|
|
data/lib/test_queue.rb
CHANGED
data/test-queue-patched.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: test-queue-patched
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aman Gupta
|
@@ -43,6 +43,7 @@ files:
|
|
43
43
|
- Gemfile-testunit.lock
|
44
44
|
- Gemfile.lock
|
45
45
|
- README.md
|
46
|
+
- Rakefile
|
46
47
|
- bin/cucumber-queue
|
47
48
|
- bin/minitest-queue
|
48
49
|
- bin/rspec-queue
|